Permanent count of waiting tasks (2) in Activity monitor
Now I'm observing in Activity Monitor permanent count of waiting tasks: and at "Resource waits" tab I see next: so, my question is: How to find and resolve this wait tasks? I suspect that it related...
View ArticleHow to Upgrade Master Slave MySQL on AWS RDS?
I already have Master Slave configuration on AWS RDS. We want to upgrade 5.5 to 5.6.23. ..What should be correct sequence to Upgrade ? 1. Upgrade Master ( Using Modify Instance ) --> Upgrade Slave...
View ArticleMySQL - Enabling Scheduled Event on Master and Slave Simultaneously
This may seem a bit strange, but I am trying to get a Scheduled Event to execute on both Master and Slave. I have two databases set up in a Master (A) to Master (B) replication environment. Master A is...
View ArticleMongoDB allocates chunks only to Primary when sharding is enabled
I'm setting up an instance of MongoDB with 3 shards. I've setup everything seemingly correctly by following the docs and comparing my config with that of a friend who has a similar setup but with a lot...
View ArticleMysql Replication Master->Slave [on hold]
I want to replication the MySQL server.I do not know how to do this operation. Can you help me? Master DB1 foo table -> Slave DB2 also bar table
View ArticleRedis master slave replication not working
I configured redis instances in two machines. One as master, another as slave. When I start both the servers, I am seeing the following logs: Slave: [5160] 04 Apr 15:19:28.093 * Connecting to MASTER......
View ArticleSQL 2012 Replication - MSrepl_commands growing all set to in progress
I'm stuck looking at this problem that we've had since our last restart almost a week ago. The distribution database is growing and no longer pruning; it appears that everything in the...
View ArticleWhere should the SQL Server Replication pre-snapshot script go?
I'm looking into using a pre-snapshot script to prevent the snapshot from being applied if certain conditions exist on the subscriber. I've tested this and it works well, but I have a few questions...
View Articletemplate1 database being accessed - PostgreSQL 9.2
I'm currently using postgres 9.2 and as you can see below, the "template1" database was being accessed: The server is a 4-day-old backup DB - does a gzip of pg_dump, excluding some tables; also 4-day...
View ArticleSQL Server 2012 Replication
Please help me out with a problem I am facing. I have a table T. I altered the table to alter the column C from varchar(10) to varchar(100). Now, there is a view V that is schema bound and selects...
View ArticleMySQL MTS - Waiting for an event from Coordinator
I'm trying to setup mysql mts replication on 5.7. I'm replicating one database using LOGICAL_CLOCK: mysql> show variables like 'slave_parallel%'; +------------------------+---------------+ |...
View ArticleMicrosoft SQL Replication
Good day, I know very little about this topic and need some advice on where to start. I have two Microsoft SQL production databases that I would like to replicate so that I can run my reporting on them...
View ArticleReplicate only specific records of a table
I have setup a merge replication and have got a new requirement: The records of a table should not be replicated until the [state] column is changed from 0 to 1. I have created a filter for the...
View ArticlePerformance in replicating table between servers
I'm using SQL Server 2014 and I have two databases, in different region of the world. One in Brazil and the another in China. The databases are exactly the same, except by the ID column, with they have...
View ArticleSQL Server Transactional Replication PK Errors After Subscriber Reboot
I have a scenario where several sets of source servers, in clusters, lets call them A1/A2, B1/B2, etc are all connected to a single Subscriber (call it S0) via SQL Server 2012 Enterprise Transactional...
View ArticleReplication of a remote MySQL database to local MySQL database
I'm the developer of my employers corporate private website, a HTML5/PHP/CSS powered site for company reports etc. The site, hosted on a shared hosting package, connects to a remote read-only MySQL DB...
View ArticleMariaDB multi-master replication (star topology) - Bizarre out-of-sync behavior
This may look familiar, I've been learning about this stuff for a few days - but this is a new question. I have a setup like this: Every node is a master, and I have them all replicating to each other...
View ArticleHow to copy a Postgres database within the same DB cluster?
I want to replicate a Postgres database without dumping data using pg_dump. Both source and target database are on the same machine (Test and Production server). I would like to create a master_db_copy...
View ArticleHow to solve that MySQL salve delays a long time after master?
I have a MySQL master and slave, but it happens that the slave always stop in the operation delete from t where cond is TRUE. No matter how I set the binlog format to MIXED or ROW or build index, all...
View ArticleSQL Server 2014 Transactional Replication Partition Switching
I am working with SQL Server 2014 Transactional Replication with tables that have partitions. The source tables are partition switched when they are loaded and so far I have been able to replicate this...
View Article