Compare commits

..

8 Commits

Author SHA1 Message Date
Carlos Salguero
3b52114e93 Fixed release date in changelog 2022-12-02 09:38:56 -03:00
Dario Minnucci
7e5c51d0fb Fix some spelling errors (#462)
Co-authored-by: Sveta Smirnova <svetasmirnova@users.noreply.github.com>
2022-12-01 15:54:24 +03:00
Anastasia Alexandrova
e8977042d4 Updated docs templates (#565) 2022-12-01 13:20:19 +01:00
Carlos Salguero
ed030fa3fb PT-2128 Updated version to 3.5.0 (#562) 2022-12-01 14:32:08 +03:00
Carlos Salguero
882d8787c7 Release 3.5.0 (#563)
* Changelog and version for Release 3.5.0

* PT-2076 add rhel9 dependency

* PT-2128 Updated version to 3.5.0

Co-authored-by: svetasmirnova <sveta.smirnova@percona.com>
Co-authored-by: EvgeniyPatlan <evgeniy.patlan@percona.com>
2022-12-01 14:31:46 +03:00
Kazuya Yokogawa
bc3056f29d PT-2110 - Fixed PTDEBUG output with --ignore-engines option (#555) 2022-11-30 14:51:49 +03:00
Anastasia Alexandrova
c9bf980ef5 PT-2117 Updated the version in docs (#564)
modified:   config/sphinx-build/conf.py
	modified:   docs/percona-toolkit.pod
2022-11-29 15:32:00 +01:00
Anastasia Alexandrova
b737f2cf9e PT-2117 Release notes 3.5.0 (#560)
Added release notes
Updated index
2022-11-28 14:58:06 +01:00
19 changed files with 126 additions and 33 deletions

View File

@@ -1,5 +1,7 @@
Changelog for Percona Toolkit
v3.5.0 release 2022-11-28
* Improvement PT-1052: Include NUMA information in pt-tool output
* Improvement PT-1926: pt-k8s-debug-collector should not collect passwords
* Improvement PT-2033: Avoid running same query concurrently from pt-stalk

View File

@@ -3240,10 +3240,10 @@ sub _d {
# ###########################################################################
# SchemaIterator package
# This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at,
# with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm
# t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information.
# See https://github.com/percona/percona-toolkit for more information.
# ###########################################################################
{
package SchemaIterator;
@@ -3648,7 +3648,7 @@ sub engine_is_allowed {
my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) {
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
return 0;
}

View File

@@ -4022,10 +4022,10 @@ sub _d {
# ###########################################################################
# SchemaIterator package
# This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at,
# with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm
# t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information.
# See https://github.com/percona/percona-toolkit for more information.
# ###########################################################################
{
package SchemaIterator;
@@ -4430,7 +4430,7 @@ sub engine_is_allowed {
my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) {
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
return 0;
}

View File

@@ -7874,7 +7874,7 @@ type: DSN
Store each query killed in this DSN.
The argument specifies a table to store all killed queries. The DSN
passed in must have the databse (D) and table (t) options. The
passed in must have the database (D) and table (t) options. The
table must have at least the following columns. You can add more columns for
your own special purposes, but they won't be used by pt-kill. The
following CREATE TABLE definition is also used for L<"--create-log-table">.

View File

@@ -12073,7 +12073,7 @@ C<wsrep_OSU_method> is not C<TOI>. There is no way to disable these checks.
=head1 MySQL 5.7 + Generated columns
The tools ignores MySQL 5.7+ C<GENERATED> columns since the value for those columns
is generated according to the expresion used to compute column values.
is generated according to the expression used to compute column values.
=head1 OUTPUT

0
bin/pt-query-digest Executable file → Normal file
View File

View File

@@ -2223,7 +2223,7 @@ report_system_summary () { local PTFUNCNAME=report_system_summary;
name_val "${disk}" "${scheduler:-"UNREADABLE"}"
done
section "Disk Partioning"
section "Disk Partitioning"
parse_fdisk "$data_dir/partitioning"
section "Kernel Inode State"
@@ -2516,7 +2516,7 @@ C<df>. This section is skipped if you disable L<"--summarize-mounts">.
The disk scheduler information is extracted from the F</sys> filesystem in
Linux.
# Disk Partioning ############################################
# Disk Partitioning ######################################
Device Type Start End Size
============ ==== ========== ========== ==================
/dev/sda Disk 17179869184

12
bin/pt-table-checksum Executable file → Normal file
View File

@@ -7566,10 +7566,10 @@ sub _d {
# ###########################################################################
# SchemaIterator package
# This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at,
# with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm
# t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information.
# See https://github.com/percona/percona-toolkit for more information.
# ###########################################################################
{
package SchemaIterator;
@@ -7974,7 +7974,7 @@ sub engine_is_allowed {
my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) {
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
return 0;
}
@@ -11492,7 +11492,7 @@ sub main {
TABLE:
while ( $oktorun && $have_time->() && (my $tbl = $schema_iter->next()) ) {
eval {
# Results, stats, and info related to checksuming this table can
# Results, stats, and info related to checksumming this table can
# be saved here. print_checksum_results() uses this info.
$tbl->{checksum_results} = {};
@@ -13105,7 +13105,7 @@ type: string
Channel name used when connected to a server using replication channels.
Suppose you have two masters, master_a at port 12345, master_b at port 1236 and
a slave connected to both masters using channels chan_master_a and chan_master_b.
If you want to run pt-table-sync to syncronize the slave against master_a, pt-table-sync
If you want to run pt-table-sync to synchronize the slave against master_a, pt-table-sync
won't be able to determine what's the correct master since SHOW SLAVE STATUS
will return 2 rows. In this case, you can use --channel=chan_master_a to specify
the channel name to use in the SHOW SLAVE STATUS command.
@@ -13123,7 +13123,7 @@ See "Replicas using row-based replication" under L<"LIMITATIONS">.
This option modifies the behavior of L<"--create-replicate-table"> such that the
replicate table's upper and lower boundary columns are created with the BLOB
data type.
This is useful in cases where you have trouble checksuming tables with keys that
This is useful in cases where you have trouble checksumming tables with keys that
include a binary data type or that have non-standard character sets.
See L<"--replicate">.

View File

@@ -7666,10 +7666,10 @@ sub _d {
# ###########################################################################
# SchemaIterator package
# This package is a copy without comments from the original. The original
# with comments and its test file can be found in the Bazaar repository at,
# with comments and its test file can be found in the GitHub repository at,
# lib/SchemaIterator.pm
# t/lib/SchemaIterator.t
# See https://launchpad.net/percona-toolkit for more information.
# See https://github.com/percona/percona-toolkit for more information.
# ###########################################################################
{
package SchemaIterator;
@@ -8074,7 +8074,7 @@ sub engine_is_allowed {
my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) {
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
return 0;
}
@@ -12199,7 +12199,7 @@ type: string
Channel name used when connected to a server using replication channels.
Suppose you have two masters, master_a at port 12345, master_b at port 1236 and
a slave connected to both masters using channels chan_master_a and chan_master_b.
If you want to run pt-table-sync to syncronize the slave against master_a, pt-table-sync
If you want to run pt-table-sync to synchronize the slave against master_a, pt-table-sync
won't be able to determine what's the correct master since SHOW SLAVE STATUS
will return 2 rows. In this case, you can use --channel=chan_master_a to specify
the channel name to use in the SHOW SLAVE STATUS command.

View File

@@ -10697,7 +10697,7 @@ on the new version of MySQL.
pt-upgrade executes queries from slow, general, binary, tcpdump, and
"raw" logs on two servers, compares many aspects of each query's exeuction
and results, and reports any signficant differences. The two servers are
and results, and reports any significant differences. The two servers are
typically development servers, one running the current production version
of MySQL and the other running the new version of MySQL.
@@ -10785,7 +10785,7 @@ network intensive. It executes queries as fast as possible.
=head1 QUERY DIFFERENCES
Signficant query differences are determined by comparing these aspects
Significant query differences are determined by comparing these aspects
of each query from both hosts:
=over
@@ -11137,7 +11137,7 @@ should be printed, in percentage, seconds, or number of iterations.
default: yes
Execute only C<SELECT> and C<SET> statements. If C<--no-read-only> is
specified, I<all> queries are exeucted: C<DROP>, C<DELETE>, C<UPDATE>, etc.
specified, I<all> queries are executed: C<DROP>, C<DELETE>, C<UPDATE>, etc.
Even when running in default read-only mode, you should use a MySQL user
with only C<SELECT> privileges to insure against bugs in the tool.

Binary file not shown.

View File

@@ -3,7 +3,7 @@
<article class="md-content__inner md-typeset" role="main">
<h4>Contact Us </h4>
<p>For free technical help, visit the Percona <a class="reference external" href="https://forums.percona.com/c/mongodb/percona-server-for-mongodb/17?utm_campaign=Doc%20pages" target="_blank">Community Forum</a>.<br>
<p>To report bugs or submit feature requests, open a <a class="reference external" href="https://jira.percona.com/projects/PSMDB/issues/" target="_blank">JIRA</a> ticket.<br>
<p>To report bugs or submit feature requests, open a <a class="reference external" href="https://jira.percona.com/projects/PT/issues/" target="_blank">JIRA</a> ticket.<br>
<p>For paid <a class="reference external" href="https://www.percona.com/services/support"> support </a> and <a class="reference external" href="https://www.percona.com/services/managed-services"> managed </a> or <a class="reference external" href="https://www.percona.com/services/consulting">consulting services </a>, contact <a class="reference external" href="https://www.percona.com/about-percona/contact" target="_blank">Percona Sales</a>.</p>
<hr>
{# Add the last updated timestamp from git commits using gitstamp extension #}

View File

@@ -10,8 +10,8 @@ html_sidebars['**']=['globaltoc.html', 'searchbox.html', 'localtoc.html', 'logo-
html_theme = 'sphinx_material'
html_theme_options = {
'base_url': 'http://bashtage.github.io/sphinx-material/',
'repo_url': 'https://github.com/percona/percona-server',
'repo_name': 'percona/percona-server',
'repo_url': 'https://github.com/percona/percona-toolkit',
'repo_name': 'percona/percona-toolkit',
'color_accent': 'grey',
'color_primary': 'orange',
'globaltoc_collapse': True,

View File

@@ -48,9 +48,9 @@ copyright = u'2022, Percona LLC and/or its affiliates'
# built documents.
#
# The short X.Y version.
version = '3.4'
version = '3.5'
# The full version, including alpha/beta/rc tags.
release = '3.4.0'
release = '3.5.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View File

@@ -86,6 +86,14 @@ Kill MySQL queries that match certain criteria.
Look at many samples of MySQL C<SHOW GLOBAL STATUS> side-by-side.
=item pt-mongodb-index-check
Performs checks on MongoDB indexes
=item pt-mongodb-query-digest
Reports query usage statistics by aggregating queries from MongoDB query profiler
=item pt-mysql-summary
Summarize MySQL information nicely.
@@ -567,6 +575,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA.
=head1 VERSION
Percona Toolkit v3.4.0 released 2022-04-05
Percona Toolkit v3.5.0 released 2022-11-28
=cut

View File

@@ -19,6 +19,7 @@ Check for indexes that are the prefix of other indexes. For example if we have t
db.getSiblingDB("testdb").test_col.createIndex({"f1": 1, "f2": -1, "f3": 1, "f4": 1}, {"name": "idx_01"});
db.getSiblingDB("testdb").test_col.createIndex({"f1": 1, "f2": -1, "f3": 1}, {"name": "idx_02"});
The index ``idx_02`` is the prefix of ``idx_01`` because it has the same
keys in the same order so, ``idx_02`` can be dropped.
@@ -66,3 +67,4 @@ Available flags
+----------------------------+----------------------------------------+
| json | Show output as JSON |
+----------------------------+----------------------------------------+

View File

@@ -1,6 +1,46 @@
Percona Toolkit
***************
v3.5.0 released 2022-11-28
==============================
New Features
------------
* :jirabug:`PT-191`: add SSL options to DSN field for pt-online-schema-change
Improvements
------------------------------------------------------------
* :jirabug:`PT-1718`: Have pt-stalk collect performance_schema.threads along with information_schema.processlist
* :jirabug:`PT-2033`: Avoid running same query concurrently from pt-stalk
* :jirabug:`PT-2013`: Change Percona Toolkit tool names to eliminate offensive terminology
Bugs Fixed
------------
* :jirabug:`PT-1926`: pt-k8s-debug-collector should not collect passwords
* :jirabug:`PT-1628`: pt-mysql-summary checks installed mysqld binary which may not be the version in memory
* :jirabug:`PT-1739`: disable-qrt-plugin option of pt-table-checksum is broken (Thanks to Ernie Souhrada for reporting this issue)
* :jirabug:`PT-175`: Add support for replication channels on pt-slave-restart
* :jirabug:`PT-1052`: Include NUMA information in in pt-summary and pt-stalk output
* :jirabug:`PT-1799`: pt-osc + PTDEBUG=1 fails with Use of uninitialized value in concatenation (.) or string at /usr/bin/pt-online-schema-change line 4270.
* :jirabug:`PT-1897`: pt-stalk on MySQL 8 not collecting "lock" information
* :jirabug:`PT-2092`: Improper version of protobuf in go.sum
* :jirabug:`PT-2079`: Incorrect version is returned
* :jirabug:`PT-2075`: Fix tests for pt-stalk, so they can work with 8.0
* :jirabug:`PT-1959`: go part of the toolkit still has the version 3.3.0
Packaging Notes
------------------------
``percona-toolkit`` is now available on Ubuntu 22.04 and Red Hat Enterprise Linux 9
v3.4.0 released 2022-07-11
==========================

41
docs/rn.3-5-0.txt Normal file
View File

@@ -0,0 +1,41 @@
.. _PT-3.5.0:
================================================================================
*Percona Toolkit* 3.5.0
================================================================================
:Date: January 1, 0001
:Installation: `Installing Percona Toolkit <https://www.percona.com/doc/percona-toolkit/LATEST/installation.html>`_
New Features
================================================================================
* :jirabug:`PT-191`: add SSL options to DSN
Improvements
================================================================================
* :jirabug:`PT-1718`: Have pt-stalk collect performance_schema.threads along with information_schema.processlist
* :jirabug:`PT-2033`: Avoid running same query concurrently from pt-stalk
* :jirabug:`PT-2013`: Change PT tool names changes to eliminate offensive terminology
Bugs Fixed
================================================================================
* :jirabug:`PT-1926`: pt-k8s-debug-collector should not collect passwords
* :jirabug:`PT-1628`: pt-mysql-summary checks installed mysqld binary which may not be the version in memory
* :jirabug:`PT-1739`: disable-qrt-plugin option of pt-table-checksum is broken (Thanks to Ernie Souhrada for reporting this issue)
* :jirabug:`PT-175`: Add support for replication channels on pt-slave-restart
* :jirabug:`PT-1052`: LP #1083488: Include NUMA information in pt-tool output
* :jirabug:`PT-1799`: pt-osc + PTDEBUG=1 fails with Use of uninitialized value in concatenation (.) or string at /usr/bin/pt-online-schema-change line 4270.
* :jirabug:`PT-1897`: pt-stalk on MySQL 8 not collecting "lock" information
* :jirabug:`PT-2092`: Improper version of protobuf in go.sum
* :jirabug:`PT-2079`: Incorrect version is returned
* :jirabug:`PT-2075`: Fix tests for pt-stalk, so they can work with 8.0
* :jirabug:`PT-1959`: go part of the toolkit still has the version 3.3.0

View File

@@ -527,7 +527,7 @@ sub engine_is_allowed {
my $filter = $self->{filters};
if ( $filter->{'ignore-engines'}->{$engine} ) {
PTDEBUG && _d('Engine', $engine, 'is in --ignore-databases list');
PTDEBUG && _d('Engine', $engine, 'is in --ignore-engines list');
return 0;
}