mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-24 13:25:01 +00:00
Improve the test for bug 1176010.
This commit is contained in:
@@ -1,52 +1,29 @@
|
|||||||
|
|
||||||
# Query 1: 0 QPS, 0x concurrency, ID 0xAA353644DE4C4CB4 at byte 434 ______
|
# ########################################################################
|
||||||
|
# Report grouped by db
|
||||||
|
# ########################################################################
|
||||||
|
|
||||||
|
# Item 1: 0 QPS, 0x concurrency, ID 0x585AC494268B351B at byte 434 _______
|
||||||
# This item is included in the report because it matches --limit.
|
# This item is included in the report because it matches --limit.
|
||||||
# Scores: V/M = 0.02
|
# Scores: V/M = 0.01
|
||||||
# Attribute pct total min max avg 95% stddev median
|
# Attribute pct total min max avg 95% stddev median
|
||||||
# ============ === ======= ======= ======= ======= ======= ======= =======
|
# ============ === ======= ======= ======= ======= ======= ======= =======
|
||||||
# Count 50 2
|
# Count 100 4
|
||||||
# Exec time 91 19ms 2us 19ms 9ms 19ms 13ms 9ms
|
# Exec time 100 21ms 2us 19ms 5ms 18ms 8ms 881us
|
||||||
# Lock time 100 9ms 0 9ms 5ms 9ms 7ms 5ms
|
# Lock time 100 9ms 0 9ms 2ms 9ms 4ms 0
|
||||||
# Rows sent 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
|
# Rows examine 0 0 0 0 0 0 0 0
|
||||||
# Query size 65 54 27 27 27 27 0 27
|
# Query size 100 82 14 27 20.50 26.08 6.12 26.08
|
||||||
# String:
|
# String:
|
||||||
# Databases db
|
|
||||||
# Hosts
|
# Hosts
|
||||||
# Users meow
|
# Users meow
|
||||||
# Query_time distribution
|
# Query_time distribution
|
||||||
# 1us ################################################################
|
# 1us ################################
|
||||||
# 10us
|
|
||||||
# 100us
|
|
||||||
# 1ms
|
|
||||||
# 10ms ################################################################
|
|
||||||
# 100ms
|
|
||||||
# 1s
|
|
||||||
# 10s+
|
|
||||||
administrator command: Quit\G
|
|
||||||
|
|
||||||
# Query 2: 0 QPS, 0x concurrency, ID 0xCC47B42511EA22DD at byte 662 ______
|
|
||||||
# This item is included in the report because it matches --limit.
|
|
||||||
# Scores: V/M = 0.00
|
|
||||||
# Attribute pct total min max avg 95% stddev median
|
|
||||||
# ============ === ======= ======= ======= ======= ======= ======= =======
|
|
||||||
# Count 50 2
|
|
||||||
# Exec time 8 2ms 899us 899us 899us 899us 0 899us
|
|
||||||
# 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
|
|
||||||
# Query size 34 28 14 14 14 14 0 14
|
|
||||||
# String:
|
|
||||||
# Databases db
|
|
||||||
# Hosts
|
|
||||||
# Users meow
|
|
||||||
# Query_time distribution
|
|
||||||
# 1us
|
|
||||||
# 10us
|
# 10us
|
||||||
# 100us ################################################################
|
# 100us ################################################################
|
||||||
# 1ms
|
# 1ms
|
||||||
# 10ms
|
# 10ms ################################
|
||||||
# 100ms
|
# 100ms
|
||||||
# 1s
|
# 1s
|
||||||
# 10s+
|
# 10s+
|
||||||
SET NAMES utf8\G
|
db
|
||||||
|
@@ -399,11 +399,12 @@ ok(
|
|||||||
#############################################################################
|
#############################################################################
|
||||||
ok(
|
ok(
|
||||||
no_diff(
|
no_diff(
|
||||||
sub { pt_query_digest::main(@args, $sample.'slow057.txt') },
|
sub { pt_query_digest::main(@args, $sample.'slow057.txt',
|
||||||
|
qw(--group-by db)) },
|
||||||
"t/pt-query-digest/samples/slow057.txt",
|
"t/pt-query-digest/samples/slow057.txt",
|
||||||
),
|
),
|
||||||
'Analysis for slow057 (no grouping bug 1176010)'
|
'Analysis for slow057 (no grouping bug 1176010)'
|
||||||
);
|
) or diag($test_diff);
|
||||||
|
|
||||||
# #############################################################################
|
# #############################################################################
|
||||||
# Done.
|
# Done.
|
||||||
|
Reference in New Issue
Block a user