mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-05-17 01:01:27 +08:00
01daf0030e945a825729bbea065c08c8493383db
In the case we are trying to migrate a table with no PK nor an unique key, pt-archiver was failing to select the correct rows for deletion. This fix implemented here is to add ALL columns in the WHERE clause of the DELETE command. This way, we are deleting only the exact same row we just migrated but using columns instead of an index.
Percona Toolkit =============== Percona Toolkit is a collection of advanced command-line tools used by Percona (http://www.percona.com/) support staff to perform a variety of MySQL and system tasks that are too difficult or complex to perform manually. These tools are ideal alternatives to private or "one-off" scripts because they are professionally developed, formally tested, and fully documented. They are also fully self-contained, so installation is quick and easy and no libraries are installed. Percona Toolkit is developed and supported by Percona Inc. For more information and other free, open-source software developed by Percona, visit http://www.percona.com/software/. Installing ---------- To install all tools, run: perl Makefile.PL make make test make install You probably need to be root to `make install'. On most systems, the tools are installed in /usr/local/bin. See the INSTALL file for more information. Documentation ------------- Run `man percona-toolkit' to see a list of installed tools, then `man tool' to read the embedded documentation for a specific tool. You can also read the documentation online at http://www.percona.com/software/percona-toolkit/.
Description
Languages
Perl
85.3%
Shell
7.3%
Go
5.9%
JavaScript
0.7%
CSS
0.5%
Other
0.1%