Sveta Smirnova ec9cc2c910 Pt 1897 lock information in8.0 in pt stalk (#549)
* PT-1897 pt-stalk on MySQL 8 not collecting lock information

For version prior 8.0 pt-stalk continue using Information Schema INNODB_LOCKS and INNODB_LOCK_WAITS tables for collecting lock information.
For version 8.0 and higher pt-stalk uses tables data_locks and data_lock_waits in Performance Schema

* PT-1897 - Better MariaDB support

We cannot simply compare version number with 8.0 to identify if lock tables are in Performance Schema,
because MariaDB 10.x still have them in the Information Schema.
Therefore added additional flag, indicating which syntax we should use

* Tests for PT-1897

* PT-1897: added missed samples for tests

* PT-1897 Fixed retention test

Co-authored-by: Carlos Salguero <carlos.salguero@percona.com>
2022-08-30 18:14:26 +03:00
2022-08-18 15:56:48 +05:30
2022-07-11 10:29:37 -03:00
2022-08-24 11:08:30 +02:00
2020-02-19 22:20:39 +03:00
2022-07-11 10:29:37 -03:00
2022-01-03 15:02:23 +03:00
2021-12-27 11:41:37 +02:00
2022-07-11 10:29:37 -03:00
2017-02-10 13:58:13 -08:00
2022-07-11 10:29:37 -03:00
2022-07-11 10:29:37 -03:00
2017-12-20 14:05:12 +00:00
2020-04-01 15:39:16 -03:00
2020-03-30 10:42:00 -03:00

Percona Toolkit

CLA assistant

Percona Toolkit is a collection of advanced command-line tools used by Percona 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
Percona Toolkit: a collection of advanced open source command-line tools.
Readme 134 MiB
Languages
Perl 86.1%
Shell 7.4%
Go 4.5%
JavaScript 0.7%
CSS 0.5%
Other 0.6%