Mydumper 0.2.2 has been released today with a number of fixes and new features. The one that most people have been asking for is consistent snapshots for non-InnoDB tables (such as MyISAM). We have been able to achieve this without locking the database for the entire backup using the following method:
- Flush tables with read lock (and start transaction with consistent snapshot on all threads)
- Dump non-InnoDB
- Start InnoDB dump
- When non-InnoDB dump has finished (whilst InnoDB is dumping) unlock tables
- …
- Profit
I have also started work on Drizzle support this week. The Drizzle support is not entirely complete mostly down to Drizzle’s handling of SHOW TABLE STATUS and …
[Read more]