Archive for the ‘multi-master’ Category
Webinar 5/17: MySQL High Availability Realized
Май 10th, 2012PlanetMySQL Voting: Vote UP / Vote DOWN
Replication stars
Ноябрь 4th, 2011 Fig 1. Master/Slave topology | Legend |
Fig 2. Fan-in slave, or multiple sources |
Fig 3. all-to-all three nodes | Fig 4. All-to-all four nodes |
Fig 5. All-masters star topology |
Fig 6. extending an all-to-all topology | Fig 7. Extending a star topology |
PlanetMySQL Voting: Vote UP / Vote DOWN
Quick recipes for database cluster building
Сентябрь 17th, 2011- Install a master / slave cluster
- Install a master slave directory with customized parameters
- Install more than one Tungsten Replicator in one host
- Install a direct slave with parallel replication
- Taking over replication from a MySQL slave in direct mode
- Install bi-directional replication
- Install bi-directional replication with additional slave
- Install a three masters replication
- Install a four masters replication
- Modify one or more properties with the installer
- Add one slave to an existing master
PlanetMySQL Voting: Vote UP / Vote DOWN
Multi-Site, Multi-Master MySQL Databases Made Easy with Tungsten — Webinar 9/22
Сентябрь 16th, 2011PlanetMySQL Voting: Vote UP / Vote DOWN
Making mk-table-checksum less intrusive
Август 8th, 2011About a month ago I needed to compare tens of thousands of tables in hundreds of databases between a few different servers. The obvious choice was, mk-table-checksum! The only problem was, that the tool needs to know the minimum and maximum value of the column by which each table is to be subdivided into chunks and checksummed. This select min(col), max(col) from table locks all write operations on the table and on a big table it meant downtime.
Looking at the source it was clear we could make mk-table-checksum run the select min(col), max(col) from table on the read-only slave and use the values to checksum the master.
It was subtle code changes in function:
get_range_statistics adding
my $cxn_string_dc = “DBI:mysql:;host=slavehost;port=3306;mysql_read_default_group=client”;
my $user = ‘user’;
my $pass = ‘password’;
my $dbh_slave = DBI->connect($cxn_string_dc, $user, $pass);
and changing $dbh connection to $dbh_slave in the rest of the function where the min,max values were being calculated.
Good luck and enjoy a much less intrusive checksumming on your masters.
Because sharing is caring
PlanetMySQL Voting: Vote UP / Vote DOWN
MySQL University session Oct 22: Dual Master Setups With MMM
Октябрь 22nd, 2009This Thursday (October 22nd, 13:00 UTC), Walter Heck (of Open Query) will present Dual Master Setups With MMM. MMM (Multi-Master Replication Manager for MySQL) is a set of flexible scripts to perform monitoring/failover and management of MySQL master-master replication configurations (with only one node writable at any time). Session slides (PDF).
The toolset also has the ability to read balance standard master/slave configurations with any number of slaves, so you can use it to move virtual IP addresses around a group of servers depending on whether they are behind in replication. For more
information, see mysql-mmm.org.
For MySQL University sessions you point your browser here. You need a browser with a working Flash plugin. You may register for a Dimdim account, but you don’t have to.
PlanetMySQL Voting: Vote UP / Vote DOWN