How to handle unique indexes with MySQL master master replication
how do you handle UNIQUE indexes in a master-master active-active replication environment? SQL schema example: CALLS id INTEGER PRIMARY AUTO_INCREMENT caller_id INTEGER + INDEX start_date datetime...
View ArticleMySQL Backup Strategy
We are running the backup from the replication server and it is working good, since we are not facing any other issues, some information for better understanding our strategy: Backup Type: Full Backup...
View ArticleMysql replication is enabled but stuck at "waiting for binlog to be...
I have set up replication between an existing database (server-id=23), and a new one (server-id=51). I have followed the steps in this stackoverflow question, but replication is not happening. On the...
View ArticleWhat are alternatives to Replication to distibute data (Microsoft SQL Server)
Is anyone knowledgeable of alternatives to SQL Server replication? I have a scenario where separate databases will share a lot of the same data which complex queries will match against. We want to...
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 ArticleDoes exist some software for transforming data from one DB schema to another?
I need to transform between two different database schemas the same data. For example i have one table in old schema like this: and i need to transform it to new schema like this: So i have few...
View ArticleSQL Server 2008 Transactional Replication Between Databases That Have Table...
I'm new with replication. My company is using Ms. Dynamics Navision 2009. Now I need to replicate all databases from the branches to a single database for reporting purpose. This is the structure of...
View ArticleUsing non-replicated read/write databases on a MySQL slave server
I have a MySQL slave server that has two databases being replicated from a master. What I'd like to do is add a third database that I will exclude from replication and use as a read/write database....
View ArticleMySQL 5.6 replication causes 'waiting for table lock'
All of the sudden queries on slave server stopped with status "Waiting for table level lock" I restart mysql service and stop replications and locking does not show up anymore. Once I turn replications...
View ArticleSQL Server 2008R2 - how to install replication components
I am trying to install the Replication components for SQL Server 2008R2, on technet website it says: On the computer that is running IIS, insert the SQL Server 2008 R2, SQL Server 2008, or SQL Server...
View ArticleSQL Server could not retrieve the list of publications for 'XYZ'
First of all please note the following carefully: I have a source database named S_DB on one SQL Server hosted on a machine named S_SRV, on a domain named S_DOM. On a different domain named D_DOM, I...
View ArticleEhCache dirty updates while replication
I am using EhCache's RMI synchronous replication to replicate the cache across 4 managed servers. I am not able to solve how to handle following situation - suppose my node 1 has received an update...
View ArticleCluster solution for geographically distributed database
What is the best solution for geographically distributed database cluster? I mean if we need something like an online chat, photo sharing, comments and so on. I have found a solution called "Galera...
View ArticleMongo replicated shard member not able to recover, stuck in STARTUP2 mode
I have following setup for a sharded replica set in Amazon VPC: mongo1: 8G RAM Duo core (Primary) mongo2: 8G RAM Duo core (Secondary) mongo3: 4G RAM (Arbiter) Mongo1 is the primary member in the...
View ArticlePostgresql Chained Slaves and Slave Promotion
So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating...
View ArticleIssues with infinispan cross site replication not working in infinispan 8.2
I have two DC at two sub domains , first is UDIT and the second is JBOSS (will be used as Backup Site). Changes made in UDIT's domain.xml (a) Added <channel name="xsite" stack="tcp"/> (b) Made...
View ArticleIs there multi master database with customizable replication level?
I need a multi master database to let users talk from different continents. Each user will write his data to his local master database and it will replicate data to other master databases in other...
View ArticleHow to share HAProxy configurations between two servers
I have a HAProxy servers that redirect my front IP server to multiple internal servers but my primary concern now is if the server containing HAProxy stops working. The simple way would be to setup the...
View ArticleHow do I determine why my ehcache replication is not working?
I’m using Hibernate 5.1.0.Final with the accompanying ehcache module. I have two independent app servers (JBoss 7.1.3.AS.Final) — they are not clustered. I wanted to set up cache replication between...
View ArticleMySQL master to slave dump fails when done over SSH pipe
When we need to [re]build a MySQL-5.5 slave, our usual approach is this (CHANGE MASTER TO / START SLAVE omitted for clarity): master$ mysqldump -uroot -p --all-databases --master-data > dump.sql...
View Article