Commit Graph

11 Commits

Author SHA1 Message Date
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
guriandoro
32745039b5 Merge branch '3.0' into pt-stalk-collect-prepared-statements-LP1642750 2017-03-22 16:19:19 -04:00
Carlos Salguero
6f5585c493 Fixed pt-stalk mysql version comparisson 2017-03-22 16:57:53 -03:00
guriandoro
6a960b6bfb PT-90 Adding file needed for tests 2017-03-22 11:37:41 -04:00
Carlos Salguero
4a056cf3b0 PT-81 Collect information about locks and transactions using P_S 2017-03-21 13:45:59 -03:00
Frank Cizmich
c149dbf5ff fixes pt-stalk not being to handle non-integers - issue 1335322 2014-06-27 17:49:50 -03:00
Daniel Nichter
69586fdf50 Revert r587: *do* sync on clock ticks. Fix pt-stalk.t (127.1 no longer works?). Enhance --sleep-collect docs. 2013-12-13 20:19:51 -08:00
Daniel Nichter
b196f50e60 Test --verbose. Remove global default OPT_VERBOSE from log_warn_die.sh so tool's option can set it. 2013-01-24 11:13:39 -07:00
Daniel Nichter
7ac44ba53a Document --plugin. Remove _hook suffix. 2012-10-03 12:31:36 -06:00
Daniel Nichter
c0bafdead9 Test --plugin. 2012-10-03 11:51:03 -06:00
Daniel Nichter
3c97ae27d1 Add and test --config to pt-stalk. 2012-01-24 11:50:48 -07:00