Bi-directional replication for the same MySQL table
AppA stores/retrieves data from dbA.tableA AppB stores/retrieves data from dbB.tableA tableA definition is the same across these databases. To start with dbB.tableA was copied from dbA.tableA (assuming...
View ArticleWhich one to use? InnoDB Replication or MySQL Cluster?
I am building a url shortener and I use InnoDB as the storage engine for link data. I will start with a single VPS containing both application instance and MySQL database instance on the same Virtual...
View ArticleMysql master-master replication
I am trying to replicate my two instance of mysql databases located in different location. Till now I am successful in replicating the databases. But suppose when one server is temporarily down, it...
View ArticleIs there a way to replicate Postgres databases in Amazon RDS between regions?
We have a Postgres RDS instance in the AWS Oregon Region. For some supposed legal reasons, we have to host our client's European data in the Ireland AWS Region, but we need that data synchronized to...
View ArticleProblem when using gtid with MySQL replication
I am faced with this problem when using gtid in MySQL replication: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check...
View ArticleCan a slave with a dynamic ip update the master
How can I setup mySQL replication in such a way that a slave on localhost with dynamic IP can update the master as well as get updates from the master which has a static IP. The slave will not be...
View ArticleMySQL slave stuck at 'System lock' most of the time, high CPU usage
Let me describe what we are facing now: We have a MySQL Master-Slave, Row Based Replication setup and at the moment, the slave is stuck with a perpetual System Lock. The Master is an active server with...
View ArticleReplication Lag on Postgres AWS RDS Service
We have a single master/single streaming replica Postgres 9.3 db on AWS. The load is not terribly high - this is a development/staging environment. (The production shows similar metrics). Point is the...
View ArticleVague replication error code 2005
2015-04-07 13:49:53 23758 [ERROR] Slave I/O: error connecting to master 'replication'@master-host:3306' - retry-time: 60 retries: 1, Error_code: 2005 This was after attempting to do a change master to...
View ArticleWhere to look for Agent history in Replication?
In SQL server 2008R2 replication configuration, "agent history cleanup distribution" job by default runs every 10 minutes and deletes any historical data older the 48hrs. If I increase the retention...
View ArticleMySQL percona 5.6 to MySQL 5.5 replication
Scenario 1 I am having a MySQL DB on 5.5 which is compliance, So need to upgrade it to MySQL 5.6. while doing this we see that 5.6 is running slow, were as it runs perfectly on 5.5 backup. Scenario 2...
View ArticleTransactional Replication issue due to big Transaction Log in sql server 2008 r2
I want an answer of question and that would be highly appreciated Scenario: First of all i am an IT guy from Sports Field and using SQL Server 2008R2. I have 2 production servers server 1 and Server 2...
View ArticleWhat Replication to use when inserting large data to a table
I have a table in which I insert 11K rows per transaction. The data is required to be replicated to another database in < 5mins. What replication should I use? I used peer to peer but all rows does...
View ArticleHow (if at all) does Galera enforce authentication for SST via rsync when...
I have to be missing something here. It just hit me as added a new node to my cluster in order to prepare for the removal of a different node: "How does the cluster know that it is okay to send the new...
View ArticlePostgreSQL Streaming Replication - corruption on master
We have PostgreSQL 9.3.9 streaming replication between Master DB and Slave DB. Is there issues can happen on Master that can cause persistency problems or full failure of Master and Slave DB both while...
View ArticleFirebird replication help needed
I am writing a two way server - client Firebird replication with a C# app and I am facing the following problem. I have a log table with the table name pk of the record and type of the query executet...
View Articlerestart master == slave breaks
I have been struggling with keeping replication working. This is what happened before (also my topic): mysql 5.6 gtid replication slave stuck (system lock)? on top of this getting into system lock...
View ArticleIdentity column - replication.
Just wondering if anyone could shed some light on the below error: Explicit value must be specified for identity column in table 'tableName' either when IDENTITY_INSERT is set to ON or when a...
View ArticleHow to create a Pull Subscriber (SQL Server Replication) where the...
Let me explain my situation: I have a two servers: A & C and a workstation B. I have successfully created SQL Server Merge Replication using Pull Subscription (through IIS) between server A &...
View ArticleHow to set a consistency level to something other than one, two, three for...
Say I want my replication factor N=10 and I want my R=4 and W=7 such that R + W > N. How can I configure this in cassandra? I know what quorum does but thats not what I am looking for.
View Article