- 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 I expect to have it fully working next week.
Here is the list of changes since 0.2.1:
- Consistent snapshots for non-InnoDB (non-transactional) tables
- Fix --binlogs breaking consistent snapshots
- (very) Minor performance improvement to mydumper
- Initial support for Drizzle
- Add --verbose option
- Fix multiple ';' at end of file
- Fix myloader not closing files
- Improve myloader error messages
- Several fixes to documentation building
- Make myloader tell mysqld to not binlog imports by default (new option --enable-binlog to log them)
- Add --database to myloader for single database import to a different database
- Change mydumper's --schemas to --no-schemas (--schemas is now default)
- Add verbose messages (with --verbose=3)
- Fix memory leaks in myloader
You can download mydumper 0.2.2 from Launchpad or by clicking here.
Many thanks to everyone who has been testing mydumper and giving feedback. Your comments and suggestions go a long way to improving mydumper.
[...] View full post on Planet Drizzle [...]
ReplyDelete