MySQL Forums
Forum List  »  Replication

Re: How to best handle a Replication collision.
Posted by: Irfan Ali
Date: August 19, 2012 04:37PM

>> I also agree that removing the autoincrement might resolve the problem, but then I would end up with double-posting in that table on the slave.

Removing auto_increment column from TABLE B will not end up double entry on slave because on master it's only writing auto_increment id for TABLE B in binary log not the entire query for TABLE B.

You can examine master binary log to confirm. I still believe removing auto_increment column from TABLE B will resolve the issue.

Or you can reproduce the issue on test table to confirm.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to best handle a Replication collision.
1117
August 19, 2012 04:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.