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


Image may be NSFW.
Clik here to view.

Splitting Snapshot files with MaxBCPThreads for Transactional Replication

I've just set up a publication, and I'm attempting to get the snapshot to apply faster. So far the Distribution Agent is respecting the MaxBCPThreads settings, but the Snapshot agent is not. I'm...

View Article


SQL Server Service Broker with DML triggers

What I want to do: Client database (C) is SQL Server 2008, has schema X My database (D) is PostgreSQL 9.1, has schema Y I want to transfer data from specific tables in C to D in near real time. My...

View Article

MySQL replication master port change

I have 4 servers running MySQL 5.6. A,B,C and D. A and B are Master and slave whose default port is 3306. C and D are running in non-default ports 3360. A and C are in Master-Master replication mode. C...

View Article

Check if Replication Enabled

What's the easiest way to check if replication is enabled in a SQL 2000, 2005, and 2008 compatible format? Don't need any status info...just to know if it's enabled for a DB. I need this because I want...

View Article


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

How do I synchronize rows in tables in remote databases?

I'm actually developing a synchronization tool in vb.net, I have two database that have on each table records field GUID, this field help to have the same PK on both database. On each record there is...

View Article

Which error codes are safe for `slave_skip_errors` with MySQL Innodb

Does anyone know which error codes are safe to ignore during replication, meaning the slave will remain consistent with the master? For example [mysqld]...

View Article


Image may be NSFW.
Clik here to view.

Download the replication snapshot file using FTPS

I have two databases for two companies. Company A's database contains domain data. The other company is pulling the data using snapshot replication. We have used FTP to communicate: Created FTP server...

View Article


mysql master slave replication issue: Slave has read all relay log

Hi I have set up master:slave replication as per this guide and set the connection to work over ssh using this guide. The connection port is set up correctly - if i enter this command: mysql -h...

View Article

How to mirror a replicated database

Forgive me if this question has already been asked - I've hunted around, but can't find something that matches my situation. Say I have my Principle server (DB1), with a database Mir1. I set up...

View Article

MySQL - Automatically Replicate structure-only from DB1 to DB2 on the same host?

I have two databases: - production - development Is there a way I could set a replication schema in order to replicate any structure changes from production to development? Preferably, structure only,...

View Article

How to configure multiple hot standbys in Postgres?

I currently have a postgres server setup with a hot standby. Is it possible to setup a second standby server? The purpose of this copy would be to provide real-time reporting off the database, not be a...

View Article


IO thread error : 1595 (Relay log write failure: could not queue event from...

Slave status : Last_IO_Errno: 1595 Last_IO_Error: Relay log write failure: could not queue event from master Last_SQL_Errno: 0 from error log : [ERROR] Slave I/O for channel 'db12': Unexpected master's...

View Article

IO thread error : 1595 (Relay log write failure: could not queue event from...

Slave status : Last_IO_Errno: 1595 Last_IO_Error: Relay log write failure: could not queue event from master Last_SQL_Errno: 0 from error log : [ERROR] Slave I/O for channel 'db12': Unexpected master's...

View Article


Pluggable Multi-Master Replication Support

I work on a web application that uses custom in-house key-value store. This web application also has custom in-house replication support which unfortunately has a lot of room for improvement and does...

View Article

SQL Server 2008R2 - how to install replication components

I am trying to install the Replication components for SQL Server 2008R2, on technet website it says: On the computer that is running IIS, insert the SQL Server 2008 R2, SQL Server 2008, or SQL Server...

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

wsrep_sst_xtrabackup socat starts and stops right away

What I have done: I have restarted mysql on the JOINERNODE to apply some database settings including increasing the back_log and query_cache_size settings. What I am seeing: When I start mysql on the...

View Article

SQL Server: Exporting data objects While exporting Database.

Say I want to copy a database from one place to another. I can use, e.g. Insert * From DB1 Into DB2 Where DB2 is the target database. Question: will this insert query also copy all the data objects:...

View Article
Browsing all 17268 articles
Browse latest View live


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