|
|||||||||||
|
RE: how to make replication without taking master down
From: Rick James <rjames(at)yahoo-inc.com>
Date: Thu Jul 19 2007 - 14:47:43 EDT
Getting a consistent snapshot while writes are occurring is essentially unsolved with Mysql out-of-the-box. There _may_ be third party packages can do it. They would probably grab all the rows (without locking), meanwhile watching for updates. It is complicated. For minimal downtime in the future, consider dual-master, single-writer. With such, you can flip between them reasonably fast, and you can take the non-writing one offline for maintenance, upgrades, etc. If you have heavy read traffic, add pure slaves off each of them. Regardless, you cannot achieve sub-second downtime in all situations; sub-minute is usually achievable. But then, you are vulnerable to power failures (including the UPS catching on fire), earthquakes, controller failures (SPOF in RAID systems), switcher failure, network outages, etc. Plus the need to reboot virtually anything for an upgrade -- think switch. > -----Original Message----- -- MySQL Replication Mailing List For list archives: http://lists.mysql.com/replication To unsubscribe: http://lists.mysql.com/replication?unsub=lists@pantek.comReceived on Thu Jul 19 14:48:04 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:30:25 EDT |
||||||||||
|
|||||||||||