Unexplained Spike in RDS replica lag
We have a RDS read-replica server. We found some spike in replica lag as shown below: Click here to see the observed replica lag. However, when we checked the general log we did not find any...
View ArticlePassive Replication in Distributed Systems - Replacing the Primary Server
In a passive replication based distributed system, if the primary server fails, one of the backups is promoted as primary. However, suppose that the original primary server recovers, then how do we...
View ArticleAfter Restore Log_reuse_wait_desc of Replication
I'm wondering if anybody has ran into this issue before and has any suggestions on what's causing it/how to fix it. We are restoring a database into lower Dev environments and after the restore the...
View ArticleAuto start slave
Every time the MySQL service is restarted, the master-slave replication is stopped. Is there away to set the master-slave replication to automatically start after the service is restarted. I am...
View ArticleSQL Server - error running 'sp_addsubscription' when not sysadmin
Windows 2008 R2 MSSQLSERVER 2012 (SP1) Standard When running sp_addsubscription under account within db_owner role of both user and distribution databases, I get the following error: Msg 14260, Level...
View ArticleHow to merge and synchronize SQL Server Database Files?
I'm building a C# program for windows tablets that are synchronized with a database. They will each have their own local .MDF SQL Server database which they interact with using SQL Server Express....
View ArticleMySQL Error wth Relay logs - Could not open relay logs file for logging
We are receiving the following error. 2016-03-08 15:32:09 1184 [ERROR] MYSQL_BIN_LOG::move_crash_safe_index_file_to_index_file failed to move crash_safe_index_file to index file. 2016-03-08 15:32:09...
View ArticleHow to include default value settings in the schema for SQL Server 2008 R2...
I have transactional replication set up between two separate Windows 2008 R2 servers running SQL Server 2008 R2. I am using SSMS on the publisher server to set up the replication. I selected...
View ArticleROR application with Mysql 5.6 - transaction-isolation with Master -Slave
We are running a ROR application with Mysql 5.6 and master/slave replication. We are facing deadlock issues. We've successfully tested changing settings from REPEATABLE-READ to READ-COMMITTED on our...
View ArticleDFS Replicating files but not deleting the ones removed
I have 2 production environment File servers. When setting up DFS, 1 was set as primary and the other as secondary. While Replication process is working, it replicates the newly created files from the...
View ArticleMysql replication, error 13 (permission denied) with slave_load_tmpdir
I've setup a virtual machine on Azure with Ubuntu 16.10 and Mysql 5.7 for a database replication Master/Slave from another server. I followed this article:...
View ArticleHbase replication not copy data
I have 2 hbase cluster named A and B , each cluster have 3 machines, i want to enable replication between the 2 cluster, here is the step Add config to hbase-site.xml <property>...
View ArticleAutomatic MYSQL failover
We have a wordpress environment however this is not a wordpress question. Our scenario is that front Ends connect to a MYSQL backend (MYSQL VM1) which is replicated to a backup vm (MYSQL VM2). The...
View ArticleMyIsam replication problem
Since a week I have a problem with my DB's replication, the problem is that there is difference between Read_Master_Log_Pos and Exec_Master_Log_Pos. This doesn't occur always, by momments all works...
View ArticleMySQL failover - Master to Master Replication
My company is trying to implement a MySQL failover mechanism, to achieve higher availability in our webservices tier - we commercialize a SaaS solution. To that end we have some low-end VMs scattered...
View ArticleSQL Server: subscriber as publisher and hierarchical replication
In Oracle Streams one way replication from one DB to another is a basic block for many replication topologies (N-way, hierarchical, combined and so on), and changes could be captured and applied for...
View ArticleChanging MySQL Master in Replication: with or without MASTER_LOG?
Let's say I have server A,B,C. Both B and C have Master A A - Master B - Slave C - Slave If I am going to change C's Master to Master B, can I change it immediately with query without Master Log...
View ArticleMySQL Master Slave Replication where master is not allowed to talk to slave
I want to set up an Master Slave Replication between 2 different servers. The specialty is, that the Master is not allowed to talk to the slave, but the slave can talk with the master. I can not change...
View ArticleCluster command locking read only queries on replica
I noticed that clustering can take a long time and lock the table entirely, even for reads. Index Organized Tables and incremental clustering would be perfect, but sadly they aren't supported by...
View ArticleAnyone know tutorial for postgresql mirroring implementations, such as the...
Anyone know tutorial for postgresql mirroring implementations, such as the use of Slony, Pgpool-II, Bucardo specifically for the Linux environment.
View Article