mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-17 08:57:24 +00:00
fixed 5.7 tests for pt-query-digest and pt-show-grants and tweaked SqlMode for global
This commit is contained in:
62
t/pt-query-digest/samples/issue_1196-output-5.7.txt
Normal file
62
t/pt-query-digest/samples/issue_1196-output-5.7.txt
Normal file
@@ -0,0 +1,62 @@
|
||||
|
||||
# Profile
|
||||
# Rank Query ID Response time Calls R/Call V/M Item
|
||||
# ==== ================== ============= ===== ====== ===== ========
|
||||
# 1 0xD4B6A5CD2F2F485C 0.2148 100.0% 1 0.2148 0.00 SELECT t
|
||||
|
||||
# Query 1: 0 QPS, 0x concurrency, ID 0xD4B6A5CD2F2F485C at byte 0 ________
|
||||
# This item is included in the report because it matches --limit.
|
||||
# Scores: V/M = 0.00
|
||||
# Time range: all events occurred at 2010-12-14 16:12:28
|
||||
# Attribute pct total min max avg 95% stddev median
|
||||
# ============ === ======= ======= ======= ======= ======= ======= =======
|
||||
# Count 100 1
|
||||
# Exec time 100 215ms 215ms 215ms 215ms 215ms 0 215ms
|
||||
# Lock time 99 162us 162us 162us 162us 162us 0 162us
|
||||
# Rows sent 100 10 10 10 10 10 0 10
|
||||
# Rows examine 100 1.96k 1.96k 1.96k 1.96k 1.96k 0 1.96k
|
||||
# Query size 100 82 82 82 82 82 0 82
|
||||
# String:
|
||||
# Databases issue_1196
|
||||
# Hosts localhost
|
||||
# Users root
|
||||
# Query_time distribution
|
||||
# 1us
|
||||
# 10us
|
||||
# 100us
|
||||
# 1ms
|
||||
# 10ms
|
||||
# 100ms ################################################################
|
||||
# 1s
|
||||
# 10s+
|
||||
# Tables
|
||||
# SHOW TABLE STATUS FROM `issue_1196` LIKE 't'\G
|
||||
# SHOW CREATE TABLE `issue_1196`.`t`\G
|
||||
# EXPLAIN /*!50100 PARTITIONS*/
|
||||
select t.a, count(*) from t join t t2 using(a) group by 1 order by 2 desc limit 10\G
|
||||
# *************************** 1. row ***************************
|
||||
# id: 1
|
||||
# select_type: SIMPLE
|
||||
# table: t
|
||||
# partitions: NULL
|
||||
# type: ALL
|
||||
# possible_keys: NULL
|
||||
# key: NULL
|
||||
# key_len: NULL
|
||||
# ref: NULL
|
||||
# rows: 14
|
||||
# filtered: 100.00
|
||||
# Extra: Using temporary; Using filesort
|
||||
# *************************** 2. row ***************************
|
||||
# id: 1
|
||||
# select_type: SIMPLE
|
||||
# table: t2
|
||||
# partitions: NULL
|
||||
# type: ALL
|
||||
# possible_keys: NULL
|
||||
# key: NULL
|
||||
# key_len: NULL
|
||||
# ref: NULL
|
||||
# rows: 14
|
||||
# filtered: 10.00
|
||||
# Extra: Using where; Using join buffer (Block Nested Loop)
|
45
t/pt-query-digest/samples/slow007_explain_1-57.txt
Normal file
45
t/pt-query-digest/samples/slow007_explain_1-57.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
# Query 1: 0 QPS, 0x concurrency, ID 0x8E306CDB7A800841 at byte 0 ________
|
||||
# This item is included in the report because it matches --limit.
|
||||
# Scores: V/M = 0.00
|
||||
# Time range: all events occurred at 2007-12-18 11:48:27
|
||||
# Attribute pct total min max avg 95% stddev median
|
||||
# ============ === ======= ======= ======= ======= ======= ======= =======
|
||||
# Count 100 1
|
||||
# Exec time 100 12us 12us 12us 12us 12us 0 12us
|
||||
# Lock time 0 0 0 0 0 0 0 0
|
||||
# Rows sent 0 0 0 0 0 0 0 0
|
||||
# Rows examine 0 0 0 0 0 0 0 0
|
||||
# Merge passes 0 0 0 0 0 0 0 0
|
||||
# Query size 100 23 23 23 23 23 0 23
|
||||
# String:
|
||||
# Databases food
|
||||
# Hosts
|
||||
# Users [SQL_SLAVE]
|
||||
# Query_time distribution
|
||||
# 1us
|
||||
# 10us ################################################################
|
||||
# 100us
|
||||
# 1ms
|
||||
# 10ms
|
||||
# 100ms
|
||||
# 1s
|
||||
# 10s+
|
||||
# Tables
|
||||
# SHOW TABLE STATUS FROM `food` LIKE 'trees'\G
|
||||
# SHOW CREATE TABLE `food`.`trees`\G
|
||||
# EXPLAIN /*!50100 PARTITIONS*/
|
||||
SELECT fruit FROM trees\G
|
||||
# *************************** 1. row ***************************
|
||||
# id: 1
|
||||
# select_type: SIMPLE
|
||||
# table: trees
|
||||
# partitions: NULL
|
||||
# type: index
|
||||
# possible_keys: NULL
|
||||
# key: fruit
|
||||
# key_len: 27
|
||||
# ref: NULL
|
||||
# rows: 1
|
||||
# filtered: 100.00
|
||||
# Extra: Using index
|
45
t/pt-query-digest/samples/slow007_explain_2-57.txt
Normal file
45
t/pt-query-digest/samples/slow007_explain_2-57.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
# Query 1: 0 QPS, 0x concurrency, ID 0x8E306CDB7A800841 at byte 0 ________
|
||||
# This item is included in the report because it matches --limit.
|
||||
# Scores: V/M = 0.00
|
||||
# Time range: all events occurred at 2007-12-18 11:48:27
|
||||
# Attribute pct total min max avg 95% stddev median
|
||||
# ============ === ======= ======= ======= ======= ======= ======= =======
|
||||
# Count 100 1
|
||||
# Exec time 100 12us 12us 12us 12us 12us 0 12us
|
||||
# Lock time 0 0 0 0 0 0 0 0
|
||||
# Rows sent 0 0 0 0 0 0 0 0
|
||||
# Rows examine 0 0 0 0 0 0 0 0
|
||||
# Merge passes 0 0 0 0 0 0 0 0
|
||||
# Query size 100 23 23 23 23 23 0 23
|
||||
# String:
|
||||
# Databases food
|
||||
# Hosts
|
||||
# Users [SQL_SLAVE]
|
||||
# Query_time distribution
|
||||
# 1us
|
||||
# 10us ################################################################
|
||||
# 100us
|
||||
# 1ms
|
||||
# 10ms
|
||||
# 100ms
|
||||
# 1s
|
||||
# 10s+
|
||||
# Tables
|
||||
# SHOW TABLE STATUS FROM `food` LIKE 'trees'\G
|
||||
# SHOW CREATE TABLE `food`.`trees`\G
|
||||
# EXPLAIN /*!50100 PARTITIONS*/
|
||||
SELECT fruit FROM trees\G
|
||||
# *************************** 1. row ***************************
|
||||
# id: 1
|
||||
# select_type: SIMPLE
|
||||
# table: trees
|
||||
# partitions: NULL
|
||||
# type: index
|
||||
# possible_keys: NULL
|
||||
# key: fruit
|
||||
# key_len: 27
|
||||
# ref: NULL
|
||||
# rows: 3
|
||||
# filtered: 100.00
|
||||
# Extra: Using index
|
Reference in New Issue
Block a user