With MySQL 5.6, Is there any way to keep a replication slave X seconds...
It'd be really nice for disaster recovery to be able to set this up. We are doing snapshots, but this seems like it'd be a really nice backup to have. For example, I'd like to always keep a replicated...
View ArticleAdd Primary key on ManyToMany (for Publication)
I have a ManyToMany relation between two entity @javax.persistence.Entity @Table(name = "t_aircraft_model") public class AircraftModel extends DbObject { @ManyToMany(fetch=FetchType.LAZY)...
View ArticleReplication between Mysql and Postgres for data warehousing
Context: my DBA has written scripts to delta load data from a Mysql slave we have of our main OLTP to our Postgres DWH staging DB. He's leaving and I want to find a more sustainable way to handle this....
View ArticleSlony replication from Chile to US
We are moving from a datacenter in Chile to one in AWS (in USA). We've already moved most of our servers but the database (PostgreSQL). As the source server is in a VMWARE environment, we took a copy...
View ArticleAmazon RDS replication with external slave
I've recently configured a replication with an external MySQL master and RDS as slave but now I need to reverse that config and use RDS as master and the other instance as slave. Actually I use a vpn...
View ArticleEhcache: Once configured what cache replication alogorithm is followed?
I am looking for replicating cache. I had gone through the manuals of Ehcache. It only guides about configuration. I need to understand replication from performance prospective. Which node will go...
View Articlea story about a bad replication issue - insight needed MYSQL
A id val B id A_id We are not sure of what happened but it appears that when replication occurred on a series of these two table datasets, that A failed replication, but another insert got the lost ID,...
View Articlemysql replication master-slave with 2 or more users in master
I've just configured mySQL replication master-slave. I have into master instance 3 user: root (with all privileges and grant), admin(with all privileges) and slaveUser(with replication salve...
View ArticleMaster Slave database syncronization
Hi I have just started reading about this replication concept and one thing I want to ask is that when we change something in the slave db how is it going to effect the master db? Is there a sync algo...
View Articlemaster-master replication or master slave replication?
We have right now one server with a database. A device and a website are accessing that database causing load What I want is to create two servers master-slave where master databases are replicated to...
View ArticleSQL Server Web Synchronization - replisapi?diag won't run - just tries to...
I'm trying to set up SQL Server 2008 Web synchronisation between 2 servers, and am following the instructions step by step on MSDN, here: http://technet.microsoft.com/en-us/library/ff714039.aspx All...
View ArticleSql Server 2008r2 Replication Snapshot Agent Hang
I am setting up a new merge publication, but I can not get the snapshot agent to run successfully. In fact, I can not run any snapshot agents for any of the other publications on this server now. This...
View ArticleMongoDB replica set with write concern w:0
I am trying to configure MongoDB on 3 nodes to provide failover in case some of the nodes are down. Where one node is down, the election algorithm chooses a primary and both writing and reading works....
View ArticleHow to make most of aws? [on hold]
I'm new to aws (just one day old). I'm impressed with aws free tier and want to utilize to its best. As of now I'm done with installing mongodb on aws micro instances and mongod EC2 instances are...
View ArticleHow to make most of aws?
I'm new to aws (just one day old). I'm impressed with aws free tier and want to utilize to its best. As of now I'm done with installing mongodb on aws micro instances and mongod EC2 instances are...
View Articlecan't change the bind address for master slave replication
When ever I change bind address in my.cnf I can't start MySQL, it shows socket problem and I have to comment the bind address line to make it start. Also my restart service hangs and does nothing.
View Articleslave(mysql) is not updating
I have master as RDS and slave in other linux box. I have exported mysqldump from master(RDS) and imported to slave. For testing I have created tables with some values, I can see that these events are...
View ArticleSlave can not handle replication events with the checksum that master is...
My slave is not connecting to the master and is showing the error Got fatal error 1236 from master when reading data from binary log: 'Slave can not handle replication events with the checksum that...
View ArticleReplicate folder between two Windows servers, without DFS
We've got two windows servers (2012 / 2008), and I need to replicate a folder left to right between them (left pushes folder content, and right only pulls or replicates). The problem is that i can't...
View ArticleMySQL Replication: How to restore master FROM slave?
TL;DR: given a master/slave setup between two MySQL databases, where the connection from the master to the slave is read only, how can you restore the master from the slave in the event of a failure of...
View Article