Is it possible to use Change Tracking on a Replication target?
We have a setup where the production SQL Server databases are replicated to an offsite location using SQL Server Replication. I am looking at using SQL Server Change Tracking to get the updated data in...
View ArticleMasters database not replicating on slave after restarting servers
I'm trying to implement master slave replication and It's works fine with no errors, database is replicated on slave, but when I close my servers and open them again and add something in masters...
View Article3 Node Replica Set all became SECONDARY
My 3 set replica set all became secondary and I'm not sure why. The logging I got was: db1 2014-12-12T02:43:55.067+0000 [conn1413096] end connection 10.0.64.12:58483 (512 connections now open)...
View ArticleReplicate whole MySql Database
Am Using Master master MySql replication its working fine. Both Server added replicate-do-db=DB1 replicate-do-db=DB2 But I have n number of databases and going to increase day by day. It is much...
View ArticleFinding differences between a master and slave when pt-table-sync fails
I have a table that's showing some differences on a master and slave according to pt-table-checksum (PTC). I've found some verifying differences beyond that. Certain tables in the mix have composite...
View ArticleMySQL relay log rotates too soon and too often
I have a simple master/slave setup where the slave is just a backup. Sometimes I notice that the relay log on the slave rotates too often and too soon, when it is still very small: 4:00 PM...
View ArticleMySQL - How to see the queries executing by slave io thread
We have a strange problem with MySQL replication. We have observed huge load and IO wait on server while replication is in progress. We can have information of the queries from bin-log by using...
View ArticleReplication in same server within different databases. Mysql 5.6
What I have : a windows machine with one instance of MySQL 5.6 Server. two database named test and test2. Test database has a table called activity with columns id and class What I need : replication...
View ArticlePostgres Hot Standby and Long Running Queries On Slave
Question: Can you have long running queries (30s+) running while having WAL updates applied on the slave (the slave role is as a Reporting DB Server) in a Hot Standby mode? The way it's working now is,...
View ArticleHow do I replicate a database over 2 geographical sites?
Disclaimer: I have no idea what I'm talking about here, or if what I'm doing is the correct thing to do. Long story short, my superior has asked me if it's possible to replicate our internal database...
View ArticleTungsten replicator-data doesn't replicate from master to slave
I configured a master slave replication using tungsten replicator with mysql as master and mongodb as slave.I followed this post of data charmer to set up the replication.I am able to configure all the...
View ArticleMySQL daemon failed to start
MySQL won't restart when I try "service mysqld restart"because I'm using this part in my.cnf master-host = [private-IP-of-db01] master-user = [replication-username] master-password =...
View ArticleMySQL daemon failed to start
MySQL won't restart when I try "service mysqld restart"because I'm using this part in my.cnf master-host = [private-IP-of-db01] master-user = [replication-username] master-password =...
View ArticleLock master log position
Is there anyway to lock master log position? every time I restart putty master log position is different! e.g if currently it is at...
View Articlerestarting mysqld services before starting slave
I have configured master slave replication in putty. It works fine and replication is working fine as well but when I close terminals and start putty terminals again the replication isn't working even...
View Articlemysql replication - slave server on one database
I couldn't find an answer to my question. I have 2 mysql servers. Master server Slave server Now i want to add another Slave server but i have other website running on that server. Can i replicate just...
View ArticleMongoDB can't add new replica set member [rsSync] SEVERE: Got signal: 6
I have a replica set and I added a new member to the set. The initialSync begins for the new member and rs.status (on primary) shows STARTUP2 as status. However, after a long enough time, there's a...
View ArticleHow to create a stored procedure to replicate data from a SQL Server instance...
How do I create a stored procedure to replicate data from a SQL Server instance to another? This should take parameter of server name and be able to pull out info on just that server They instances are...
View ArticleGot fatal error 1236 Slave has more GTIDs than the master has, using the...
We are testing replication using GTID's on two servers running MySQL 5.6. Replication was running fine, but now it is not functioning. When I run show slave status\G on the slave, I get the following...
View ArticleSetting hot standby feedback for a specific query in PostgreSQL
I'm an R programmer trying to pull data from a PostgreSQL database for analysis, but started getting this error. ERROR: canceling statement due to conflict with recovery DETAIL: User query might have...
View Article