Percona announces the release of Percona Toolkit 3.0.4 on August 2, 2017.
Percona Toolkit is a collection of advanced command-line tools that perform a variety of MySQL and MongoDB server and system tasks too difficult or complex for DBAs to perform manually. Percona Toolkit, like all Percona software, is free and open source.
You download Percona Toolkit packages from the web site or install from official repositories.
This release includes the following changes:
New Features
pt-stalk when Performance Schema is enabled. For more information, see #1642750.
--preserve-triggers option for pt-online-schema-change to support AFTER triggers.
--output-format option for pt-mongodb-summary to choose between JSON format and the default plain text.
--output-format=csv pt-archiver to archive rows in CSV format.
--only-same-schema-fks pt-online-schema-change to check foreigns keys only on tables with the same schema as the original table. This should speed up the tool’s execution, but keep in mind that if you have foreign keys referencing tables in other schemas, they won’t be detected. For more information, see #1690122.
--check-unique-key-change pt-online-schema-change to abort if the specified statement for --alter is trying to add a unique index. This is supposed to avoid adding duplicate keys that might lead to silently losing data.
--truncate-replicate-tablept-table-checksum to ensure stale data is removed.Bug fixes
pt-table-checksum to support tables that have columns with different collations or charsets. For more information, see #1674266.
pt-archiver. For more information, see #1691630.
pt-online-schema- change. For more information, see #1491674.
--no-check-binlog-format pt-table-checksum to work as expected.
printf() for pt-online- schema-change. For more information, see #1693614.
pt-table-sync to prevent field type point to be taken as decimal.
--use-insert-ignore option from pt-online-schema-change.
--skip-check-slave-lag pt-table-checksum to safely check for undefined values.
--check-slave-lag option for pt-online-schema-change.
--skip-check-slave-lag pt-online-schema-change.
pt-online-schema-change.Other Improvements
pt-table-checksum.You can find release details in the release notes. Report bugs in Toolkit’s launchpad bug tracker.