MySQL 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 ArticleIn what cases should I reduce oplog size?
MongoDB documentation provides When we might require higher oplog size. But does not specify opposite cases. Should I reduce it for improving write/read performance ? If disk space is not the issue...
View ArticleHow to real time replicate a SQL Server DB without primary keys defined
Is there a way to replicate a SQL Server database real time without primary keys defined? I understand we can't use the SQL transactional replication because of lacking primary keys. Is there any 3rd...
View ArticleNumber of pending changes to be replicated by PouchDB
My app uses PouchDB (and Ionic 1) to replicate it's data from a local DB to a server DB as soon as the network is available (through a live&retry replication). I would like to display on the screen...
View Articleweight of replication on SQL Server 2008 R2 instance
How can I see what impact replication is having on a server/instance, replication vs all other things.
View ArticleMongoDB 3.2 replica set with arbiter version 2.6
I have to set up a MongoDB replication set with 3 nodes, 1 of them arbiter. Authentication has to be enabled. Node1 and Node2 are fine. On the arbiter I have a 2.6 installation and it is arbiter for...
View Articlehow to avoid mysql replication slave change error?
my database structure is master1 <-----> master2 | | slave1 and I want to change my structure to master1 <-----> master2 | | slave1 my step is 1. master1 : stop slave; and write down the...
View Articledelete replication using script
im using sql server 2012 and replication process in it. now the replication process is working correctly, but i want to delete this replication, i mean all the publications, subscriptions and articles...
View ArticleData Replication From Master 9.3 to Slave 9.4
We have live setup like Master 9.3 & Slave 9.3 (Read Only) in the same network. Now I want to configure new Slave 9.4 on a different server/network with Continuous Replication. I tried pgbase...
View ArticleTransnational Replication not continuing after the subscriber Database Restart
My transnational replication is connected to 8 branches from a head office database. It is continuously running subscription from HO to Branch. But it is not continuing after if any branch database is...
View ArticleBy setting foreign_key_checks=0, will affect slave server
I have master server and its slave server. Now I want to delete multiple rows and it is referenced to another table. Now if I set foreign_key_checks=0, will slave server be in sync? Will it affect...
View ArticleGeneral thoughts on my MariaDB Master-Master setup (also upgrading procedure)
I've just setup MariaDB on Ubuntu VMs with Master-Master replication using a combination of these three guides: http://www.chriscouture.com/setting-up-replication-on-mariadb/...
View ArticleQuestion about a report
I have a table called tblMainData with the following fields: 1. PersonID 2. Surname 3. Name 4. Address 5. Four other fields containing some dates related to each Person (Date1, Date2, Date3, Date4) I...
View ArticleMaster-Master Replication failed on Ubuntu 16.04 VirtualBox Instance
I am working on an Ubuntu 16.04 VirtualBox instance on a Mac machine. I am working in MySQL version 5.7.16. I am trying to set up Master-Master replication between another Ubuntu 16.04 VirtualBox...
View ArticleRebuild indexes on replication server
I have 1 live server and 1 replication server, for reporting purpose we use the replication server and in replication server we have created index. So I want to know if I rebuild my index on...
View Articlemysql replication missed quite a lot SQL statement
I have set up a master/slave with mysql-5.1.73 The master's binlog format is "statement". The master and slave seemed running very well with slave status: Slave_IO_Running: Yes Slave_SQL_Running: Yes...
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 ArticleMetrics for monitoring master-slave replication
Is there some kind of query/view/table available in PostgreSQL that can reflect the actual status of a master-slave replication process? Perhaps the "degree" of sync between the nodes? The above is to...
View ArticleNotifiy when Cassandra replica receives a write
I would like to measure the time it takes for a write made on one replica to propagate to other geo-distributed replicas (for experimental purposes). Does Cassandra provide some mechanism to measure...
View ArticleCounting Week Data - Replicate, Transform and Percent Agreggation
I need to transform some data from a specific initial and end date to weekdays or days counting. https://i.stack.imgur.com/aBOSF.png to this https://i.stack.imgur.com/KqS3L.png Example: Code table...
View Article