mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
Update RISKS section in all tools.
This commit is contained in:
23
bin/pt-align
23
bin/pt-align
@@ -99,22 +99,21 @@ then pt-align reprints the output as,
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-align is a read-only tool. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-align>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -6474,7 +6474,7 @@ pt-archiver - Archive rows from a MySQL table into another table or a file.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-archiver [OPTION...] --source DSN --where WHERE
|
Usage: pt-archiver [OPTIONS] --source DSN --where WHERE
|
||||||
|
|
||||||
pt-archiver nibbles records from a MySQL table. The --source and --dest
|
pt-archiver nibbles records from a MySQL table. The --source and --dest
|
||||||
arguments use DSN syntax; if COPY is yes, --dest defaults to the key's value
|
arguments use DSN syntax; if COPY is yes, --dest defaults to the key's value
|
||||||
@@ -6495,29 +6495,21 @@ Purge (delete) orphan rows from child table:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-archiver is a read-write tool. It deletes data from the source by default,
|
=over
|
||||||
so you should test your archiving jobs with the L<"--dry-run"> option if
|
|
||||||
you're not sure about them. It is designed to have as little impact on
|
|
||||||
production systems as possible, but tuning with L<"--limit">, L<"--txn-size">
|
|
||||||
and similar options might be a good idea too.
|
|
||||||
|
|
||||||
If you write or use L<"--plugin"> modules, you should ensure they are good
|
=item * Read the tool's documentation
|
||||||
quality and well-tested.
|
|
||||||
|
|
||||||
At the time of this release there is an unverified bug with
|
=item * Review the tool's known L<"BUGS">
|
||||||
L<"--bulk-insert"> that may cause data loss.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Test the tool on a non-production server
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-archiver>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -5248,22 +5248,21 @@ Diff the [mysqld] section of two option files:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-config-diff reads MySQL's configuration and examines it and is thus very
|
=over
|
||||||
low risk.
|
|
||||||
|
|
||||||
At the time of this release there are no known bugs that pose a serious risk.
|
=item * Read the tool's documentation
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-config-diff>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -4879,25 +4879,21 @@ Save deadlocks on host1 to percona_schema.fke on host2:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-deadlock-logger is a read-only tool unless you specify a L<"--dest"> table.
|
=over
|
||||||
In some cases polling SHOW INNODB STATUS too rapidly can cause extra load on the
|
|
||||||
server. If you're using it on a production server under very heavy load, you
|
|
||||||
might want to set L<"--interval"> to 30 seconds or more.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-deadlock-logger>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -4824,7 +4824,7 @@ pt-diskstats - An interactive I/O monitoring tool for GNU/Linux.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-diskstats [OPTION...] [FILES]
|
Usage: pt-diskstats [OPTIONS] [FILES]
|
||||||
|
|
||||||
pt-diskstats prints disk I/O statistics for GNU/Linux. It is somewhat similar
|
pt-diskstats prints disk I/O statistics for GNU/Linux. It is somewhat similar
|
||||||
to iostat, but it is interactive and more detailed. It can analyze samples
|
to iostat, but it is interactive and more detailed. It can analyze samples
|
||||||
@@ -4832,22 +4832,21 @@ gathered from another machine.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-diskstats simply reads F</proc/diskstats>. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-diskstats>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -5038,7 +5038,7 @@ pt-duplicate-key-checker - Find duplicate indexes and foreign keys on MySQL tabl
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-duplicate-key-checker [OPTION...] [DSN]
|
Usage: pt-duplicate-key-checker [OPTIONS] [DSN]
|
||||||
|
|
||||||
pt-duplicate-key-checker examines MySQL tables for duplicate or redundant
|
pt-duplicate-key-checker examines MySQL tables for duplicate or redundant
|
||||||
indexes and foreign keys. Connection options are read from MySQL option files.
|
indexes and foreign keys. Connection options are read from MySQL option files.
|
||||||
@@ -5047,23 +5047,21 @@ indexes and foreign keys. Connection options are read from MySQL option files.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-duplicate-key-checker is a read-only tool that executes SHOW CREATE TABLE and
|
=over
|
||||||
related queries to inspect table structures, and thus is very low-risk.
|
|
||||||
|
|
||||||
At the time of this release, there is an unconfirmed bug that causes the tool
|
=item * Read the tool's documentation
|
||||||
to crash.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-duplicate-key-checker>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -1380,24 +1380,21 @@ Read hugefile.txt in chunks of a million lines without physically splitting it:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-fifo-split creates and/or deletes the L<"--fifo"> file. Otherwise, no other
|
=over
|
||||||
files are modified, and it merely reads lines from the file given on the
|
|
||||||
command-line. It should be very low-risk.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-fifo-split>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
28
bin/pt-find
28
bin/pt-find
@@ -4175,7 +4175,7 @@ pt-find - Find MySQL tables and execute actions, like GNU find.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-find [OPTION...] [DATABASE...]
|
Usage: pt-find [OPTIONS] [DATABASES]
|
||||||
|
|
||||||
pt-find searches for MySQL tables and executes actions, like GNU find. The
|
pt-find searches for MySQL tables and executes actions, like GNU find. The
|
||||||
default action is to print the database and table name.
|
default action is to print the database and table name.
|
||||||
@@ -4213,25 +4213,21 @@ As above, but this time, insert the data back into the database for posterity:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-find only reads and prints information by default, but L<"--exec"> and
|
=over
|
||||||
L<"--exec-plus"> can execute user-defined SQL. You should be as careful with it
|
|
||||||
as you are with any command-line tool that can execute queries against your
|
|
||||||
database.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-find>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -1925,15 +1925,21 @@ Convert a file full of queries:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
The pt-fingerprint tool simply reads data and transforms it, so risks are
|
=over
|
||||||
minimal.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Read the tool's documentation
|
||||||
|
|
||||||
|
=item * Review the tool's known L<"BUGS">
|
||||||
|
|
||||||
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -4031,7 +4031,7 @@ pt-fk-error-logger - Log MySQL foreign key errors.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-fk-error-logger [OPTIONS] DSN
|
Usage: pt-fk-error-logger [OPTIONS] [DSN]
|
||||||
|
|
||||||
pt-fk-error-logger logs information about foreign key errors on the given
|
pt-fk-error-logger logs information about foreign key errors on the given
|
||||||
DSN. Information is printed to C<STDOUT>, and it can also be saved to a
|
DSN. Information is printed to C<STDOUT>, and it can also be saved to a
|
||||||
@@ -4052,23 +4052,21 @@ Save foreign key errors on host1 to percona_schema.fke on host2:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-fk-error-logger is read-only unless you specify L<"--dest">. It should be
|
=over
|
||||||
very low-risk.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-fk-error-logger>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -5417,23 +5417,21 @@ Check slave lag once and exit (using optional DSN to specify slave host):
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-heartbeat merely reads and writes a single record in a table. It should be
|
=over
|
||||||
very low-risk.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-heartbeat>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -6811,7 +6811,7 @@ pt-index-usage - Read queries from a log and analyze how they use indexes.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-index-usage [OPTION...] [FILE...]
|
Usage: pt-index-usage [OPTIONS] [FILES]
|
||||||
|
|
||||||
pt-index-usage reads queries from logs and analyzes how they use indexes.
|
pt-index-usage reads queries from logs and analyzes how they use indexes.
|
||||||
|
|
||||||
@@ -6825,24 +6825,21 @@ Disable reports and save results to percona database for later analysis:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
This tool is read-only unless you use L<"--save-results-database">. It reads a
|
=over
|
||||||
log of queries and EXPLAIN them. It also gathers information about all tables
|
|
||||||
in all databases. It should be very low-risk.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-index-usage>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -916,29 +916,21 @@ the result. If you specify a FILE, then step 1) is not performed.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-ioprofile is a read-only tool, so your data is not at risk. However, it works
|
=over
|
||||||
by attaching C<strace> to the process using C<ptrace()>, which will make it run
|
|
||||||
very slowly until C<strace> detaches. In addition to freezing the server, there
|
|
||||||
is also some risk of the process crashing or performing badly after C<strace>
|
|
||||||
detaches from it, or indeed of C<strace> not detaching cleanly and leaving the
|
|
||||||
process in a sleeping state. As a result, this should be considered an
|
|
||||||
intrusive tool, and should not be used on production servers unless you are
|
|
||||||
comfortable with that.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-ioprofile>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
25
bin/pt-kill
25
bin/pt-kill
@@ -7144,24 +7144,21 @@ See which queries in the processlist right now would match:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-kill kills queries if you use the L<"--kill"> option, so it can disrupt
|
=over
|
||||||
your database's users, of course. You should test with the <"--print"> option,
|
|
||||||
which is safe, if you're unsure what the tool will do.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-kill>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
23
bin/pt-mext
23
bin/pt-mext
@@ -161,22 +161,21 @@ Get output from a file:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-mext is a read-only tool. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-mext>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -2472,21 +2472,21 @@ well on any modern UNIX systems.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-mysql-summary is a read-only tool. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could harm users.
|
=item * Read the tool's documentation
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-mysql-summary>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
41
bin/pt-pmp
41
bin/pt-pmp
@@ -250,30 +250,21 @@ a process is waiting for.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-pmp is a read-only tool. However, collecting GDB stacktraces is achieved by
|
=over
|
||||||
attaching GDB to the program and printing stack traces from all threads. This
|
|
||||||
will freeze the program for some period of time, ranging from a second or so to
|
|
||||||
much longer on very busy systems with a lot of memory and many threads in the
|
|
||||||
program. In the tool's default usage as a MySQL profiling tool, this means that
|
|
||||||
MySQL will be unresponsive while the tool runs, although if you are using the
|
|
||||||
tool to diagnose an unresponsive server, there is really no reason not to do
|
|
||||||
this. In addition to freezing the server, there is also some risk of the server
|
|
||||||
crashing or performing badly after GDB detaches from it.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-pmp>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@@ -286,6 +277,16 @@ from each level of the stack, and combines them with commas. It does this
|
|||||||
for each thread in the output. Afterwards, it sorts similar threads together
|
for each thread in the output. Afterwards, it sorts similar threads together
|
||||||
and counts how many of each one there are, then sorts them most-frequent first.
|
and counts how many of each one there are, then sorts them most-frequent first.
|
||||||
|
|
||||||
|
pt-pmp is a read-only tool. However, collecting GDB stacktraces is achieved by
|
||||||
|
attaching GDB to the program and printing stack traces from all threads. This
|
||||||
|
will freeze the program for some period of time, ranging from a second or so to
|
||||||
|
much longer on very busy systems with a lot of memory and many threads in the
|
||||||
|
program. In the tool's default usage as a MySQL profiling tool, this means that
|
||||||
|
MySQL will be unresponsive while the tool runs, although if you are using the
|
||||||
|
tool to diagnose an unresponsive server, there is really no reason not to do
|
||||||
|
this. In addition to freezing the server, there is also some risk of the server
|
||||||
|
crashing or performing badly after GDB detaches from it.
|
||||||
|
|
||||||
=head1 OPTIONS
|
=head1 OPTIONS
|
||||||
|
|
||||||
Options must precede files on the command line.
|
Options must precede files on the command line.
|
||||||
|
@@ -8817,7 +8817,7 @@ pt-query-advisor - Analyze queries and advise on possible problems.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-query-advisor [OPTION...] [FILE]
|
Usage: pt-query-advisor [OPTIONS] [FILE]
|
||||||
|
|
||||||
pt-query-advisor analyzes queries and advises on possible problems. It can read
|
pt-query-advisor analyzes queries and advises on possible problems. It can read
|
||||||
queries from several types of log files, or you can use the --query or --review
|
queries from several types of log files, or you can use the --query or --review
|
||||||
@@ -8829,21 +8829,21 @@ To analyze all queries in a MySQL slow query log file:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-query-advisor simply reads queries and examines them, and is thus
|
=over
|
||||||
very low risk. At the time of this release we know of no issues that could harm
|
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Read the tool's documentation
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-query-advisor>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Review the tool's known L<"BUGS">
|
||||||
|
|
||||||
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -14210,29 +14210,21 @@ you don't need the default report:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
By default pt-query-digest merely collects and aggregates data from the files
|
=over
|
||||||
specified. It is designed to be as efficient as possible, but depending on the
|
|
||||||
input you give it, it can use a lot of CPU and memory. Practically speaking, it
|
|
||||||
is safe to run even on production systems, but you might want to monitor it
|
|
||||||
until you are satisfied that the input you give it does not cause undue load.
|
|
||||||
|
|
||||||
Various options will cause pt-query-digest to insert data into tables, execute
|
=item * Read the tool's documentation
|
||||||
SQL queries, and so on. These include the L<"--review"> option.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Review the tool's known L<"BUGS">
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Test the tool on a non-production server
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-query-digest>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -2028,23 +2028,21 @@ Examples:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-show-grants is read-only by default, and very low-risk. If you specify
|
=over
|
||||||
L<"--flush">, it will execute C<FLUSH PRIVILEGES>.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-show-grants>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
23
bin/pt-sift
23
bin/pt-sift
@@ -615,22 +615,21 @@ is given, the tool browses all pt-stalk files in it.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-sift is a read-only tool. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-sift>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -4225,7 +4225,7 @@ sub main {
|
|||||||
if ( $master_dbh ) {
|
if ( $master_dbh ) {
|
||||||
PTDEBUG && _d('Getting binlog pos from master');
|
PTDEBUG && _d('Getting binlog pos from master');
|
||||||
my $res = $master_dbh->selectrow_hashref("SHOW MASTER STATUS");
|
my $res = $master_dbh->selectrow_hashref("SHOW MASTER STATUS");
|
||||||
die "Binary logging is disabled on the MASTER-HOST"
|
die "Binary logging is disabled on the MASTER_DSN"
|
||||||
unless $res && %$res && $res->{file};
|
unless $res && %$res && $res->{file};
|
||||||
my $pos = $positions[-1];
|
my $pos = $positions[-1];
|
||||||
if ( !@positions || $pos->[$FILE] ne $res->{file}
|
if ( !@positions || $pos->[$FILE] ne $res->{file}
|
||||||
@@ -4396,11 +4396,11 @@ pt-slave-delay - Make a MySQL slave server lag behind its master.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-slave-delay [OPTION...] SLAVE-HOST [MASTER-HOST]
|
Usage: pt-slave-delay [OPTIONS] SLAVE_DSN [MASTER_DSN]
|
||||||
|
|
||||||
pt-slave-delay starts and stops a slave server as needed to make it lag
|
pt-slave-delay starts and stops a slave server as needed to make it lag
|
||||||
behind the master. The SLAVE-HOST and MASTER-HOST use DSN syntax, and
|
behind the master. The SLAVE_DSN and MASTER_DSN use DSN syntax, and
|
||||||
values are copied from the SLAVE-HOST to the MASTER-HOST if omitted.
|
values are copied from the SLAVE_DSN to the MASTER_DSN if omitted.
|
||||||
|
|
||||||
To hold slavehost one minute behind its master for ten minutes:
|
To hold slavehost one minute behind its master for ten minutes:
|
||||||
|
|
||||||
@@ -4408,24 +4408,21 @@ To hold slavehost one minute behind its master for ten minutes:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-slave-delay is generally very low-risk. It simply starts and stops the
|
=over
|
||||||
replication SQL thread. This might cause monitoring systems to think the slave
|
|
||||||
is having trouble.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-slave-delay>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@@ -4449,8 +4446,8 @@ daemonized. In this case, it exits. Therefore, if you think your slave might
|
|||||||
encounter this condition, you should be sure to either specify
|
encounter this condition, you should be sure to either specify
|
||||||
L<"--use-master"> explicitly when daemonizing, or don't specify L<"--ask-pass">.
|
L<"--use-master"> explicitly when daemonizing, or don't specify L<"--ask-pass">.
|
||||||
|
|
||||||
The SLAVE-HOST and optional MASTER-HOST are both DSNs. See L<"DSN OPTIONS">.
|
The SLAVE_DSN and optional MASTER_DSN are both DSNs. See L<"DSN OPTIONS">.
|
||||||
Missing MASTER-HOST values are filled in with values from SLAVE-HOST, so you
|
Missing MASTER_DSN values are filled in with values from SLAVE_DSN, so you
|
||||||
don't need to specify them in both places. C<pt-slave-delay> reads all normal
|
don't need to specify them in both places. C<pt-slave-delay> reads all normal
|
||||||
MySQL option files, such as ~/.my.cnf, so you may not need to specify username,
|
MySQL option files, such as ~/.my.cnf, so you may not need to specify username,
|
||||||
password and other common options at all.
|
password and other common options at all.
|
||||||
@@ -4617,14 +4614,14 @@ Socket file to use for connection.
|
|||||||
|
|
||||||
Get binlog positions from master, not slave. Don't trust the binlog positions
|
Get binlog positions from master, not slave. Don't trust the binlog positions
|
||||||
in the slave's relay log. Connect to the master and get binlog positions
|
in the slave's relay log. Connect to the master and get binlog positions
|
||||||
instead. If you specify this option without giving a MASTER-HOST on the command
|
instead. If you specify this option without giving a MASTER_DSN on the command
|
||||||
line, C<pt-slave-delay> examines the slave's SHOW SLAVE STATUS to determine the
|
line, C<pt-slave-delay> examines the slave's SHOW SLAVE STATUS to determine the
|
||||||
hostname and port for connecting to the master.
|
hostname and port for connecting to the master.
|
||||||
|
|
||||||
C<pt-slave-delay> uses only the MASTER_HOST and MASTER_PORT values from SHOW
|
C<pt-slave-delay> uses only the MASTER_HOST and MASTER_PORT values from SHOW
|
||||||
SLAVE STATUS for the master connection. It does not use the MASTER_USER
|
SLAVE STATUS for the master connection. It does not use the MASTER_USER
|
||||||
value. If you want to specify a different username for the master than the
|
value. If you want to specify a different username for the master than the
|
||||||
one you use to connect to the slave, you should specify the MASTER-HOST option
|
one you use to connect to the slave, you should specify the MASTER_DSN option
|
||||||
explicitly on the command line.
|
explicitly on the command line.
|
||||||
|
|
||||||
=item --user
|
=item --user
|
||||||
|
@@ -3925,7 +3925,7 @@ pt-slave-find - Find and print replication hierarchy tree of MySQL slaves.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-slave-find [OPTION...] MASTER-HOST
|
Usage: pt-slave-find [OPTIONS] [DSN]
|
||||||
|
|
||||||
pt-slave-find finds and prints a hierarchy tree of MySQL slaves.
|
pt-slave-find finds and prints a hierarchy tree of MySQL slaves.
|
||||||
|
|
||||||
@@ -3935,22 +3935,21 @@ Examples:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-slave-find is read-only and very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-slave-find>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -5175,22 +5175,21 @@ errors, and tries to restart replication if it stops.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-slave-restart is a brute-force way to try to keep a slave server running when
|
=over
|
||||||
it is having problems with replication. Don't be too hasty to use it unless you
|
|
||||||
need to. If you use this tool carelessly, you might miss the chance to really
|
|
||||||
solve the slave server's problems.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Read the tool's documentation
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-slave-restart>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Review the tool's known L<"BUGS">
|
||||||
|
|
||||||
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
26
bin/pt-stalk
26
bin/pt-stalk
@@ -1449,25 +1449,21 @@ collect data on demand without waiting for the trigger to occur.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-stalk is a read-write tool; it collects data from the system and writes it
|
=over
|
||||||
into a series of files. It should be very low-risk. Some of the options
|
|
||||||
can cause intrusive data collection to be performed, however, so if you enable
|
|
||||||
any non-default options, you should read their documentation carefully.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm
|
=item * Read the tool's documentation
|
||||||
to users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-stalk>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -2333,21 +2333,21 @@ Download and run:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-summary is a read-only tool. It should be very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could harm users.
|
=item * Read the tool's documentation
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-summary>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -10888,28 +10888,23 @@ different, you can resolve the problem with pt-table-sync.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-table-checksum can add load to the MySQL server, although it has many
|
=over
|
||||||
safeguards to prevent this. It inserts a small amount of data into a table that
|
|
||||||
contains checksum results. It has checks that, if disabled, can potentially
|
|
||||||
cause replication to fail when unsafe replication options are used. In short,
|
|
||||||
it is safe by default, but it permits you to turn off its safety checks.
|
|
||||||
|
|
||||||
The tool presumes that schemas and tables are identical on the master and
|
=item * Read the tool's documentation
|
||||||
all replicas. Replication will break if, for example, a replica does not
|
|
||||||
have a schema that exists on the master (and that schema is checksummed),
|
|
||||||
or if the structure of a table on a replica is different than on the master.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-table-checksum>.
|
|
||||||
|
|
||||||
See also L<"LIMITATIONS"> and L<"BUGS">.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
|
See also L<"LIMITATIONS">.
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@@ -11047,6 +11042,32 @@ can try something like the following:
|
|||||||
SET boundaries = COALESCE(CONCAT('id BETWEEN ', lower_boundary,
|
SET boundaries = COALESCE(CONCAT('id BETWEEN ', lower_boundary,
|
||||||
' AND ', upper_boundary), '1=1');
|
' AND ', upper_boundary), '1=1');
|
||||||
|
|
||||||
|
=head1 LIMITATIONS
|
||||||
|
|
||||||
|
=over
|
||||||
|
|
||||||
|
=item Replicas using row-based replication
|
||||||
|
|
||||||
|
pt-table-checksum requires statement-based replication, and it sets
|
||||||
|
C<binlog_format=STATEMENT> on the master, but due to a MySQL limitation
|
||||||
|
replicas do not honor this change. Therefore, checksums will not replicate
|
||||||
|
past any replicas using row-based replication that are masters for
|
||||||
|
further replicas.
|
||||||
|
|
||||||
|
The tool automatically checks the C<binlog_format> on all servers.
|
||||||
|
See L<"--[no]check-binlog-format"> .
|
||||||
|
|
||||||
|
(L<Bug 899415|https://bugs.launchpad.net/percona-toolkit/+bug/899415>)
|
||||||
|
|
||||||
|
=item Schema and table differences
|
||||||
|
|
||||||
|
The tool presumes that schemas and tables are identical on the master and
|
||||||
|
all replicas. Replication will break if, for example, a replica does not
|
||||||
|
have a schema that exists on the master (and that schema is checksummed),
|
||||||
|
or if the structure of a table on a replica is different than on the master.
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 Percona XtraDB Cluster
|
=head1 Percona XtraDB Cluster
|
||||||
|
|
||||||
pt-table-checksum works with Percona XtraDB Cluster (PXC) 5.5.28-23.7 and newer.
|
pt-table-checksum works with Percona XtraDB Cluster (PXC) 5.5.28-23.7 and newer.
|
||||||
@@ -12089,25 +12110,6 @@ of output.
|
|||||||
You need Perl, DBI, DBD::mysql, and some core packages that ought to be
|
You need Perl, DBI, DBD::mysql, and some core packages that ought to be
|
||||||
installed in any reasonably new version of Perl.
|
installed in any reasonably new version of Perl.
|
||||||
|
|
||||||
=head1 LIMITATIONS
|
|
||||||
|
|
||||||
=over
|
|
||||||
|
|
||||||
=item Replicas using row-based replication
|
|
||||||
|
|
||||||
pt-table-checksum requires statement-based replication, and it sets
|
|
||||||
C<binlog_format=STATEMENT> on the master, but due to a MySQL limitation
|
|
||||||
replicas do not honor this change. Therefore, checksums will not replicate
|
|
||||||
past any replicas using row-based replication that are masters for
|
|
||||||
further replicas.
|
|
||||||
|
|
||||||
The tool automatically checks the C<binlog_format> on all servers.
|
|
||||||
See L<"--[no]check-binlog-format"> .
|
|
||||||
|
|
||||||
(L<Bug 899415|https://bugs.launchpad.net/percona-toolkit/+bug/899415>)
|
|
||||||
|
|
||||||
=back
|
|
||||||
|
|
||||||
=head1 BUGS
|
=head1 BUGS
|
||||||
|
|
||||||
For a list of known bugs, see L<http://www.percona.com/bugs/pt-table-checksum>.
|
For a list of known bugs, see L<http://www.percona.com/bugs/pt-table-checksum>.
|
||||||
|
@@ -11288,19 +11288,19 @@ pt-table-sync - Synchronize MySQL table data efficiently.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-table-sync [OPTION...] DSN [DSN...]
|
Usage: pt-table-sync [OPTIONS] DSN [DSN]
|
||||||
|
|
||||||
pt-table-sync synchronizes data efficiently between MySQL tables.
|
pt-table-sync synchronizes data efficiently between MySQL tables.
|
||||||
|
|
||||||
This tool changes data, so for maximum safety, you should back up your data
|
This tool changes data, so for maximum safety, you should back up your data
|
||||||
before you use it. When synchronizing a server that is a replication slave with
|
before using it. When synchronizing a server that is a replication slave
|
||||||
the --replicate or --sync-to-master methods, it B<always> makes the changes on
|
with the L<"--replicate"> or L<"--sync-to-master"> methods, it B<always>
|
||||||
the replication master, B<never> the replication slave directly. This is in
|
makes the changes on the replication master, B<never> the replication slave
|
||||||
general the only safe way to bring a replica back in sync with its master;
|
directly. This is in general the only safe way to bring a replica back in
|
||||||
changes to the replica are usually the source of the problems in the first
|
sync with its master; changes to the replica are usually the source of the
|
||||||
place. However, the changes it makes on the master should be no-op changes that
|
problems in the first place. However, the changes it makes on the master
|
||||||
set the data to their current values, and actually affect only the replica.
|
should be no-op changes that set the data to their current values, and
|
||||||
Please read the detailed documentation that follows to learn more about this.
|
actually affect only the replica.
|
||||||
|
|
||||||
Sync db.tbl on host1 to host2:
|
Sync db.tbl on host1 to host2:
|
||||||
|
|
||||||
@@ -11337,41 +11337,23 @@ through replication and change master1's data:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
C<WARNING>: pt-table-sync changes data! Before using this tool, please:
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
With great power comes great responsibility! This tool changes data, so it is a
|
=over
|
||||||
good idea to back up your data. It is also very powerful, which means it is
|
|
||||||
very complex, so you should run it with the L<"--dry-run"> option to see what it
|
|
||||||
will do, until you're familiar with its operation. If you want to see which
|
|
||||||
rows are different, without changing any data, use L<"--print"> instead of
|
|
||||||
L<"--execute">.
|
|
||||||
|
|
||||||
Be careful when using pt-table-sync in any master-master setup. Master-master
|
=item * Read the tool's documentation
|
||||||
replication is inherently tricky, and it's easy to make mistakes. You need to
|
|
||||||
be sure you're using the tool correctly for master-master replication. See the
|
|
||||||
L<"SYNOPSIS"> for the overview of the correct usage.
|
|
||||||
|
|
||||||
Also be careful with tables that have foreign key constraints with C<ON DELETE>
|
=item * Review the tool's known L<"BUGS">
|
||||||
or C<ON UPDATE> definitions because these might cause unintended changes on the
|
|
||||||
child tables.
|
|
||||||
|
|
||||||
In general, this tool is best suited when your tables have a primary key or
|
=item * Test the tool on a non-production server
|
||||||
unique index. Although it can synchronize data in tables lacking a primary key
|
|
||||||
or unique index, it might be best to synchronize that data by another means.
|
|
||||||
|
|
||||||
At the time of this release, due to bugs in earlier versions of MySQL,
|
=item * Backup your production server and verify the backups
|
||||||
L<"--lock-and-rename"> is disabled in versions earlier than 5.5. Consider
|
|
||||||
using pt-online-schema-change instead.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
pt-table-sync is mature, proven in the real world, and well tested,
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
but if used improperly it can have adverse consequences. Always test
|
||||||
see a list of such issues at the following URL:
|
syncing first with L<"--dry-run"> and L<"--print">.
|
||||||
L<http://www.percona.com/bugs/pt-table-sync>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
@@ -11499,6 +11481,19 @@ The tool rewrites queries to C<DELETE> and C<REPLACE> in this case. This is
|
|||||||
automatically handled after the first index violation, so you don't have to
|
automatically handled after the first index violation, so you don't have to
|
||||||
worry about it.
|
worry about it.
|
||||||
|
|
||||||
|
Be careful when using pt-table-sync in any master-master setup. Master-master
|
||||||
|
replication is inherently tricky, and it's easy to make mistakes. You need to
|
||||||
|
be sure you're using the tool correctly for master-master replication. See the
|
||||||
|
L<"SYNOPSIS"> for the overview of the correct usage.
|
||||||
|
|
||||||
|
Also be careful with tables that have foreign key constraints with C<ON DELETE>
|
||||||
|
or C<ON UPDATE> definitions because these might cause unintended changes on the
|
||||||
|
child tables.
|
||||||
|
|
||||||
|
In general, this tool is best suited when your tables have a primary key or
|
||||||
|
unique index. Although it can synchronize data in tables lacking a primary key
|
||||||
|
or unique index, it might be best to synchronize that data by another means.
|
||||||
|
|
||||||
=head1 REPLICATION SAFETY
|
=head1 REPLICATION SAFETY
|
||||||
|
|
||||||
Synchronizing a replication master and slave safely is a non-trivial problem, in
|
Synchronizing a replication master and slave safely is a non-trivial problem, in
|
||||||
|
@@ -6975,18 +6975,21 @@ FILE is specified, it reads STDIN. It prints a report for each query.
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
pt-table-use is very low risk. By default, it simply reads queries from a log.
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
It executes C<EXPLAIN EXTENDED> if you specify the L<"--explain-extended">
|
but all database tools can pose a risk to the system and the database
|
||||||
option.
|
server. Before using this tool, please:
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could harm users.
|
=over
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Read the tool's documentation
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-table-usage>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Review the tool's known L<"BUGS">
|
||||||
|
|
||||||
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -13192,24 +13192,21 @@ Compare a single query, no slowlog needed:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-upgrade is a read-only tool that is meant to be used on non-production
|
=over
|
||||||
servers. It executes the SQL that you give it as input, which could cause
|
|
||||||
undesired load on a production server.
|
|
||||||
|
|
||||||
At the time of this release, there is a bug that causes the tool to crash,
|
=item * Read the tool's documentation
|
||||||
and a bug that causes a deadlock.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-upgrade>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -5216,7 +5216,7 @@ pt-variable-advisor - Analyze MySQL variables and advise on possible problems.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-variable-advisor [OPTION...] [DSN]
|
Usage: pt-variable-advisor [OPTIONS] [DSN]
|
||||||
|
|
||||||
pt-variable-advisor analyzes variables and advises on possible problems.
|
pt-variable-advisor analyzes variables and advises on possible problems.
|
||||||
|
|
||||||
@@ -5230,23 +5230,21 @@ Get SHOW VARIABLES output saved in vars.txt:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-variable-advisor reads MySQL's configuration and examines it and is thus
|
=over
|
||||||
very low risk.
|
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-variable-advisor>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
@@ -2483,7 +2483,7 @@ pt-visual-explain - Format EXPLAIN output as a tree.
|
|||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
Usage: pt-visual-explain [OPTION...] [FILE...]
|
Usage: pt-visual-explain [OPTIONS] [FILES]
|
||||||
|
|
||||||
pt-visual-explain transforms EXPLAIN output into a tree representation of
|
pt-visual-explain transforms EXPLAIN output into a tree representation of
|
||||||
the query plan. If FILE is given, input is read from the file(s). With no
|
the query plan. If FILE is given, input is read from the file(s). With no
|
||||||
@@ -2499,22 +2499,21 @@ Examples:
|
|||||||
|
|
||||||
=head1 RISKS
|
=head1 RISKS
|
||||||
|
|
||||||
The following section is included to inform users about the potential risks,
|
Percona Toolkit is mature, proven in the real world, and well tested,
|
||||||
whether known or unknown, of using this tool. The two main categories of risks
|
but all database tools can pose a risk to the system and the database
|
||||||
are those created by the nature of the tool (e.g. read-only tools vs. read-write
|
server. Before using this tool, please:
|
||||||
tools) and those created by bugs.
|
|
||||||
|
|
||||||
pt-visual-explain is read-only and very low-risk.
|
=over
|
||||||
|
|
||||||
At the time of this release, we know of no bugs that could cause serious harm to
|
=item * Read the tool's documentation
|
||||||
users.
|
|
||||||
|
|
||||||
The authoritative source for updated information is always the online issue
|
=item * Review the tool's known L<"BUGS">
|
||||||
tracking system. Issues that affect this tool will be marked as such. You can
|
|
||||||
see a list of such issues at the following URL:
|
|
||||||
L<http://www.percona.com/bugs/pt-visual-explain>.
|
|
||||||
|
|
||||||
See also L<"BUGS"> for more information on filing bugs and getting help.
|
=item * Test the tool on a non-production server
|
||||||
|
|
||||||
|
=item * Backup your production server and verify the backups
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user