MySQL Replication Duplicate Entry for Primary Key
160523 13:07:29 [ERROR] Slave SQL: Error 'Duplicate entry '914166' for key 'PRIMARY'' on query. Default database: 'zo_dev_20121216'. Query: 'UPDATE activity SET activity_type_id = 9, subject = 'Send...
View ArticleCan't create snapshot agent for SQL Server 2016 publication
Just installed a SQL Server 2016 instance fresh. Previously I've used merge replication for 2008 and 2012 without issues. I'm trying to do the same here, and while I can create the publication no...
View ArticleImpact on moving a retention period from 0
In SqlServer 2005 SqlExpress, I have a merge subscription that currently has a retention period of 0 (i.e. it never expires). Whilst our data is a full set, we have the drawback that the meta data...
View ArticleHow can I stop master from starting itself as a slave (in addition to master)...
In a simple MySQL replication Master-Slave configuration I have a problem where Master tries to connect to itself as a slave on reboot. So when I restart MySQL on Master, I see errors related to the...
View ArticleRun MySQL replication by schedule or on demand
I have a master-slave replication currently configured. I know this setup runs real time. Is it possible to sync only the databases on schedule (daily or weekly) or by demand? Thanks!
View ArticleOrientDB, distributed load balancing
I am using OrientDB and faced a problem during working with replication. I have two servers with OrientDB and I can see that these OrientDB instances are communicating between each other. The problem...
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 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 ArticleReplication Issue - Changing the replication-do-db filter
I have a server that someone has setup which are acting as a master on both database. Since they have been configured as both master on the same database, changes one on end has caused all sorts of...
View Articleremote distribution database - Agent message code 21482. sp_MShelp_repl_agent...
I have a situation for which I would appreciate any valuable pointers. I have sql transactional replication configured as below. sql01sqla ---> publisher sql01sqlc --> subscriber sql01sqle...
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 ArticleMySQL Circular Replication
I have this scenario where I have 4 MySQL servers (A,B,C,D), as this: Server (A) is always online, and serves as the main website. Servers (B,C and D) are online on random periods of the day, and not...
View ArticleMongo replica set config
I configured a 3 node replica set and uninstalled mongo when my virtual memory limit exceeded then as i was starting my mongo replication I couldn't get these commands to work. rs.initiate()...
View Article[Postgres Replication]Remote host is not reachable repmgr salve
I am trying to create a postgres replication configuration using two servers. The steps are similar to PostgreSQL 9.4 Replication with RepMgr and PgBouncer on Ubuntu 14.04 . I am using repmgr +...
View ArticleSpring boot connect to MongoDB replica set running with an Arbiter
My application is a Spring boot application and the application configuration properties file look like: .... spring.data.mongodb.host=ip spring.data.mongodb.port=27017...
View Articledatabase development environment, MySql
I need to create copy/replication of our databases for the development environment. I'm not sure how to do it. DBs are updating many times during a day; not only new records added but also old records...
View ArticleTransactional replication - Old data is getting inserted in subscriber table...
Old deleted data is getting reinserted in subscriber table every time after reinitialization. The publisher doesnt show this data after reinitialization. If i delete that old data from subscriber table...
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 ArticleMySQL 5.5 to 5.7 doesn't work, apparently this is a feature?
Has anyone found a way yet of circumventing MySQL 5.7s insistence that it's Master must have a server_UUID. I currently have multiple instances of MySQL 5.5 over various sites, and want to look at...
View Article