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

MongoDB 3.2.10 Index rebuilding did not complete: 11000 E11000 duplicate key...

MongoDB 3.2.10 Getting the following error when adding a replica set as WiredTiger. This is sharded cluster ( 3 shards nodes ). 2 Shards replica sets created using wiredTiger storage so only 1 shard...

View Article


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


How to replicate a pimcore instance to another over network

I need to replicate from one read/write Pimcore instance to another Pimcore instance read-only. Is there a smarter way to achieve that than - replicating the database (master slave model) - "rsync"ing...

View Article

MS SQL Transactional Replication from Char(30) to Char(10)

Environment: •Publisher: Microsoft SQL Server 2008 R2 (SP2) - (X64) •Distributor: Microsoft SQL Server 2014 (SP2) (KB3171021) - (X64) •Subscriber: Microsoft SQL Server 2008 R2 (SP3-OD) (KB3144114) -...

View Article

How to use Custom Conflict resolution in Sql server Transnational Replication...

I am using SQL Server 2008 r2 and having one table(Account) which store totalamount and livebalance. I am planning to setup a new Database server and sync it using transactional replication with...

View Article


New Master-Master replication has stopped working

We're building a new MySQL server pair for high availability, and of course it's not like managing a single server. We're working with Ubuntu 14.04 LTS and MySQL 5.5.43 I had master-master replication...

View Article

Non-Replicating commands from (master) Mysql 5.5.40 to (slave) MariaDB 10.0.19

CRUD replicates just fine. But we noticed that DB structure altering commands such as ALTER TABLE and/or adding/updating columns to a table and even creating new ones do not replicate to the slave at...

View Article

MySQL Multi-source replication with triggers

I was setting up MySQL multisource replication for some dataanalysis purpose. I applied the replication filters on the slave to replicate only selected databases. The problem Im facing is now is, some...

View Article


PostgreSQL replication strategies

Right now we are using PostgreSQL 8.3 (on Linux) as a database backend to our Ruby on Rails web application. Considering that on PostgreSQL database we actively use row level blocking and PL/PGSQL,...

View Article


Unable to delete a SQL Server 2012 publication

I've set up a transactional replication for two databases, let's call them A & B. Replication for the database A worked just fine and I was able to delete it afterwards without any issues....

View Article

replication filtering replicate-rewrite and do-table Mysql 5.6 (innodb engine )

I have a master/slave replication setup based on statement based replication. On master database named DB1, I have 5 tables and I want to replicate only two table on slave's database named DB2. Also,...

View Article

Rebuild a mysql slave adding innodb_file_per_table without locking the master

I would like to rebuild a mysql slave, adding innodb_file_per_table to the configuration in order to reduce the disk space used (idbdata1 has grown a lot). I want to do it without locking the master's...

View Article

PHP MongoDB connection to replicationset

In the original situation, we had 3 web nodes (each in their own network segment) who connected to a single mongod instance. To add redundancy, we created a 3-node replset, with 1 node in each of the...

View Article


S3 Cross Region Replication - Reverse Replication

I currently have replication configured such that my S3 documents on us-east-1 are replicated to a bucket on us-west-2. In light of today's (gasp) AWS outage, I considered failing over to us-west-2...

View Article

How to create read replicas from multiple postgres databases into a single...

I'd like to preface this by saying I'm not a DBA, so sorry for any gaps in technical knowledge. I am working within a microservices architecture, where we have about a dozen or applications, each...

View Article


Replication between cloud hosted database and a local database

Initial : we have a server X which is publisher publishing x1 database to another server Y as subscriber to the database y1 . This is a continous replication Later : we are moving to a cloud hosted...

View Article

pymongo MongoClient connect to ReplicaSet

I adopted pymongo's MongoClient class to do connect to a replicaset which has three node, 1 primary 2 secondary. The code snippet as following: c = MongoClient([secondary1_hostname,...

View Article


MySQL - Force replication to statement for INSERT to a table to fire trigger...

We have a PROD DB which replicates into a slave DB using mixed replication. We want to add a trigger so that a row is added to our DW when a row is INSERTed into table_a (on master). The issue is that...

View Article

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

Replication with Global Transaction Identifiers across different MySQL versions

I have a master MySQL server running 5.0.67. Would it be possible to configure a GTIDs replication as a slave that runs 5.7.17 that connects to this master? I have tried the traditional binary log...

View Article
Browsing all 17268 articles
Browse latest View live


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