Listening to the OurSQL podcast: Repli-cans and Repli-can’ts got me thinking,
what are the issues with MySQL replication that Sarah
and Sheeri didn’t have the time to include in their
episode. Here’s my list:
Replication Capacity Index This is a concept introduced by
Percona in last year’s post: Estimating Replication Capacity which I
revisited briefly during my presentation at this year’s MySQL Users
Conference. Why is this important? Very …
Showing entries 1 to 2
May
05
2011
Sep
22
2010
While working on a deployment we came across a nasty surprise. In
hindsight it was avoidable, but it never crossed our minds it
could happen. I'll share the experience so when you face a
similar situation, you'll know what to expect.
ScenarioTo deploy the changes, we used a pair of servers
configured to replicate with each other (master-master
replication). There are many articles that describe how to
perform an ALTER TABLE with minimum or no downtime using MySQL
replication. The simple explanation is:
- Set up a passive master of the database you want to modify the schema.
- Run the schema updates on the passive master.
- Let replication to catch up once the schema modifications are done.
- Promote the passive master as the new active master.
The details to make this work will depend on each individual situation and are too extensive for the purpose of this article. A …
[Read more]
Showing entries 1 to 2