Using mysqldump to initialize slave database
I've facing an issue I don't really understand. I wan't to synchronize a slave MariaDB database to a master one. I try to use the mysqldump option --master-data=1 which is adding a "CHANGE MASTER TO"...
View ArticleMySQL replication slave hangs after encountering SET @@SESSION.GTID_NEXT=...
I recently installed two identical default installations of MySQL 5.7 under Ubuntu Server 16.04, and configured them to do a binary log replication. Until now this has been working fine, but suddenly...
View ArticleDisabling binary logging when restoring a compressed MySQL dump
I am busy build a slave of an existing database. I don't want it to build bin logs for the data I import before bringing the slave into the same state as master. This is mostly to save space on...
View ArticleSQL Server Transactional Replication snapshot delivery loop
I have configured transactional replication from SQL Server 2008 to SQL Server 2012. And everything is OK, except one thing: after the initial snapshot is delivered to subscriber, distribution agent...
View ArticleActive Directory replication between root and subdomains
I have an environment that has a root domain and several subdomains. The networks are connected between the root and each subdomain, but connections between subdomain controllers are not possible. Now...
View ArticleDoes Redis support strong consistency
I am looking at porting a Java application to .NET, the application currently uses EhCache quite heavily and insists that it wants to support strong consistency...
View ArticleMongoDB can't add new replica set member [rsSync] SEVERE: Got signal: 6
I have a replica set and I added a new member to the set. The initialSync begins for the new member and rs.status (on primary) shows STARTUP2 as status. However, after a long enough time, there's a...
View ArticleSetup to allow creating new tables in PostgreSQL replica
My goal is to create a replica of an existing database that would allow me to create new tables and populate them. I don't care about writes to replicated tables - those can and probably should throw...
View ArticleAutomated sync between online web host and offline local host both ways
I have an offshore customer who has requested to get their website (with MySQL database) installed on a local server for their ships as they don't always have internet connection. For this they also...
View ArticleWhy No shard becomes primary on second node when it is UP again?
I have configured two node cluster and created an index with 4 shards and 1 replica Elastic created 2 primary shards on each node, this is how it looks from head plugin. shard 1, shard 3 are primary...
View ArticleDatabase Replication - Why and How?
I am struggling to understand how to implement database replication. I have currently setup a master-slave replication of MySQL database. I understand how transactional events are replicated to the...
View ArticleHow to restart the distributor agent of transactional replication?
After troubleshooting query time out error I would like to restart my distributor agent. So I go to my distributor server, in my distributor DB (called distribution_SA) I run the following query:...
View ArticlePostgreSQL streaming replication lag for synchronous standbys
We use PostgreSQL 9.5 in a master + synchronous hot-standby setup, i.e., using synchronous_commit = on and using synchronous_standby_names='*'. Consequently, the standby has sync_state = sync in the...
View ArticleIs it possible to replicate a trigger but prevent it from running during...
We are using SQL Server 2008r2 as the publisher and Express editions as subscribers, with merge replication and pull subscriptions. A replicated table has an update timestamp, as a datetime column....
View ArticleComparing data in two different databases
I have two oracle databases who share database objects for example: Table: PRICE I am looking to come up with a efficient way of comparing the table object between the two databases. I expect them to...
View ArticleReplicating a Browser based UI onto a raspberry pi
I am fairly new to programming and have some experience with Python. Have been learning some Java, Java script as well as HTML. I have a program that is running on a web based user interface. The...
View ArticleMySQL replication works but slave keeps reconnecting to master
I have a master-slave set-up with multiple slaves in different datacenters. One of the slaves stopped working normally today. This was easily resolved by restarting mysqld but ever since (and perhaps...
View ArticleStarting a slave from behind master
We're moving to a different cloud provider so need to migrate our database with as little downtime as possible. Here's our current setup: master └───slave1 └───slave2 └───slaveBackup A dump of...
View ArticleHow to configure RMI over SSL in ehcache for replication
I Have ehcache replication working properly without SSL support. I am looking to support my ehcache replication via SSL i.e. i want to have RMI over SSL How can i do that? Here is sample manual peer...
View ArticleReplication: Procedure or function sp_MSupd_PROC has too many arguments...
Source is one service pack behind destination (2012). I know service packs can be issues here, but it looks like this is only for versions 2000 and 2005. When using sp_helptext sp_MSupd_PROC the...
View Article