Comment 7 for bug 1103045

Revision history for this message
Joe (joegrasse) wrote :

Yes, this new version is now showing this aborted connects as well.

Just one question though. A connection with a bad password and the telnet connection like above will both be counted as an Aborted_connects by MySQL. However, the report generated by pt-query-digest now has two sections for these types of aborted connects. My question is, should both of these appear under "administrator command: Connect" just with different error messages.

So instead of...
# Query 1: 0 QPS, 0x concurrency, ID 0x1AE4CFF32EE9545A at byte 0 ________
# This item is included in the report because it matches --limit.
# Scores: Apdex = 0.50 [1.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2013-01-29 10:14:46.681057
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 50 1
# Exec time 99 4s 4s 4s 4s 4s 0 4s
# Rows affecte 0 0 0 0 0 0 0 0
# Query size 55 38 38 38 38 38 0 38
# Warning coun 0 0 0 0 0 0 0 0
# String:
# Errors none
# Hosts 100.0.0.2
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
administrator command: Connect aborted\G

# Query 2: 0 QPS, 0x concurrency, ID 0x5D51E5F01B88B79E at byte 5969 _____
# This item is included in the report because it matches --limit.
# Scores: Apdex = 1.00 [1.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2013-01-29 10:15:08.324292
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 50 1
# Exec time 0 2ms 2ms 2ms 2ms 2ms 0 2ms
# Rows affecte 0 0 0 0 0 0 0 0
# Query size 44 30 30 30 30 30 0 30
# Warning coun 0 0 0 0 0 0 0 0
# String:
# Databases
# Error msg Access denied for user 'root'@'mysqlb1.ts1.p...
# Errors 1045
# Hosts 100.0.0.2
# Users root
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms ################################################################
# 10ms
# 100ms
# 1s
# 10s+
administrator command: Connect\G

Something like this...

# Query 1: 0 QPS, 0x concurrency, ID 0x5D51E5F01B88B79E at byte 5969 _____
# This item is included in the report because it matches --limit.
# Scores: Apdex = 1.00 [1.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: 2013-01-29 10:14:46.681057 to 2013-01-29 10:15:08.324292
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 2
# Exec time 0 2ms 2ms 2ms 2ms 2ms 0 2ms
# Rows affecte 0 0 0 0 0 0 0 0
# Query size 44 30 30 30 30 30 0 30
# Warning coun 0 0 0 0 0 0 0 0
# String:
# Databases
# Error msg Access den... (1/50%), Connect aborted (1/50%)
# Errors 1045 (1/50%)
# Hosts 100.0.0.2
# Users root
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms ################################################################
# 10ms
# 100ms
# 1s
# 10s+
administrator command: Connect\G