how application connection auto redirect when meeting mysql group replication...
As we known, MySQL Group Replication(GR) is coming in MySQL 5.7.17 ! We are doing some research on it and recently we have one question : How application(always Java) connections(Connection Pool) auto...
View ArticlePouchDB to CouchDB sync saves filters as views
I have simple PouchDB instances one for local browser and one remote. I have a design doc that takes a filter, when I issue a sync it saves as a view. var localDB = new PouchDB('mydb'); var remoteDB =...
View ArticleZookeeper ActiveMQ unable to persist messages across nodes
I have setup Zookeeper activeMQ installations on 3 servers and they work as master slave perfectly. The queues are replicating perfectly, but the messages which are pushed to one queue are not...
View ArticleHard limitation for merge replication article count?
A bit of background. We developed an app that uses merge replication. Right now, we are currently publishing about 212 articles, and everything is fine, as it appears to fall into the 256 article count...
View ArticleUsing non-replicated read/write databases on a MySQL slave server
I have a MySQL slave server that has two databases being replicated from a master. What I'd like to do is add a third database that I will exclude from replication and use as a read/write database....
View ArticleDistribution database (recovery pending)
I was trying to create a distribution database and I succeded at first, but since I checked the box to configure SQL server Agent to start automatically, the last step of configuring the distribution...
View ArticleMongoDB Connection Issues
We have a MEAN application with a 3-member MongoDB replica set. Somehow the total connection count keeps increasing until the primary is not able to take any new connections and goes down, making the...
View ArticleERROR: establish BDR: FATAL: no pg_hba.conf entry for replication connection...
I get this below error while trying to set up BDR when both the nodes are on different hosts. SELECT bdr.bdr_group_join(local_node_name := 'node2',node_external_dsn := 'port=5599 dbname=bdrdemo...
View ArticleUnable to shrink log file due to transactional replication
I have a transactional replication configured as per below: ServerA.DBA (pub) --> ServerB.DBB (Sub) ServerB.DBB (pub1) --> ServerC.DBC (Sub) ServerB.DBB (pub2) --> ServerD.DBD (Sub)...
View ArticleMove database without replication taking new snapshot
We are upgrading a physical server we have SQL installed on at work, and I need to move SQL to a new machine, but I need to do it with minimum downtime. I have the new virtual server already available...
View ArticleDistributor properties affects replication
I'm new to replication and database administration, so please bear with me if I'm not able to explain it well. I've set up Transactional Replication with the main database server publishing and pushing...
View Articlereplicate-ignore-table setup and usage for excluding table from binlog backup
I need to make an everyday backup of a mysql database that is very big on a remote server and I only want to get the difference since the last backup. I also need to exclude some tables from being...
View ArticlePerforming frequent backups of a large MySQL slave
We replicate our production MySQL databases (120 GB on production) to a dedicated local desktop machine. The local slave is a 2014-era machine with 8 GB of RAM. A full mysqldump of the databases on the...
View ArticleHow MySQL Group Replication get primary node ip address
According to MYSQL 5.7 Reference Manual : http://dev.mysql.com/doc/refman/5.7/en/group-replication-find-primary.html http://dev.mysql.com/doc/refman/5.7/en/group-replication-monitoring.html We can use...
View ArticleError from master error log while doing a replication to slave
I have setup a master and slave MySQL running 5.7.17 in Linux machines. Both servers have a unique UUID as specified in the auto.cnf file. Besides, the master server has server-id=10 while slave has...
View ArticleHow to switch master server and warm standby (with streaming replication) in...
I would like to know what is the way to switch the role of 2 servers when using warm standby? I have 2 servers : S_1 and S_2, and at a time T, S_1 is the master server and S_2 is a warm standby with...
View ArticleMySQL slave is continuously lagging behind master
I was given two fairly new servers and setup master and slave running MySQL 5.7.17, Linux RedHat 6. Both servers are using binlog_format=STATEMENT. I can't understand why my slave is processing so...
View Articlesnychronize multiple databases using database replication
As I show in the picture , I have three database servers (different town location) and client computers each one is running software. Database schema for those three servers are same. And now I have to...
View ArticleInsert into table select - Replication lag - Percona Server 5.6
I have two MySQL instances (Percona server 5.6.31) in Master-Slave replication setup. I have set the below configuration: ROW based replication is set. Transaction Isolation is set to read-committed....
View ArticleMongoDB to MySQL Replication Automatically
i have Mongodb server and mysql server. i want to use mongodb for "write" and mysql for "read". so i am looking for some tool or some process by which we can tranfer mongodb to mysql server on regular...
View Article