MySQL row-based replication - Delete Fails
We have a Master - Master replication setup, MySQL 5.6. Only one Master is used, the other is for backup and failover (we'll call that the slave). The binlog_format is set to ROW, autoincrement...
View ArticleScripting SQL Server Replication
I am trying to use SSIS to take a backup of Replication scripts. I am using Script task and using ReplicationServer class under Microsoft.SqlServer.Replication. The problem is, the package is failing...
View ArticleBest way to store files with replication in Linux separately programatically
I have an API developed with Java and Jersey which operating high amounts of files and data-base related data. Currently I am storing files in S3 on Amazon. Previously, I just stored files in the same...
View ArticleTrans Pull Subscription Synchronize, Terminates the program after...
I have an SQL Data base on my local SQL Server Instance, and I replicate data to another Data Base which is on also on my local SQL Server Express instance . I use the following code to make the...
View ArticleMerge replication snapshot folder cleanup
I have setup merge replication and facing some issues with the snapshot files cleanup. I understand the distribution agent is responsible for this cleanup but it does not seem to purge old files. It...
View ArticleWhat is the difference between mongod in standalone vs replica set
I've been running Mongodb as a replica set on 3 servers (primary, secondary and arbiter) but because I have to downscale I'm converting the primary to a standalone server. Before this change the...
View ArticleReplicate SCCM2012 DB to secondary read only server
We have a SCCM2012 DB that we're looking to replicate out to a SQL2012 or above server. The reason for the replication is for a new ITSM system to use ODBC to extract information about devices without...
View ArticleSQL Server Replication - Stored Procedure Execution
I've been trying to configure a simple publication to replicate stored procedure execution as per this post but no matter what I try every time I execute the SP on the Publisher db the updates get...
View ArticleHowto fix replication failure with Galera - thousands of GRA_*.log files on...
Galera Cluster generates a GRA log files if it fails to apply the writeset on the target node. This files exists in the MySQL data directory I use grareader to extract the SQL statement and get...
View ArticleMysql Replication Automation Script
I am looking for something that will help us to create a lot of mysql slaves connected to the specified master, let's say kind of mass-replication. If there are any existing solution for this purpose....
View ArticleSetting up MySQL master - master replication
I currently have one master server and want to add another master server for fail over. On the primary server I've added the following to "my.ini" server-id = 1 replicate-same-server-id = 0...
View ArticleMySQL server 5.7 Multi Source Replication
I try to switch four computers 3 are masters and 1 is slave. I switch 1 to slave but others Slave_IO_State is Connecting to master they don't get a Retrieved_Gtid_Set its stay empty.
View ArticleCustom SQL Server replication
I want to have bidirectional replication and I don't want to reinitialize subscriptions after adding filtered tables because it's a pain (merge and transactional replication force to reinitialize after...
View ArticleMysql Replication stops without error
Mysql 5.1 Replication stops without error message "SHOW SLAVE STATUS\G" > *************************** 1. row *************************** > Slave_IO_State: Waiting for master to send event >...
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 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 ArticlePostgreSQL 8.4 replication of more than 100 tables
I am facing a problem with PostgreSQL version 8.4. I need to create an slave machine but when I look to all tutorials of slony or londsite its saying I will need to specify the tables that I want to...
View ArticleHow to setup cross region replica of AWS RDS for PostgreSQL
I have a RDS for PostgreSQL setup in ASIA and would like to have a read copy in US. But unfortunately just found from the official site that only RDS for MySQL has cross-region replica but not for...
View ArticleNOLOCK vs Read Uncommitted
in our environment, reports are running on the subscriber and resulting in deadlocks with MS Replication SPs, which are doing inserts/updates. What's the best way to eliminate the deadlocks? We have...
View ArticleMySQL Replication (1 Master, 3 Slaves): When 1 slave is dumping a big...
I have 1 master and 3 replicated slaves. Every night I perform the following on slave 1: STOP SLAVE SQL_THREAD mysqldump ... START SLAVE The dump takes about 45minutes, in that time Slave 2 and 3 also...
View Article