Syncing/Streaming MySQL Table/Tables(Joined Tables) with PostgreSQL Table/Tables
I am having one MySQL Server and one PostgreSQL server. Need to replicate or re-insert set of data from multiples tables of MySQL to be Streamed/Synced to the PostgreSQL table. This replication can be...
View ArticleMySQL 5.1.66 SSL connection error ERROR 2026 (HY000)
UPDATE2 Using WireShark I found out the problem string (I hope I did): 28 | 9.582638 | 192.168.18.128 | 192.168.18.129 | MySQL Response Error 1043 And the error is (according to docs): Error: 1043...
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 ArticleIs it possible to do Postgresql writable slave?
Is it possible to do writable slave in postgresql master-slave replication model? Db contains just one unindexed table. I managed to achieve it with BDR master-master replication, but it eventually...
View ArticleBi-directional replication for the same MySQL table
AppA stores/retrieves data from dbA.tableA AppB stores/retrieves data from dbB.tableA tableA definition is the same across these databases. To start with dbB.tableA was copied from dbA.tableA...
View ArticleHow 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 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 ArticleMysql Multiple offline databases
I have a web application that runs on an a main server. The same application also runs on multiple offline servers. These offline servers are not technically offline all the times but the internet...
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 ArticleCassandra - Setup replication on 2 physcial machines
I want to setup Replication on two systems. So, need suggestions for the same . I have following doubts :- 1) Is it possible to setup replication on two physical machines ? 2) If Yes, What should be...
View ArticleIgnoring specified tables on replication master
I need to make a master-slave replication for some joomla portals. However, high traffic means that a lot of inserts, deletes and updates happen on the %_session tables, something that isn't really...
View ArticlemongoDB set name does not match
I have got 3 mongod demo replicates servers running on my machine. I have used following command to create replicated server: F:\>mongod --replSet test2 --dbpath 2 --port 27112 --oplogSize 50...
View ArticleSlave Waiting to reconnect
I have added new slave host to master for replication, but missing some of the parameters. mysql> show slave status\G *************************** 1. row *************************** Slave_IO_State:...
View ArticleStart up replication after AlwaysOn failover
I have a 4 node AlwaysOn configuration with 2 nodes at the main site, 2 at the DR site and a FSW. The 2 main site nodes are configured for Automatic/Synchronous fail-over, the 2 DR nodes are...
View ArticleCan I read only from a MariaDB database replicated via DRBD?
My idea is to create 2 VMs, add a secondary disk (let's say /dev/sdb) and create a DRBD resource there, to sync across those 2 VMs. Then I will move the MariaDB data folder here (e.g. /mysqldata...
View ArticleFiltering SQL Server transactional replication
I have a transactional replication publication which is filtered by rows. When the subscription was initialized, Record A did not insert to the subscriber because it did not meet the filter condition...
View ArticleServer and Client type Subscriptions
What is Server and Client type subscriptions in Merge Replication? How to select one of these during merge replication setup?
View ArticlePercona XtraDB Cluster/MariaDB Galera Cluster - replication suddenly stops...
We are trying to populate an empty Galera cluster using myloader. We use the latest version of myloader from repo trunk, the command is as follows: /root/mydumper/myloader -d...
View ArticleWhat kind of MySQL replication?
I'm working on an ERP project for an educational institution. They have two branch offices and we need to keep records not only for customers, but also class calendars, class reservations for...
View ArticleRemove Column From Replicated Article without re-snapshoting in 2008r2
I've inherited an undocumented 2008r2 Transactional Replication set-up. There are close to 500GB of replicated articles with lots of hidden gotchas such as Indexed views being replicated to Tables....
View Article