Can I add an Arbiter node in the same server of my Config-Server?
I'm using MongoDB and I want to know if I can add an Arbiter node in the same server that I'm hosting my Config-Server. Is it possible? Let's say that I have 3 sharded clusters with 6 servers (2 per...
View ArticleScaling solutions for MySQL (Replication, Clustering)
At the startup I'm working at we are now considering scaling solutions for our database. Things get somewhat confusing (for me at least) with MySQL, which has the MySQL cluster, replication and MySQL...
View ArticleMysql replication is enabled but stuck at "waiting for binlog to be...
I have set up replication between an existing database (server-id=23), and a new one (server-id=51). I have followed the steps in this stackoverflow question, but replication is not happening. On the...
View ArticlePostgresql Chained Slaves and Slave Promotion
So I have a setup like Master -> Slave1 -> Slave2. Slave1 replicates from Master and Slave2 replicates from Slave1. If I promote Slave1 to master is it possible for Slave2 to continue replicating...
View ArticleMySQL master slave replication not working
I had MySQL master slave running and working fine but suddenly it stopped. I don't know which commands have been executed but now replication is not working. I am very new to MySQL can anyone help me?...
View ArticleWhen one of masters is unreachable all other replica sets work too slow in...
When one of masters is unreachable all other replica sets work too slow in mongodb 2.6.11, also I can not list the databases on mongos servers, and that is because of one replica set. How to solve this...
View Articlemysqlfailover automatic failover is not enabled
i use mysqlfailover mysqlfailover --master=root@132.232.142.73:3306 --discover-slaves-login=root --slaves=root@12.32.53.2:3306 --report-values=health --verbose --failover-mode=auto...
View ArticleHow To Learn What Causes Huge MySQL Traffic?
We are currently running 3 slave databases with hyperdb for our Wordpress sites. According to NLoad, each server outputs about 50mbit/s where there are 30,000 people real-time on our websites. This...
View ArticleNon-Replicating commands from (master) Mysql 5.5.40 to (slave) MariaDB 10.0.19
CRUD replicates just fine. But we noticed that DB structure altering commands such as ALTER TABLE and/or adding/updating columns to a table and even creating new ones do not replicate to the slave at...
View ArticleHow Merge Replication Works
I'm not DBA at all but I need to do something to synchronize four SQL server databases. I just discover there is a Merge Replication system in SQL Server 2008. At this moment I'm reading the...
View ArticleI get a "An attempt was made to load a program with an incorrect...
The exact error is as follows Could not load file or assembly 'Microsoft.SqlServer.Replication, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. An...
View ArticleSQL Merge Replication Issue
I have a issue regarding Merge Replication. I have a table SETTINGS where in i store the settings of my software. The schema of the table is ID ( PK) , Description , Value. Suppose i have 15 rows in...
View ArticleHow does consistency and replication relate to each other?
I'm currently studying distributed replicated systems and consistency models. I have hard time to relate consistency models to replicated systems, because most definition in the literature use shared...
View ArticleTriggers on Slave database (in the context of replication) for auditing...
I have a requirement for auditing in MySQL database. It means I am interested in what data is changed in my database and when. For fulfilling this requirement I am thinking about the triggers. I am...
View ArticleSnapshot replication - How to detect when a snapshot has arrived on the...
I have snapshot replication set up to on a server which publishes to a second server as part of a scheduled SQL Server Agent job. When the snapshot finishes, I would like to detect when each table has...
View ArticleIs there a way to replicate Postgres databases in Amazon RDS between regions?
We have a Postgres RDS instance in the AWS Oregon Region. For some supposed legal reasons, we have to host our client's European data in the Ireland AWS Region, but we need that data synchronized to...
View ArticleHow do I create a custom array in powershell?
I am trying to sort out arrays in PS. The problem I am trying to solve is to return a list of replicated VMs and some basic stats. Having read through a multitude of sites and suggestions the best I...
View ArticleMySQL slave stuck at 'System lock' most of the time, high CPU usage
Let me describe what we are facing now: We have a MySQL Master-Slave, Row Based Replication setup and at the moment, the slave is stuck with a perpetual System Lock. The Master is an active server with...
View ArticleSql Server 2008r2 Replication Snapshot Agent Hang
I am setting up a new merge publication, but I can not get the snapshot agent to run successfully. In fact, I can not run any snapshot agents for any of the other publications on this server now. This...
View ArticleVague replication error code 2005
2015-04-07 13:49:53 23758 [ERROR] Slave I/O: error connecting to master 'replication'@master-host:3306' - retry-time: 60 retries: 1, Error_code: 2005 This was after attempting to do a change master to...
View Article