Which 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 replication broken
I added a new replication user to my slave db and accidently spesified the master_host in the change master statement (without specifying the log file and pos). However, its the same master as before....
View ArticleSQL Merge replication : How to tell what has changed.
I have a query regarding the merge replication. Is there any stored procedure which gives me exactly the column values that have been changed at the server, because of which the row will be replicated...
View ArticleKubernetes scale down specific pods
I have a set of Pods running commands that can take up to a couple seconds. There is a process that keeps track of open request & which Pod the request is running on. I'd like the use that...
View ArticleDoes mySQL Replication: Master DB Name has to be the same as the Slave DB name?
I have set the Master DB Name as MDB & in the Slave server I set to replicate-do-db=SDB <-- this did not work? But when I set it up as the same DB name it works. Is there any solution out there...
View ArticleSQL Server Replication subscribers filter
Guys, I have a task to do for my colleague and I need to know if is possible to specify the filter to subscribers when using replication in SQL Server? What I mean is, I don't want to create 3 types of...
View ArticleMySQL replication error 1146
Any idea why there is '1146 - table doesn't exists' on 'CREATE TABLE IF NOT EXISTS...' statement. It actually happened only on one of the slaves (there are two in total): Last_SQL_Error: Error 'Table...
View ArticleRelaying changes to a slave from another master with Tungsten on MySQL
I am trying to setup a multi-master type of replication with each master having an additional slave using Tungsten. As an example, lets say I have 4 hosts (A,B,C,D) and hosts A and C are the masters,...
View ArticleCapturing change deltas when database replication or CDC breaks
The company I work for is in the process of implementing change data capture on a Microsoft BI stack for the purpose of capturing incremental changes that need to be loaded into the data warehouse. So...
View ArticleDBClientCursor::init call() failed
During syncing a slave(SECONDRY) node, I have DBClientCursor::init call() failed error and it's start syncing from scratch, the full log is provided: Tue Nov 10 05:54:56.281 [rsSync] clone...
View ArticleRedis remove slave from replication along with sentinel
I have a 3-nodes Redis replication and a 3-nodes Sentinel. I want to remove one slave. I tried stop slave and remove slaveof 10.128.130.139 6379 from configuration. But it became slave again after I...
View ArticleSql Server merge replication primary key violations
Using Sql Server 2008. Pretend I have a publisher and 2 subscribers A and B. The replicated table has a guid on it and also a primary key that is not the guid. Frequently, updates happen at both...
View ArticleBi-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 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 ArticleERROR Error reading packet from server: Lost connection to MySQL server...
We are facing the issue in replication that we are not getting any error in Show slave status\G output rather facing the following issue in Error Log File [ERROR] Error reading packet from server: Lost...
View ArticleMySQL Replication Query
Imagine I have three servers. x.x.x.31 - master x.x.x.32 - slave x.x.x.33 - slave If I run a simple update in master. What does the slave servers done. run the update command or copy the updated data...
View ArticleMySQL Multisource slave as a master?
When deploying MySQL multi-source replication, can the multi-source slave be a master for other 'normal' slaves? I can't find this particular case covered in the documentation
View ArticleBCOP - Upgrade Production MYSQL 5.x to Current (CentOS)
I have a production MYSQL server with a replication server and I'm looking to upgrade them from their current v5.1 to the latest mysql version. The total size of the data is over 1/TB. So my question...
View ArticleComposite Primary/Clustering Key vs GUID for Merge Replication scenario
I need to decide on a primary key for my tables in a merge replication scenario (currently one laptop taken into the field during the day while another user works on a desktop; both users need...
View ArticleMSSQL: Distribution agent error
In my Transactional replication setup, the replication monitor keeps printing this message every 5mins. "Agent XYZ is retrying after an error. 35 retries attempted. See agent job history in the job...
View Article