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

Image may be NSFW.
Clik here to view.

Getting error while running copyFromLocal command to copy local folder to...

I am getting same error after formating node: COPYING could only be replicated to 0 nodes instead of minReplication (=1). There are 0 datanode(s) running and no node(s) are excluded in this operation...

View Article


How could I use binary log as relay log?

I has a full backup of MySQL, and binary logs from the time of starting full backup.Can I restore the data in another instance use replication like only start slave sql_thread; rather than mysql <...

View Article


Postgresql size of Slave is bigger than Master size

I have a Postgresql in master slave streaming replication. Master is located in four partitions (tablespaces). df -h on Master shows me Filesystem Size Used Avail Use% Mounted on *** /dev/md121 880G...

View Article

Wal segment still exists on master, but logs on slave and master say it's...

I'm trying to set up streaming replication on Postgresql 9.5 The master and slave are configured as below and WAL files are accumulating on the master. However, something is wrong as I get complaints...

View Article

Master to master MySQL 5.7 replication

Been trying to get my local machine and a digital ocean droplet's mysql databases to sync for the past 3 hours. I've followed every tutorial online and can't seem to get it to work. The only useful...

View Article


Replication Issue - Changing the replication-do-db filter

I have a server that someone has setup which are acting as a master on both database. Since they have been configured as both master on the same database, changes one on end has caused all sorts of...

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 have MASTER_DELAY on an Amazon RDS slave?

I want to set "MASTER_DELAY=86400" on an Amazon RDS slave (so my slave is 1 day behind my master). I know how to do this in a regular master/slave setup. I can't see that it is possible in RDS. Am I...

View Article


Schema based replication in Oracle using Data Guard

We have active-passive database replication in our system cluster, so passive db belongs to DR class of nodes. We're trying to design zero-downtime deployment so I went out with few ideas. Since we...

View Article


Unable to allocate new pages in table space “XXX” IBM DB2 SQL Replication

Product: IBM DB2 OS: Windows 2008 R2 I am trying to perform SQL replication on my database, I have created the capture tables, while I am trying to registering the tables I get the the [IBM][CLI...

View Article

Rows already DELETEd on MySQL slave; How to DELETE on master?

I have a handful of rows that exist in my MySQL master but not in my slave. Replication is running ok and these rows are unlikely to ever be referenced as it is a store-and-forget type of table....

View Article

merge replication too big

I have multiple handhelds which sync their data via merge replication. From time to time, new core data is imported on the server-database. For various reasons I keep the old data in the databse and...

View Article

Notifying postgres changes to java application

Problem I'm building a postgres database for a few hundred thousand products. I will set-up an index (Solr or maybe ElasticSearch) to improve query times for complex search queries. The point now is...

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

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


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

Image may be NSFW.
Clik here to view.

ReplicaSet MongoDB

I'am trying to create replcaSet in MongoDB and I'am facing a problem. This is what I did step by step: 1- I entered this command to create these repertories: mkdir \data\rs1 \data\rs2 \data\rs3 2- I...

View Article


Monitoring streaming replication

We're setting up streaming replication with one master and one (read-only) slave. We're now looking for a way to monitor the replication; mostly to verify that the slave server is still up-to-date. Is...

View Article

MySQL replication slave hangs after encountering SET @@SESSION.GTID_NEXT=...

I recently installed two identical default installations of MySQL 5.7 under Ubuntu Server 16.04, and configured them to do a binary log replication. Until now this has been working fine, but suddenly...

View Article

Idempotent PostgreSQL schema dump that can be applied to an existing DB

I'm looking for a way to replicate a PostgreSQL schema to a database which may already have some of it defined. I wonder if there's a simple way to produce DDL that is idempotent (i.e. that can be...

View Article
Browsing all 17268 articles
Browse latest View live


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