How is it possible to convert a 3-node replica set to a 1-node replica set...
We have a chat application that runs on MongoDB. For the amount of users that we currently have, it is sufficient to have a 2 node+Arbiter set up during peak hours. However, during off-peak hours, we...
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 ArticlePostgresql - Minor version upgrade 9.3.5 to 9.3.6 on Ubuntu
I am two servers: A & B. My master database is running on A and the version is 9.3.5. It's replica is running on B and the version is 9.3.6. I am trying to use B as UPSTREAM slave, and trying to...
View ArticleSQL Server replacement for trigger with data transformation
We have following setup: server SRV_1 has two databases: OLTP database DB_APP and reporting database DB_REP. DB_APP has a number of triggers which do some data transformation (denormalization, uses...
View ArticleThe process can not access the file because it is being used by other process
I have publisher and distributor on the same machine with 2012 sql server. Created a new subscription and it started downloading the snapshot. After a few snapshot downloads, it throws the following...
View ArticleWrite-lock a whole table during transaction
I need to perform a delicate operation to my table in which I will solely insert, delete and select upon all of my rows and no God may interfere with the table during this operation: the table will be...
View ArticleWhere to look for Agent history in Replication?
In SQL server 2008R2 replication configuration, "agent history cleanup distribution" job by default runs every 10 minutes and deletes any historical data older the 48hrs. If I increase the retention...
View ArticlePermanent 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 ArticleNULL Agent Timing Out
Error: Replication-replication Distribution Subsystem: agent (null) scheduled for retry. Query timeout expired. Based on my research, this error appears when there is a lot of contention on the...
View ArticlePostgres 9.2 replica can't catchup to master
I have configured a master/replica setup for postgres 9.2 on Amazon Linux. PS output shows that the replica is connected and streaming, but also recovering. This has been going on for about 24 hours. 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 multiple replication users
I have an environment of one Master server (Master A) and three slaves (Slave B, C and D) configured with an ID called "replicator". Unfortunately credentials for "replicator" user is missing (the guy...
View ArticleHow the statement based replication works internal on secondary node of mongodb?
Mongodb supports statement-based-replication. Would like to know, how the statement based replication converts the code internally on secondary node of mongodb. Is that working related to the mysql...
View ArticleMySQL Custom replication
I have a weird scenario and I can't seem to find the best way to make it work. I have a inventory app stored on an Linode server. This app handles different companies. Each company has its own...
View ArticleBandwidth-efficient, fail-safe database resync with long backlogs
I'm looking for a DB system that allows slaves to resync even if there exists a long backlog. In addition these resyncs must be as bandwidth-efficent as possible as the nodes are connected over...
View ArticleReplicating data from SQL Server 2014 to SQL Server 2005 - temporary soltuion
I will be installing a new SQL Server 2014 database system, which is based on our current SQL Server 2005 database system. The new system will be on a completely new infrastructure when we go live,...
View ArticleReplicating data between sql 2014 to 2005 - temporary solution
I will be installing a new database sql 2014 system, which is based on our current 2005 database system. The new system will be on a completely new infrastructure when we go live, leaving the current...
View ArticleCouchDB - Filtered Replication - Can the speed be improved?
I have a single database (300MB & 42,924 documents) consisting of about 20 different kinds of documents from about 200 users. The documents range in size from a few bytes to many KiloBytes (150KB...
View ArticleSQL Server 2005 Replication
I am in the process of creating Replication between 2 Remote Servers, server 1 is the Distributor and Publisher and server 2 is the Subscription. server 1 windows 2003 server 192.168.10.1 connected by...
View ArticleReplicating data from SQL Server 2014 to SQL Server 2005 - temporary solution
I will be installing a new SQL Server 2014 database system, which is based on our current SQL Server 2005 database system. The new system will be on a completely new infrastructure when we go live,...
View Article