Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion MySQL Master-Master Replication Delays
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
amir ali  
View profile  
 More options Nov 2 2012, 1:20 pm
From: amir ali <newbornmy...@gmail.com>
Date: Fri, 2 Nov 2012 22:20:50 +0500
Local: Fri, Nov 2 2012 1:20 pm
Subject: MySQL Master-Master Replication Delays

Hello,

I am running master-master bidirectional replication (active-active)
topology.
Master 1 has server_id 1 while Master 2 has server_id 2 and remaining
config parameters are same as below.

replicate-same-server-id=0
slave-compressed-protocol=1
log-slave-updates

Issue is i noticed huge replication delay on Master1 when replicating from
Master2.
One of my cronjob inserted million of rows around 4 million (3GB binlog
size) on Master1 and all data get replicated to Master2 OK.
In between my app inserted some data on Master 2 which is not viisible on
Master1 when i checked slave status on Master1 i noticed huge replication
delay.
Master1 scanning the logs of Master2 for the data which is already inserted
on Master1 via cronjob. i.e. my assumption is when Master1 notice it's own
server_id on Master2 binlog it should skip all binlog event with Master1
server_id (server_id = 1) quickly. But somehow it's traversing Master2
binlog event one by one and to me it look likes it will traverse all events
of Master2 binlog.
I thought Master1 should only scan Master2 binlog events which has written
with Master2 server_id i.e. with server_id = 2.
My question is traversing every binlog event despite of server_id is
normally or i hit some kind of bug.

Both of the MySQL server's has version MySQL 5.1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.