Bug #79828 | mysqldumpslow does not aggregate times | ||
---|---|---|---|
Submitted: | 3 Jan 2016 23:22 | Modified: | 3 Jan 2016 23:37 |
Reporter: | Ivan Pavlovic | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.7.10, 5.7.17 | OS: | CentOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | mysqldumpslow |
[3 Jan 2016 23:22]
Ivan Pavlovic
[3 Jan 2016 23:40]
MySQL Verification Team
Hi Ivan, Thanks for reporting the bug. It is verified as reported. kind regards Bogdan Kecman [arhimed@gedora]$ cat SPORI57.log /home/arhimed/MYSQL/5.7.7/bin/mysqld, Version: 5.7.7-rc-log (MySQL Community Server (GPL)). started with: Tcp port: 5707 Unix socket: /tmp/mysql_sandbox5707.sock Time Id Command Argument # Time: 2016-01-03T19:49:16.917840Z # User@Host: msandbox[msandbox] @ localhost [] Id: 2 # Query_time: 10.000174 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0 SET timestamp=1287; select sleep(10); [arhimed@gedora]$ cat SPORI55.log /home/arhimed/MYSQL/5.5.43/bin/mysqld, Version: 5.5.43-log (MySQL Community Server (GPL)). started with: Tcp port: 5543 Unix socket: /tmp/mysql_sandbox5543.sock Time Id Command Argument # Time: 160103 20:47:23 # User@Host: msandbox[msandbox] @ localhost [] # Query_time: 10.000160 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 0 SET timestamp=1451850443; select sleep( 10); msb_5_7_7]$ ./my sqldumpslow data/SPORI57.log Reading mysql slow query log from data/SPORI57.log Count: 1 Time=0.00s (0s) Lock=0.00s (0s) Rows=0.0 (0), 0users@0hosts # Time: N-N-03T19:N:N.917840Z # User@Host: msandbox[msandbox] @ localhost [] Id: N # Query_time: N.N Lock_time: N.N Rows_sent: N Rows_examined: N SET timestamp=N; select sleep(N) msb_5_5_43]$ ./my sqldumpslow data/SPORI55.log Reading mysql slow query log from data/SPORI55.log Count: 1 Time=10.00s (10s) Lock=0.00s (0s) Rows=1.0 (1), msandbox[msandbox]@localhost select sleep( N)
[10 Mar 2017 10:16]
MySQL Verification Team
Bug #85326 marked as duplicate of this