CREATE TABLE t1(a INT) ENGINE=InnoDB;
INSERT INTO t1 VALUE(0);
SET SESSION min_examined_row_limit=0;
SET SESSION long_query_time=0;
SET SESSION log_slow_verbosity='microtime,innodb,query_plan';
[log_start.inc] percona.slow_extended.log_slow_verbosity_0
SELECT * FROM t1;
a
0
[log_stop.inc] percona.slow_extended.log_slow_verbosity_0
log_slow_verbosity='microtime,innodb,query_plan':
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# Schema: .+  Last_errno: \d+  Killed: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# Query_time: \d+\.\d+  Lock_time: \d+\.\d+  Rows_sent: \d+  Rows_examined: \d+  Rows_affected: \d+  Bytes_sent: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# InnoDB_trx_id: [0-9a-fA-F]+$
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# Tmp_tables: \d+  Tmp_disk_tables: \d+  Tmp_table_sizes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# QC_Hit: (Yes|No)  Full_scan: (Yes|No)  Full_join: (Yes|No)  Tmp_table: (Yes|No)  Tmp_table_on_disk: (Yes|No)$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# Filesort: (Yes|No)  Filesort_on_disk: (Yes|No)  Merge_passes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^#   InnoDB_IO_r_ops: 0  InnoDB_IO_r_bytes: 0  InnoDB_IO_r_wait: 0\.0*$
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^#   InnoDB_IO_r_ops: [1-9]\d*  InnoDB_IO_r_bytes: [1-9]\d*  InnoDB_IO_r_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^#   InnoDB_rec_lock_wait: \d*\.\d*  InnoDB_queue_wait: \d*\.\d*$
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: InnoDB_rec_lock_wait: 0\.0*
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: InnoDB_rec_lock_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: InnoDB_queue_wait: 0\.0*
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: InnoDB_queue_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^#   InnoDB_pages_distinct: [1-9]\d*$
[log_grep.inc] lines:   1
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_0 pattern: ^# No InnoDB statistics available for this query$
[log_grep.inc] lines:   1
SET SESSION log_slow_verbosity='microtime,innodb,query_plan';
[log_start.inc] percona.slow_extended.log_slow_verbosity_1
SELECT 1;
1
1
[log_stop.inc] percona.slow_extended.log_slow_verbosity_1
log_slow_verbosity='microtime,innodb,query_plan':
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# Schema: .+  Last_errno: \d+  Killed: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# Query_time: \d+\.\d+  Lock_time: \d+\.\d+  Rows_sent: \d+  Rows_examined: \d+  Rows_affected: \d+  Bytes_sent: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# InnoDB_trx_id: [0-9a-fA-F]+$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# Tmp_tables: \d+  Tmp_disk_tables: \d+  Tmp_table_sizes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# QC_Hit: (Yes|No)  Full_scan: (Yes|No)  Full_join: (Yes|No)  Tmp_table: (Yes|No)  Tmp_table_on_disk: (Yes|No)$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# Filesort: (Yes|No)  Filesort_on_disk: (Yes|No)  Merge_passes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^#   InnoDB_IO_r_ops: 0  InnoDB_IO_r_bytes: 0  InnoDB_IO_r_wait: 0\.0*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^#   InnoDB_IO_r_ops: [1-9]\d*  InnoDB_IO_r_bytes: [1-9]\d*  InnoDB_IO_r_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^#   InnoDB_rec_lock_wait: \d*\.\d*  InnoDB_queue_wait: \d*\.\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: InnoDB_rec_lock_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: InnoDB_rec_lock_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: InnoDB_queue_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: InnoDB_queue_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^#   InnoDB_pages_distinct: [1-9]\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_1 pattern: ^# No InnoDB statistics available for this query$
[log_grep.inc] lines:   2
SET SESSION log_slow_verbosity='microtime';
[log_start.inc] percona.slow_extended.log_slow_verbosity_2
INSERT INTO t1 VALUE(1);
[log_stop.inc] percona.slow_extended.log_slow_verbosity_2
log_slow_verbosity='microtime':
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# Schema: .+  Last_errno: \d+  Killed: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# Query_time: \d+\.\d+  Lock_time: \d+\.\d+  Rows_sent: \d+  Rows_examined: \d+  Rows_affected: \d+  Bytes_sent: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# InnoDB_trx_id: [0-9a-fA-F]+$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# Tmp_tables: \d+  Tmp_disk_tables: \d+  Tmp_table_sizes: \d+$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# QC_Hit: (Yes|No)  Full_scan: (Yes|No)  Full_join: (Yes|No)  Tmp_table: (Yes|No)  Tmp_table_on_disk: (Yes|No)$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# Filesort: (Yes|No)  Filesort_on_disk: (Yes|No)  Merge_passes: \d+$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^#   InnoDB_IO_r_ops: 0  InnoDB_IO_r_bytes: 0  InnoDB_IO_r_wait: 0\.0*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^#   InnoDB_IO_r_ops: [1-9]\d*  InnoDB_IO_r_bytes: [1-9]\d*  InnoDB_IO_r_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^#   InnoDB_rec_lock_wait: \d*\.\d*  InnoDB_queue_wait: \d*\.\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: InnoDB_rec_lock_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: InnoDB_rec_lock_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: InnoDB_queue_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: InnoDB_queue_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^#   InnoDB_pages_distinct: [1-9]\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_2 pattern: ^# No InnoDB statistics available for this query$
[log_grep.inc] lines:   0
SET SESSION log_slow_verbosity='microtime,query_plan';
[log_start.inc] percona.slow_extended.log_slow_verbosity_3
INSERT INTO t1 VALUE(2);
[log_stop.inc] percona.slow_extended.log_slow_verbosity_3
log_slow_verbosity='query_plan':
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# Schema: .+  Last_errno: \d+  Killed: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# Query_time: \d+\.\d+  Lock_time: \d+\.\d+  Rows_sent: \d+  Rows_examined: \d+  Rows_affected: \d+  Bytes_sent: \d+$ expected_matches: 2
[log_grep.inc] found expected match count: 2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# InnoDB_trx_id: [0-9a-fA-F]+$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# Tmp_tables: \d+  Tmp_disk_tables: \d+  Tmp_table_sizes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# QC_Hit: (Yes|No)  Full_scan: (Yes|No)  Full_join: (Yes|No)  Tmp_table: (Yes|No)  Tmp_table_on_disk: (Yes|No)$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# Filesort: (Yes|No)  Filesort_on_disk: (Yes|No)  Merge_passes: \d+$
[log_grep.inc] lines:   2
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^#   InnoDB_IO_r_ops: 0  InnoDB_IO_r_bytes: 0  InnoDB_IO_r_wait: 0\.0*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^#   InnoDB_IO_r_ops: [1-9]\d*  InnoDB_IO_r_bytes: [1-9]\d*  InnoDB_IO_r_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^#   InnoDB_rec_lock_wait: \d*\.\d*  InnoDB_queue_wait: \d*\.\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: InnoDB_rec_lock_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: InnoDB_rec_lock_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: InnoDB_queue_wait: 0\.0*
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: InnoDB_queue_wait: (0\.\d*[1-9]\d*|[1-9]\d*\.\d+)
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^#   InnoDB_pages_distinct: [1-9]\d*$
[log_grep.inc] lines:   0
[log_grep.inc] file: percona.slow_extended.log_slow_verbosity_3 pattern: ^# No InnoDB statistics available for this query$
[log_grep.inc] lines:   0
DROP TABLE t1;
