Problem when using gtid with MySQL replication
I am faced with this problem when using gtid in MySQL replication: When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check...
View ArticleSQL AlwaysOn & System Center Configuration Manager TP 4 1601
Recently Microsoft released Technical Preview 4 for Configuration Manager (1601). Per TechNet, "Configuration Manager now supports using a SQL Server AlwaysOn availability groups to host the site...
View ArticleHow to access mongodb replica set after restart
Yesterday I created a replica set and everything seemed to work. I closed all the cmd's when i was done. I am assuming this replica set has not been deleted or anything, since old dbs i've created...
View ArticleIs there a way to see if a SQL 2012 Replication publication is marked for...
We have a SQL (2102) Replication Database with a Realtime DB being the Publisher and a Historical Db as the Subscriber. All of the Tables/Articles have the setting of Do Not Delete. Thereby the...
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 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...
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 ArticleDifference between master site and materialized view site in oracle
I'm learning the replication concept in oracle database. I have a confusion of these two terms - master site and materialized view site. Please help on this...
View ArticleMysql 1 way replication master lost data replication still has
Had a master mysql on (windows) improper shutdown. Many records could not be recovered and investigation found slave had records master did not have. Did not restore over master - left as was. As if by...
View ArticleHow to migrate sqlserver database to cloud server
i have a local SQLSERVER database and that is changing on daily basis. i want the same database to be uploaded with all the changes made daily first thing in the morning to a cloud server. please...
View ArticleDatabase replication without locking tables
I've been asked to setup replication between master and slave database. The aim is not to lock any tables while dumping database. I've never setup replication but I have found this guide:...
View ArticleMS SQL 2016 Development server replication between Win10 and WinServer2012
I need advice and hopefully you guys can provide some. I've been asked to set up SQL Server 2016 replication between development PC running Windows 10 Home and Windows Server 2012 r2. Both run...
View ArticleMongoDB replica set elections
I've recently set up a mongo replica set on AWS. I have a primary, a secondary and an arbiter. Sweet. But if the instance that the arbiter runs on goes down I'm left with a 2-node replica set and as I...
View ArticleMongoDB replica set node failure without arbiter
I'm baffled by the fact that this is addressed in the official docs (or at my inability to track it down). From the 3.4 docs: Only add an arbiter to sets with even numbers of voting members. If you...
View ArticleGTID replication failing error 1062
I am having trouble setting up a slave replication. Both use mysql 5.6 and have GTID on. Master is on rackspace's cloud databases HA instance The dump I include has a GTID on it and the master. I...
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 ArticleMySQL 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 ArticleToo many open connections with MongoDB 2.6 + PyMongo 2.7.2
I was running MongoDB 2.4 with a replica set which contains 1 primary, 1 secondary and an arbiter. We were using PyMongo 2.6 and MongoEngine 0.8.2. Recently, we performed an upgrade to MongoDB 2.6,...
View ArticleMassive MSreplcommands table, 2 billion rows, cleanup job not deleting commands
I have a runaway distribution database that is 640gb in size. I have narrowed it down to the msreplcommands table which is holding 2 billion rows. I have checked all publications and found 2 of them...
View ArticleTwo-way replication between SQL Server 2005 and SQL Server 2008
We currently have a SQL Server 2008 and SQL Server 2005 participating in one-way transactional replication of a single database. If possible we would like to set this up as a Two-way replication. What...
View Article