MySQL Table Checksum 1.1.6 enhances chunking, adds features and fixes bugs. The chunking functionality is where I continue to put most of my effort. This release’s behavior is incompatible with the last release, and it will probably change again in the future.
Thanks to everyone who has been helping me chase down bugs, including one user who sent me a major patch! It’s a great feeling to get a patch.
- The chunking functionality no longer guarantees chunks will be no larger than the specified size. Use
--chunksize-exactfor that. Note that the chunking functionality is still experimental and likely to change further.
- Chunking now works with multiple-column indexes.
--quietoption, useful for cron jobs with
--float-precisionoption; works around different floating-point formats.
--sleep-coefoption; sleeps a multiple of the time the last checksum took.
- Added error handling for tables that are dropped during checksumming.
- Added documentation on the finer points of
- There was a race condition between listing and checksumming tables.
- Perl’s auto-vivify hashes could cause all tables to be skipped after the first VIEW.
- Some DBIs did not consider ? inside a comment to be a placeholder.
- Systems that return nothing from CHECKSUM TABLE crashed mysql-table-checksum.
--askpassdid not print a newline after reading password.
- Different TIMESTAMP display formatting could cause spurious checksum differences.
- Checksumming by chunks did not work when the chunk column contained NULL.
--replicatedid not always work correctly with
About MySQL Toolkit
MySQL Toolkit is a set of essential tools for MySQL users, developers and administrators. The project’s goal is to make high-quality command-line tools that follow the UNIX philosophy of doing one thing and doing it well. They are designed for scriptability and ease of processing with standard command-line utilities such as