MySQL Forums
Forum List  »  Router & Proxy

Re: Use Case: Distribute INSERTS/UPDATES to several masters
Posted by: Thamabara Basavaiah
Date: March 15, 2008 05:54AM

Hi Jan,
The idea is actually good.But if one master goes down how do you figure out which bin log file and position to set on all the slaves.If we have same configuration for
both the masters will the binlog files will exactly be same?If that is the case then
no wories the down time will be not even 10 mins.

Hi Patric,
The option you gave will have some pitfalls.Consider suppose two transactions are happening t1 and t2,t1 is sent to M1 ,t2 is sent to M2(which is master to the slaves).The moment after proxy sent the queries M2 crashed without executing the t2.proxy doesn't know anything,but t2 update is gone.In your case also downtime will
be there.The only thing is if M1 fails,then there will not be any down time but this is not our requirement.The purpose of M1 itself is backup for M2.


Thanks
Basu

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Use Case: Distribute INSERTS/UPDATES to several masters
2284
March 15, 2008 05:54AM


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.