mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-18 17:58:55 +00:00

* PT-2151 - Fix tests for pt-query-digest
Put fix for PT-1908 into the proper place
* PT-2151 - Fix tests for pt-query-digest
Put fix for PT-1554 into the proper place
* PT-2151 - Fix tests for pt-query-digest
Adjusted expected results for the default test t/pt-table-checksum/basics.t, so they do not depend on number of rows in the help tables
* PT-2151 - Fix tests for pt-query-digest
Added additional check for both replicas into t/pt-online-schema-change/preserve_triggers.t to avoid deadlock when ->ok() is doing CHECKSUM
* PT-2151 - Fix tests for pt-query-digest
Added delay to t/pt-table-sync/wait.t, so it waits for the child process to start lagging
* PT-2151 - Fix tests for pt-query-digest
Updated t/pt-query-digest/samples/issue_1196-output-8.0.txt, so it reflects changes in the latest 8.0
* PT-2151 - Fix tests for pt-query-digest
Updated queries against query history table, so they don't fail after e2cf183762
* PT-2151 - Fix tests for pt-query-digest
Fixed PT-813 by comparing query text. Since order itself does not matter, it is not essential to compare by the fingerprint or use any other function that changes the query.
* PT-2151 - Fix tests for pt-query-digest
Adjusted samples files which now should have consistent order after fix for PT-813
* PT-2151 - Fix tests for pt-query-digest
Fixed typo in the SELECT query in the QueryReview package
* PT-2151 - Fix tests for pt-query-digest
Fix for PT-981
* PT-2151 - Fix tests for pt-query-digest
Updated modules for pt-index-usage and fixed tests, because checksum is calculated differently after fix for PT-1554
* PT-2151 - Fix tests for pt-query-digest
Updated modules for pt-diskstats, pt-fk-error-logger, pt-heartbeat, pt-online-schema-change, pt-slave-delay, pt-slave-find, pt-table-checksum, pt-table-sync, pt-upgrade
* PT-2151 - Fix tests for pt-query-digest
Updated lib/IndexUsage.pm, so fix for pt-index-usage is in the correct place
307 lines
13 KiB
Plaintext
307 lines
13 KiB
Plaintext
|
|
# Overall: 13 total, 12 unique, 0 QPS, 0x concurrency ____________________
|
|
# Time range: 2016-06-07T19:07:02.558338Z to 2016-06-07T19:07:02.576333Z
|
|
# Attribute total min max avg 95% stddev median
|
|
# ============ ======= ======= ======= ======= ======= ======= =======
|
|
# Exec time 0 0 0 0 0 0 0
|
|
# Query size 1.56k 13 429 122.54 346.17 126.35 82.58
|
|
|
|
# Query 1: 0 QPS, 0x concurrency, ID 0x7417646A9FE969365D51E5F01B88B79E at byte 253
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: 2016-06-07T19:07:02.558338Z to 2016-06-07T19:07:02.558581Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 15 2
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 3 60 30 30 30 30 0 30
|
|
# String:
|
|
# Hosts localhost
|
|
# Users phpmyadmin (1/50%), root (1/50%)
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
administrator command: Connect\G
|
|
|
|
# Query 2: 0 QPS, 0x concurrency, ID 0xAB58F0EB775FA5FBF2E9C9BDE150321B at byte 480
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.558791Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 2 47 47 47 47 47 0 47
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
SET collation_connection = 'utf8mb4_unicode_ci'\G
|
|
|
|
# Query 3: 0 QPS, 0x concurrency, ID 0x1E5B97E780818DDB3B9AD583C3AFC61D at byte 326
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.558713Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 1 27 27 27 27 27 0 27
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
SET CHARACTER SET 'utf8mb4'\G
|
|
|
|
# Query 4: 0 QPS, 0x concurrency, ID 0x7B48FAA9C951DD8A389FF9DA2DF3DF62 at byte 1135
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.567097Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 0 13 13 13 13 13 0 13
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT USER()\G
|
|
|
|
# Query 5: 0 QPS, 0x concurrency, ID 0x68C6B480CBDB8159E2F7D83651089289 at byte 613
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.565845Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 1 21 21 21 21 21 0 21
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT CURRENT_USER()\G
|
|
|
|
# Query 6: 0 QPS, 0x concurrency, ID 0x4C1AABB35EA40368289CE0B9F6EA151D at byte 1870
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.572396Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 8 138 138 138 138 138 0 138
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'SCHEMATA'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`SCHEMATA`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT COUNT(*) FROM ( SELECT DISTINCT SUBSTRING_INDEX(SCHEMA_NAME, '_', 1) DB_first_level FROM INFORMATION_SCHEMA.SCHEMATA WHERE TRUE ) t\G
|
|
|
|
# Query 7: 0 QPS, 0x concurrency, ID 0xF0A406222CD7B02708E4BF21400A779E at byte 2299
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.576333Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 11 189 189 189 189 189 0 189
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `phpmyadmin` LIKE 'pma__usergroups'\G
|
|
# SHOW CREATE TABLE `phpmyadmin`.`pma__usergroups`\G
|
|
# SHOW TABLE STATUS FROM `phpmyadmin` LIKE 'pma__users'\G
|
|
# SHOW CREATE TABLE `phpmyadmin`.`pma__users`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT `tab` FROM `phpmyadmin`.`pma__usergroups` WHERE `allowed` = 'N' AND `tab` LIKE 'server%' AND `usergroup` = (SELECT usergroup FROM `phpmyadmin`.`pma__users` WHERE `username` = 'root')\G
|
|
|
|
# Query 8: 0 QPS, 0x concurrency, ID 0x35CCC630581DCD5AA46100310F18DEB9 at byte 1530
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.569194Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 22 355 355 355 355 355 0 355
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'SCHEMATA'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`SCHEMATA`\G
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'SCHEMATA'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`SCHEMATA`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT `SCHEMA_NAME` FROM `INFORMATION_SCHEMA`.`SCHEMATA`, (SELECT DB_first_level FROM ( SELECT DISTINCT SUBSTRING_INDEX(SCHEMA_NAME, '_', 1) DB_first_level FROM INFORMATION_SCHEMA.SCHEMATA WHERE TRUE ) t ORDER BY DB_first_level ASC LIMIT 0, 100) t2 WHERE TRUE AND 1 = LOCATE(CONCAT(DB_first_level, '_'), CONCAT(SCHEMA_NAME, '_')) ORDER BY SCHEMA_NAME ASC\G
|
|
|
|
# Query 9: 0 QPS, 0x concurrency, ID 0x1A47B347E419B05A62642FD655801FC1 at byte 2070
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.575723Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 10 160 160 160 160 160 0 160
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `phpmyadmin` LIKE 'pma__bookmark'\G
|
|
# SHOW CREATE TABLE `phpmyadmin`.`pma__bookmark`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT `label`, `id`, `query`, `dbase` AS `db`, IF (`user` = '', true, false) AS `shared` FROM `phpmyadmin`.`pma__bookmark` WHERE `user` = '' OR `user` = 'root'\G
|
|
|
|
# Query 10: 0 QPS, 0x concurrency, ID 0xDDABDE67AC3044CAED549F59FFFA541B at byte 1692
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.569779Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 7 122 122 122 122 122 0 122
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `phpmyadmin` LIKE 'pma__navigationhiding'\G
|
|
# SHOW CREATE TABLE `phpmyadmin`.`pma__navigationhiding`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT `db_name`, COUNT(*) AS `count` FROM `phpmyadmin`.`pma__navigationhiding` WHERE `username`='root' GROUP BY `db_name`\G
|
|
|
|
# Query 11: 0 QPS, 0x concurrency, ID 0xC4AB84B66A4FBA135A2F00AA08F7A560 at byte 552
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.563721Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 2 32 32 32 32 32 0 32
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `mysql` LIKE 'user'\G
|
|
# SHOW CREATE TABLE `mysql`.`user`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT 1 FROM mysql.user LIMIT 1\G
|
|
|
|
# Query 12: 0 QPS, 0x concurrency, ID 0x15BF4DCE0B364CE831C14D6853A472B7 at byte 1082
|
|
# This item is included in the report because it matches --limit.
|
|
# Scores: V/M = 0.00
|
|
# Time range: all events occurred at 2016-06-07T19:07:02.565999Z
|
|
# Attribute pct total min max avg 95% stddev median
|
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
# Count 7 1
|
|
# Exec time 0 0 0 0 0 0 0 0
|
|
# Query size 26 429 429 429 429 429 0 429
|
|
# Query_time distribution
|
|
# 1us
|
|
# 10us
|
|
# 100us
|
|
# 1ms
|
|
# 10ms
|
|
# 100ms
|
|
# 1s
|
|
# 10s+
|
|
# Tables
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'COLUMN_PRIVILEGES'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`COLUMN_PRIVILEGES`\G
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'TABLE_PRIVILEGES'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`TABLE_PRIVILEGES`\G
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'SCHEMA_PRIVILEGES'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`SCHEMA_PRIVILEGES`\G
|
|
# SHOW TABLE STATUS FROM `INFORMATION_SCHEMA` LIKE 'USER_PRIVILEGES'\G
|
|
# SHOW CREATE TABLE `INFORMATION_SCHEMA`.`USER_PRIVILEGES`\G
|
|
# EXPLAIN /*!50100 PARTITIONS*/
|
|
SELECT 1 FROM (SELECT `GRANTEE`, `IS_GRANTABLE` FROM `INFORMATION_SCHEMA`.`COLUMN_PRIVILEGES` UNION SELECT `GRANTEE`, `IS_GRANTABLE` FROM `INFORMATION_SCHEMA`.`TABLE_PRIVILEGES` UNION SELECT `GRANTEE`, `IS_GRANTABLE` FROM `INFORMATION_SCHEMA`.`SCHEMA_PRIVILEGES` UNION SELECT `GRANTEE`, `IS_GRANTABLE` FROM `INFORMATION_SCHEMA`.`USER_PRIVILEGES`) t WHERE `IS_GRANTABLE` = 'YES' AND '''root''@''localhost''' LIKE `GRANTEE` LIMIT 1\G
|
|
|
|
# Profile
|
|
# Rank Query ID Response time Calls R/Call V/M
|
|
# ==== =================================== ============= ===== ====== ====
|
|
# 1 0x7417646A9FE969365D51E5F01B88B79E 0.0000 0.0% 2 0.0000 0.00 ADMIN CONNECT
|
|
# 2 0xAB58F0EB775FA5FBF2E9C9BDE150321B 0.0000 0.0% 1 0.0000 0.00 SET
|
|
# 3 0x1E5B97E780818DDB3B9AD583C3AFC61D 0.0000 0.0% 1 0.0000 0.00 SET
|
|
# 4 0x7B48FAA9C951DD8A389FF9DA2DF3DF62 0.0000 0.0% 1 0.0000 0.00 SELECT
|
|
# 5 0x68C6B480CBDB8159E2F7D83651089289 0.0000 0.0% 1 0.0000 0.00 SELECT
|
|
# 6 0x4C1AABB35EA40368289CE0B9F6EA151D 0.0000 0.0% 1 0.0000 0.00 SELECT INFORMATION_SCHEMA.SCHEMATA
|
|
# 7 0xF0A406222CD7B02708E4BF21400A779E 0.0000 0.0% 1 0.0000 0.00 SELECT phpmyadmin.pma__usergroups phpmyadmin.pma__users
|
|
# 8 0x35CCC630581DCD5AA46100310F18DEB9 0.0000 0.0% 1 0.0000 0.00 SELECT INFORMATION_SCHEMA.SCHEMATA
|
|
# 9 0x1A47B347E419B05A62642FD655801FC1 0.0000 0.0% 1 0.0000 0.00 SELECT phpmyadmin.pma__bookmark
|
|
# 10 0xDDABDE67AC3044CAED549F59FFFA541B 0.0000 0.0% 1 0.0000 0.00 SELECT phpmyadmin.pma__navigationhiding
|
|
# 11 0xC4AB84B66A4FBA135A2F00AA08F7A560 0.0000 0.0% 1 0.0000 0.00 SELECT mysql.user
|
|
# 12 0x15BF4DCE0B364CE831C14D6853A472B7 0.0000 0.0% 1 0.0000 0.00 SELECT UNION INFORMATION_SCHEMA.COLUMN_PRIVILEGES INFORMATION_SCHEMA.TABLE_PRIVILEGES INFORMATION_SCHEMA.SCHEMA_PRIVILEGES INFORMATION_SCHEMA.USER_PRIVILEGES
|