Quantcast
Channel: StackExchange Replication Questions
Browsing all 17268 articles
Browse latest View live
↧

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 Article


In 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 Article


How 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 Article

Number 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 Article

weight 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 Article


MongoDB 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 Article

how 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 Article

Image may be NSFW.
Clik here to view.

delete 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 Article


Data 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 Article


Transnational 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 Article

By 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 Article

General 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 Article

Question 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 Article


Master-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 Article

Rebuild 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 Article


mysql 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 Article

PostgreSQL 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 Article


Metrics 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 Article

Notifiy 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 Article

Counting 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
Browsing all 17268 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>