How to measure or estimate the streaming replication lag in Postgres 9.2
I've been asked to reverse engineer an app that uses postgresql in the back end. I can see that there is some database replica tion going on... based on my reading, I *think it's called streaming...
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 ArticlemySQL Replication Error. login incorrect
I have been trying to setup MySQL replication for the first time. I read many articles and it appears very easy, but I guess I made a typo when setting up the slave. I am getting the following error in...
View ArticleSQL SERVER 2008 R2 - Merge Replication - Identity Seed issue
The server I am running has identity Management set to automatic for most of the tables I am replicating (A hand full have been set to manual). When the replication goes to change the range it changes...
View ArticleHyper V replication - vs - sql replication solutions
I need to establish an offsite copy of a number of production servers, including SQL server. Hyper V replication has been chosen as a simple solution (all servers are virtual). This is to supplement...
View Articlestart and stop synchronizing in sql server 2008
we are using sql server 2008, have one publication db and two subscriptions db. we need to stop synchronizing at subscriber db while we load the data at publisher and as it completes then need to start...
View ArticleUpgrading Master-Slave MySQL
I'm experimenting with MySQL replication with MySQL 5.5.52. My main problem is: how to do "apt-get upgrade" on a master-slave setup properly? Until now I upgraded the slave then failed over and...
View ArticleKeepalived vIP as Galera wsrep_cluster_address
I have a MariaDB Galera cluster. If some nodes fail, I cannot blindly restart them, I have to determine a good wsrep_cluster_address first. If I can keep a keepalived virtual IP on one of the healthy...
View Articleerror during master(local host) to master(aws) replication of mysql server
mysql> show slave status \G; *************************** 1. row *************************** Slave_IO_State: Master_Host: 192.168.1.12 Master_User: chan Master_Port: 3306 Connect_Retry: 10...
View ArticleHDFS Replication Issue
I have set up a single node cluster (initially) and am attempting to write a file from a client outside the cluster. While the write call returns, the close call hangs for a very long time, eventually...
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 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 ArticleTokumx 1.5 Resync Secondary Fails "replSet initial sync could not get...
Tokumx 1.5 replicaset secondary fails to complete sync from primary and repeatedly starts the initial sync. I am getting the error mentioned below : Mon Oct 3 23:50:50.078 [conn36850] SocketException...
View ArticleDifference between Redis Replication and Redis Sentinel
I am trying to understand if the Redis replication (described here) relates to the Redis Sentinel (described here) or are totally different approaches to data replication.
View ArticleMove Plastic SCM repository to another space
How export/import repositories to another PC thare is offline. I try "cm replicate br:/... --package=box.pk". But I need copy complete repositories with all branches to one file. Is that possible?
View ArticleAn error stopped replication agent from running
'm running a merge replication between two databases everything was fine. Starting from yesterday i'm getting this error message from replication job at Run Job step : Executed as user: NT...
View ArticleWhat configs influence whether user credentials/grants are written to the...
I have a fairly trivial master-master setup. When testing this setup I see that mysql users are binlogged and replicated on slaves. However on each of the masters the binlog-do-db* is for a specific...
View ArticleHow can I get the updates and Changes in all masters in a Multi-Master...
I have configured Mysql Ring replication say as Servers A,B,C. I can get the changes and updates in B when I commit the updates in A. I get it in C when I make changes in B. I get updates in A when I...
View ArticlePausing Transactional Replication
Scenario: I'm working with a customer that has a live database. On a separate server, they have a copy of this database and they have transactional replication setup, which runs constantly. I have an...
View Articleis there a documented limit to the number of slaves you can have in redis?
I'm trying to find any documentation about the maximum number of slaves you can set up in a redis master / slave configuration. We can potentially have 200 slaves. If there is a limit, I might switch...
View Article