SQL Server Transactional Replication snapshot delivery loop
I have configured transactional replication from SQL Server 2008 to SQL Server 2014. And everything is OK, except one thing: after the initial snapshot is delivered to subscriber, distribution agent...
View ArticleKeeping my database updated every 30 minutes using Log files
I have a situation where I get a full nightly backup and trans log backup every 30minutes starts at 7:00 am ends at 2:00 am. I need to restore them every 30 minutes into a database and replicate this...
View ArticleRe-initializing a transactional replication wihch was initially synced from...
I have a transactional replication which was initially synced from backup. Now I need to add a new table which is really big so we have decided to backup and restore a fresh copy of the db to...
View ArticleSQL Server 2016 very slow snapshot generation
We've faced such a problem after migrating from SQL Server 2008 to SQL Server 2016: there's a merge replication implemented and it takes up to 2 hours (!) to generate a snapshot, instead of 5 minutes...
View ArticleCan not drop table due to replication error, though table is not being published
I am attempting to drop a table in a database that is a publisher. The table in question is not being published. The error I get is: Msg 15021, Level 16, State 1, Procedure sp_MStran_ddlrepl, Line 14...
View ArticleStale monitoring errors?
After setting a cluster with 3 shards, 3 config server with 2 mongos. I see these errors in the monitoring agents Failure during discovery. What do they mean I tried to see it on the internet but no...
View ArticleHow can I determine the last synchronization time for a SQL Server...
I'm using SQL Server replication to mirror a few tables from an on-premises SQL Server instance to an Azure SQL database. We had an issue where the replication encountered an error, and we incorrectly...
View ArticleMySQL replication stops everyday for no (obvious) reasons
i've got a problem with my MySQL master-slave replication. It works just fine after i start it up but around 2:30am the next day it stops. Monitoring shows that the slave starts continously reading...
View ArticleMySQL: Remove bad GTID from GTID Set
MySQL 5.6.35-log (community) How can I remove a incorrectly manually injected GTID from a GTID set without doing a RESET MASTER? STOP SLAVE; SHOW MASTER STATUS;...
View ArticlePeer to peer replication
We have a client currently having only one location but they want to add two more locations. They want database on all the locations and users to be able to perform R/W operations on them and all the...
View ArticleReplication Changes With Check Constraint to With NoCheck on some tables...
We have a transactional replication. On some tables on the publisher database foreign key constraints changes to with nocheck without any reason. we have dropped the replication and problem was solved....
View ArticleMySQL RDS Slave stop replicating
I have a master DB running on internal network and an AWS RDS slave replica from the Master DB. When I upload a fresh copy of the master, the slave will replicate for few days with no issues. After a...
View ArticleAlternative to per database level replication postgresql
i am new to postgresql. I have two machines say A and B . both the machines have 2 databases in them(all databases are in same cluster) . I just want to replicate 1 database from A to B. i.e if A has...
View ArticleMySQL chain replication timing of writes on first slave
With a MySQL chain replication setup, e.g. M1->S1->S2, what exactly is the order of operations for writing to the first slave? Is the binary log from the master simply streamed directly through...
View ArticleMongodb Replica Member Server Changed: Status Stuck In STARTUP. Missing config
I am on mongo v3.0.x and have a replication set with 3 members, but the second member (and entire server) was unexpectedly taken down and destroyed. I have stood up a new server to use as a...
View ArticleMySQL - Is it good to have millions of tables in a single database?
I have designed new MySQL database for my project, In my project I need to create tables dynamically with dynamic columns. So I want to know is their any impact on database performance if I have...
View ArticleInstall galera cluster without remove existing mariadb
I have to setup Galera cluster in one of my production servers. OS: Ubuntu 14.04 Existing mysql: maridb 10.1 While installing this cluster, its asking to remove the existing mariadb-server-10.1 How...
View ArticleSync of Master Master replication when Primary node comes up MySQL 5.7...
I have a Master (say Node A) - Master (Say Node B) asynchronous replication setup with ROW based logging method. Node A has been setup as Write/Read node and Node B has been setup as Read Node Only....
View ArticleFrom SQL Server 2008 to Azure SQL Database (PaaS)
we have a database in SQL Server 2008. Database is compatibility level 2005. Tables don't have Primary keys. We need to make a copy of it as Azure SQL Database (PaaS). PaaS copy needs to be available...
View ArticleSync two database first on server second on my pc [on hold]
I have a database on a server and database on my PC. They two databases are the same version (SQL Server 2014) and the same design. I want make any changes in any database on either side to replicate...
View Article