diff options
Diffstat (limited to 'mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result')
-rw-r--r-- | mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result | 1006 |
1 files changed, 539 insertions, 467 deletions
diff --git a/mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result b/mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result index d6e4e674258..b0ea06f4254 100644 --- a/mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result +++ b/mysql-test/suite/perfschema/r/table_aggregate_hist_2u_3t.result @@ -2,9 +2,9 @@ delete from performance_schema.setup_actors where user in ('user2', 'user4'); select * from performance_schema.setup_actors order by USER, HOST, ROLE; -HOST USER ROLE -localhost user1 % -localhost user3 % +HOST USER ROLE ENABLED HISTORY +localhost user1 % YES YES +localhost user3 % YES YES select * from performance_schema.setup_objects order by object_type, object_schema, object_name; OBJECT_TYPE OBJECT_SCHEMA OBJECT_NAME ENABLED TIMED @@ -19,6 +19,9 @@ events_stages_history_long YES events_statements_current YES events_statements_history YES events_statements_history_long YES +events_transactions_current YES +events_transactions_history YES +events_transactions_history_long YES events_waits_current YES events_waits_history YES events_waits_history_long YES @@ -62,15 +65,12 @@ execute dump_waits_history; event_name count(event_name) object_type object_schema object_name execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 0 0 0 0 0 0 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 0 0 0 0 0 0 0 -TABLE test t2 NULL 0 0 0 0 0 0 0 TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 0 0 0 0 0 0 0 -TABLE test t3 NULL 0 0 0 0 0 0 0 TABLE test t3 index_b 0 0 0 0 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 0 0 0 0 0 0 0 @@ -80,10 +80,10 @@ TABLE test t1 0 0 0 0 0 0 0 TABLE test t2 0 0 0 0 0 0 0 TABLE test t3 0 0 0 0 0 0 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t2 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t3 0 0 0 0 0 0 0 0 0 0 0 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 0 0 0 0 0 0 0 0 0 0 +TABLE test t2 0 0 0 0 0 0 0 0 0 0 +TABLE test t3 0 0 0 0 0 0 0 0 0 0 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 0 @@ -125,15 +125,12 @@ execute dump_waits_history; event_name count(event_name) object_type object_schema object_name execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 0 0 0 0 0 0 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 0 0 0 0 0 0 0 -TABLE test t2 NULL 0 0 0 0 0 0 0 TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 0 0 0 0 0 0 0 -TABLE test t3 NULL 0 0 0 0 0 0 0 TABLE test t3 index_b 0 0 0 0 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 0 0 0 0 0 0 0 @@ -143,10 +140,10 @@ TABLE test t1 0 0 0 0 0 0 0 TABLE test t2 0 0 0 0 0 0 0 TABLE test t3 0 0 0 0 0 0 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t2 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t3 0 0 0 0 0 0 0 0 0 0 0 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 0 0 0 0 0 0 0 0 0 0 +TABLE test t2 0 0 0 0 0 0 0 0 0 0 +TABLE test t3 0 0 0 0 0 0 0 0 0 0 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 0 @@ -177,18 +174,18 @@ update test.t3 set d=d+1; update test.t1 set d=d+1 where a=101; update test.t2 set d=d+1 where a=101; update test.t3 set d=d+1 where a=101; -select * from test.t1 where b=5; +select * from test.t1 force index(index_b) where b=5; a b c d -select * from test.t2 where b=5; +select * from test.t2 force index(index_b) where b=5; a b c d -select * from test.t3 where b=5; +select * from test.t3 force index(index_b) where b=5; a b c d 105 5 5 1 connection default; -"================== Step 3 ==================" +"================== Step 3-A ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username status user2 not found @@ -198,27 +195,27 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 37 +localhost wait/io/table/sql/handler 33 localhost wait/lock/table/sql/handler 36 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 37 +wait/io/table/sql/handler 33 wait/lock/table/sql/handler 36 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name wait/io/table/sql/handler 8 TABLE test t1 wait/lock/table/sql/handler 10 TABLE test t1 -wait/io/table/sql/handler 12 TABLE test t2 +wait/io/table/sql/handler 10 TABLE test t2 wait/lock/table/sql/handler 12 TABLE test t2 -wait/io/table/sql/handler 17 TABLE test t3 +wait/io/table/sql/handler 15 TABLE test t3 wait/lock/table/sql/handler 14 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete @@ -226,29 +223,97 @@ TABLE test t1 NULL 6 4 2 4 1 1 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 2 1 1 1 0 1 0 -TABLE test t2 NULL 10 6 4 6 2 2 0 -TABLE test t2 index_b 1 1 0 1 0 0 0 +TABLE test t2 NULL 9 5 4 5 2 2 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 1 1 0 1 0 0 0 -TABLE test t3 NULL 14 8 6 8 3 3 0 -TABLE test t3 index_b 2 2 0 2 0 0 0 +TABLE test t3 NULL 13 7 6 7 3 3 0 +TABLE test t3 index_b 1 1 0 1 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 1 1 0 1 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete TABLE test t1 8 5 3 5 1 2 0 -TABLE test t2 12 8 4 8 2 2 0 -TABLE test t3 17 11 6 11 3 3 0 +TABLE test t2 10 6 4 6 2 2 0 +TABLE test t3 15 9 6 9 3 3 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 10 4 6 2 0 0 0 2 0 0 3 -TABLE test t2 12 4 8 2 0 0 0 2 0 0 4 -TABLE test t3 14 4 10 2 0 0 0 2 0 0 5 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 10 4 6 2 0 0 0 2 0 3 +TABLE test t2 12 4 8 2 0 0 0 2 0 4 +TABLE test t3 14 4 10 2 0 0 0 2 0 5 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 18 -TABLE test t2 24 -TABLE test t3 31 +TABLE test t2 22 +TABLE test t3 29 +connection con1; +flush tables; +"================== con1 FLUSH ==================" +connection default; +"================== Step 3-B ==================" +call dump_thread(); +username event_name count_star +user1 wait/io/table/sql/handler 33 +user1 wait/lock/table/sql/handler 36 +username status +user2 not found +username status +user3 not found +username status +user4 not found +execute dump_waits_account; +user host event_name count_star +user1 localhost wait/io/table/sql/handler 33 +user1 localhost wait/lock/table/sql/handler 36 +execute dump_waits_user; +user event_name count_star +user1 wait/io/table/sql/handler 33 +user1 wait/lock/table/sql/handler 36 +execute dump_waits_host; +host event_name count_star +localhost wait/io/table/sql/handler 33 +localhost wait/lock/table/sql/handler 36 +execute dump_waits_global; +event_name count_star +wait/io/table/sql/handler 33 +wait/lock/table/sql/handler 36 +execute dump_waits_history; +event_name count(event_name) object_type object_schema object_name +wait/io/table/sql/handler 8 TABLE test t1 +wait/lock/table/sql/handler 10 TABLE test t1 +wait/io/table/sql/handler 10 TABLE test t2 +wait/lock/table/sql/handler 12 TABLE test t2 +wait/io/table/sql/handler 15 TABLE test t3 +wait/lock/table/sql/handler 14 TABLE test t3 +execute dump_waits_index_io; +object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete +TABLE test t1 NULL 6 4 2 4 1 1 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 +TABLE test t1 index_cb 0 0 0 0 0 0 0 +TABLE test t1 PRIMARY 2 1 1 1 0 1 0 +TABLE test t2 NULL 9 5 4 5 2 2 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 +TABLE test t2 index_cb 0 0 0 0 0 0 0 +TABLE test t2 PRIMARY 1 1 0 1 0 0 0 +TABLE test t3 NULL 13 7 6 7 3 3 0 +TABLE test t3 index_b 1 1 0 1 0 0 0 +TABLE test t3 index_cb 0 0 0 0 0 0 0 +TABLE test t3 PRIMARY 1 1 0 1 0 0 0 +execute dump_waits_table_io; +object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete +TABLE test t1 8 5 3 5 1 2 0 +TABLE test t2 10 6 4 6 2 2 0 +TABLE test t3 15 9 6 9 3 3 0 +execute dump_waits_table_lock; +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 10 4 6 2 0 0 0 2 0 3 +TABLE test t2 12 4 8 2 0 0 0 2 0 4 +TABLE test t3 14 4 10 2 0 0 0 2 0 5 +execute dump_objects_summary; +object_type object_schema object_name count_star +TABLE test t1 18 +TABLE test t2 22 +TABLE test t3 29 connect con2, localhost, user2, , ; select concat(current_user(), " is connected") as status; status @@ -257,7 +322,7 @@ connection default; "================== Step 4 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 @@ -268,31 +333,31 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 37 +localhost wait/io/table/sql/handler 33 localhost wait/lock/table/sql/handler 36 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 37 +wait/io/table/sql/handler 33 wait/lock/table/sql/handler 36 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name wait/io/table/sql/handler 8 TABLE test t1 wait/lock/table/sql/handler 10 TABLE test t1 -wait/io/table/sql/handler 12 TABLE test t2 +wait/io/table/sql/handler 10 TABLE test t2 wait/lock/table/sql/handler 12 TABLE test t2 -wait/io/table/sql/handler 17 TABLE test t3 +wait/io/table/sql/handler 15 TABLE test t3 wait/lock/table/sql/handler 14 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete @@ -300,29 +365,29 @@ TABLE test t1 NULL 6 4 2 4 1 1 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 2 1 1 1 0 1 0 -TABLE test t2 NULL 10 6 4 6 2 2 0 -TABLE test t2 index_b 1 1 0 1 0 0 0 +TABLE test t2 NULL 9 5 4 5 2 2 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 1 1 0 1 0 0 0 -TABLE test t3 NULL 14 8 6 8 3 3 0 -TABLE test t3 index_b 2 2 0 2 0 0 0 +TABLE test t3 NULL 13 7 6 7 3 3 0 +TABLE test t3 index_b 1 1 0 1 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 1 1 0 1 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete TABLE test t1 8 5 3 5 1 2 0 -TABLE test t2 12 8 4 8 2 2 0 -TABLE test t3 17 11 6 11 3 3 0 +TABLE test t2 10 6 4 6 2 2 0 +TABLE test t3 15 9 6 9 3 3 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 10 4 6 2 0 0 0 2 0 0 3 -TABLE test t2 12 4 8 2 0 0 0 2 0 0 4 -TABLE test t3 14 4 10 2 0 0 0 2 0 0 5 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 10 4 6 2 0 0 0 2 0 3 +TABLE test t2 12 4 8 2 0 0 0 2 0 4 +TABLE test t3 14 4 10 2 0 0 0 2 0 5 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 18 -TABLE test t2 24 -TABLE test t3 31 +TABLE test t2 22 +TABLE test t3 29 connection con2; insert into test.t1 set a=201, b=1, c=1; insert into test.t2 set a=202, b=2, c=2; @@ -354,11 +419,11 @@ update test.t3 set d=d+1; update test.t1 set d=d+1 where a=201; update test.t2 set d=d+1 where a=201; update test.t3 set d=d+1 where a=201; -select * from test.t1 where b=5; +select * from test.t1 force index(index_b) where b=5; a b c d -select * from test.t2 where b=5; +select * from test.t2 force index(index_b) where b=5; a b c d -select * from test.t3 where b=5; +select * from test.t3 force index(index_b) where b=5; a b c d 105 5 5 2 205 5 5 1 @@ -366,7 +431,7 @@ connection default; "================== Step 5 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 @@ -377,31 +442,31 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 37 +localhost wait/io/table/sql/handler 33 localhost wait/lock/table/sql/handler 36 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 37 +wait/io/table/sql/handler 33 wait/lock/table/sql/handler 36 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name wait/io/table/sql/handler 8 TABLE test t1 wait/lock/table/sql/handler 10 TABLE test t1 -wait/io/table/sql/handler 12 TABLE test t2 +wait/io/table/sql/handler 10 TABLE test t2 wait/lock/table/sql/handler 12 TABLE test t2 -wait/io/table/sql/handler 17 TABLE test t3 +wait/io/table/sql/handler 15 TABLE test t3 wait/lock/table/sql/handler 14 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete @@ -409,29 +474,29 @@ TABLE test t1 NULL 6 4 2 4 1 1 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 2 1 1 1 0 1 0 -TABLE test t2 NULL 10 6 4 6 2 2 0 -TABLE test t2 index_b 1 1 0 1 0 0 0 +TABLE test t2 NULL 9 5 4 5 2 2 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 1 1 0 1 0 0 0 -TABLE test t3 NULL 14 8 6 8 3 3 0 -TABLE test t3 index_b 2 2 0 2 0 0 0 +TABLE test t3 NULL 13 7 6 7 3 3 0 +TABLE test t3 index_b 1 1 0 1 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 1 1 0 1 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete TABLE test t1 8 5 3 5 1 2 0 -TABLE test t2 12 8 4 8 2 2 0 -TABLE test t3 17 11 6 11 3 3 0 +TABLE test t2 10 6 4 6 2 2 0 +TABLE test t3 15 9 6 9 3 3 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 10 4 6 2 0 0 0 2 0 0 3 -TABLE test t2 12 4 8 2 0 0 0 2 0 0 4 -TABLE test t3 14 4 10 2 0 0 0 2 0 0 5 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 10 4 6 2 0 0 0 2 0 3 +TABLE test t2 12 4 8 2 0 0 0 2 0 4 +TABLE test t3 14 4 10 2 0 0 0 2 0 5 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 18 -TABLE test t2 24 -TABLE test t3 31 +TABLE test t2 22 +TABLE test t3 29 connect con3, localhost, user3, , ; select concat(current_user(), " is connected") as status; status @@ -440,7 +505,7 @@ connection default; "================== Step 6 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 @@ -452,7 +517,7 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 @@ -460,7 +525,7 @@ user3 localhost wait/io/table/sql/handler 0 user3 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 @@ -468,19 +533,19 @@ user3 wait/io/table/sql/handler 0 user3 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 37 +localhost wait/io/table/sql/handler 33 localhost wait/lock/table/sql/handler 36 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 37 +wait/io/table/sql/handler 33 wait/lock/table/sql/handler 36 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name wait/io/table/sql/handler 8 TABLE test t1 wait/lock/table/sql/handler 10 TABLE test t1 -wait/io/table/sql/handler 12 TABLE test t2 +wait/io/table/sql/handler 10 TABLE test t2 wait/lock/table/sql/handler 12 TABLE test t2 -wait/io/table/sql/handler 17 TABLE test t3 +wait/io/table/sql/handler 15 TABLE test t3 wait/lock/table/sql/handler 14 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete @@ -488,29 +553,29 @@ TABLE test t1 NULL 6 4 2 4 1 1 0 TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 2 1 1 1 0 1 0 -TABLE test t2 NULL 10 6 4 6 2 2 0 -TABLE test t2 index_b 1 1 0 1 0 0 0 +TABLE test t2 NULL 9 5 4 5 2 2 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 1 1 0 1 0 0 0 -TABLE test t3 NULL 14 8 6 8 3 3 0 -TABLE test t3 index_b 2 2 0 2 0 0 0 +TABLE test t3 NULL 13 7 6 7 3 3 0 +TABLE test t3 index_b 1 1 0 1 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 1 1 0 1 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete TABLE test t1 8 5 3 5 1 2 0 -TABLE test t2 12 8 4 8 2 2 0 -TABLE test t3 17 11 6 11 3 3 0 +TABLE test t2 10 6 4 6 2 2 0 +TABLE test t3 15 9 6 9 3 3 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 10 4 6 2 0 0 0 2 0 0 3 -TABLE test t2 12 4 8 2 0 0 0 2 0 0 4 -TABLE test t3 14 4 10 2 0 0 0 2 0 0 5 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 10 4 6 2 0 0 0 2 0 3 +TABLE test t2 12 4 8 2 0 0 0 2 0 4 +TABLE test t3 14 4 10 2 0 0 0 2 0 5 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 18 -TABLE test t2 24 -TABLE test t3 31 +TABLE test t2 22 +TABLE test t3 29 connection con3; insert into test.t1 set a=301, b=1, c=1; insert into test.t2 set a=302, b=2, c=2; @@ -548,11 +613,11 @@ update test.t3 set d=d+1; update test.t1 set d=d+1 where a=301; update test.t2 set d=d+1 where a=301; update test.t3 set d=d+1 where a=301; -select * from test.t1 where b=5; +select * from test.t1 force index(index_b) where b=5; a b c d -select * from test.t2 where b=5; +select * from test.t2 force index(index_b) where b=5; a b c d -select * from test.t3 where b=5; +select * from test.t3 force index(index_b) where b=5; a b c d 105 5 5 3 205 5 5 2 @@ -561,77 +626,77 @@ connection default; "================== Step 7 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 72 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 72 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 20 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 24 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 28 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 20 8 12 4 0 0 0 4 0 0 6 -TABLE test t2 24 8 16 4 0 0 0 4 0 0 8 -TABLE test t3 28 8 20 4 0 0 0 4 0 0 10 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 20 8 12 4 0 0 0 4 0 6 +TABLE test t2 24 8 16 4 0 0 0 4 0 8 +TABLE test t3 28 8 20 4 0 0 0 4 0 10 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 43 -TABLE test t2 60 -TABLE test t3 82 +TABLE test t1 41 +TABLE test t2 56 +TABLE test t3 78 connect con4, localhost, user4, , ; select concat(current_user(), " is connected") as status; status @@ -640,82 +705,82 @@ connection default; "================== Step 8 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 72 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 72 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 20 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 24 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 28 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 20 8 12 4 0 0 0 4 0 0 6 -TABLE test t2 24 8 16 4 0 0 0 4 0 0 8 -TABLE test t3 28 8 20 4 0 0 0 4 0 0 10 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 20 8 12 4 0 0 0 4 0 6 +TABLE test t2 24 8 16 4 0 0 0 4 0 8 +TABLE test t3 28 8 20 4 0 0 0 4 0 10 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 43 -TABLE test t2 60 -TABLE test t3 82 +TABLE test t1 41 +TABLE test t2 56 +TABLE test t3 78 connection con4; insert into test.t1 set a=401, b=1, c=1; insert into test.t2 set a=402, b=2, c=2; @@ -759,11 +824,11 @@ update test.t3 set d=d+1; update test.t1 set d=d+1 where a=401; update test.t2 set d=d+1 where a=401; update test.t3 set d=d+1 where a=401; -select * from test.t1 where b=5; +select * from test.t1 force index(index_b) where b=5; a b c d -select * from test.t2 where b=5; +select * from test.t2 force index(index_b) where b=5; a b c d -select * from test.t3 where b=5; +select * from test.t3 force index(index_b) where b=5; a b c d 105 5 5 4 205 5 5 3 @@ -773,82 +838,82 @@ connection default; "================== Step 9 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 36 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 36 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 72 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 72 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 20 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 24 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 28 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 20 8 12 4 0 0 0 4 0 0 6 -TABLE test t2 24 8 16 4 0 0 0 4 0 0 8 -TABLE test t3 28 8 20 4 0 0 0 4 0 0 10 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 20 8 12 4 0 0 0 4 0 6 +TABLE test t2 24 8 16 4 0 0 0 4 0 8 +TABLE test t3 28 8 20 4 0 0 0 4 0 10 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 43 -TABLE test t2 60 -TABLE test t3 82 +TABLE test t1 41 +TABLE test t2 56 +TABLE test t3 78 connection con1; lock tables test.t1 read, test.t2 read, test.t3 read; unlock tables; @@ -858,246 +923,246 @@ connection default; "================== Step 10 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 connection default; flush tables; "================== flush marker ==================" "================== Step 11 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 set global read_only=1; set global read_only=0; "================== global read_only marker ==================" "================== Step 12 ==================" call dump_thread(); username event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 disconnect con1; "================== Step 13 ==================" call dump_thread(); @@ -1107,76 +1172,76 @@ username event_name count_star user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 disconnect con2; "================== Step 14 ==================" call dump_thread(); @@ -1185,76 +1250,76 @@ user1 not found username status user2 not found username event_name count_star -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 username event_name count_star user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 disconnect con3; "================== Step 15 ==================" call dump_thread(); @@ -1269,69 +1334,69 @@ user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 disconnect con4; "================== Step 16 ==================" call dump_thread(); @@ -1345,69 +1410,69 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 connection default; truncate performance_schema.events_waits_summary_by_thread_by_event_name; "================== BY_THREAD truncated ==================" @@ -1423,69 +1488,69 @@ username status user4 not found execute dump_waits_account; user host event_name count_star -user1 localhost wait/io/table/sql/handler 37 +user1 localhost wait/io/table/sql/handler 33 user1 localhost wait/lock/table/sql/handler 48 user2 localhost wait/io/table/sql/handler 0 user2 localhost wait/lock/table/sql/handler 0 -user3 localhost wait/io/table/sql/handler 76 +user3 localhost wait/io/table/sql/handler 70 user3 localhost wait/lock/table/sql/handler 36 user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 truncate performance_schema.events_waits_summary_by_account_by_event_name; "================== BY_ACCOUNT truncated ==================" "================== Step 18 ==================" @@ -1510,59 +1575,59 @@ user4 localhost wait/io/table/sql/handler 0 user4 localhost wait/lock/table/sql/handler 0 execute dump_waits_user; user event_name count_star -user1 wait/io/table/sql/handler 37 +user1 wait/io/table/sql/handler 33 user1 wait/lock/table/sql/handler 48 user2 wait/io/table/sql/handler 0 user2 wait/lock/table/sql/handler 0 -user3 wait/io/table/sql/handler 76 +user3 wait/io/table/sql/handler 70 user3 wait/lock/table/sql/handler 36 user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 truncate performance_schema.events_waits_summary_by_user_by_event_name; "================== BY_USER truncated ==================" "================== Step 19 ==================" @@ -1597,49 +1662,49 @@ user4 wait/io/table/sql/handler 0 user4 wait/lock/table/sql/handler 0 execute dump_waits_host; host event_name count_star -localhost wait/io/table/sql/handler 113 +localhost wait/io/table/sql/handler 103 localhost wait/lock/table/sql/handler 84 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 truncate performance_schema.events_waits_summary_by_host_by_event_name; "================== BY_HOST truncated ==================" "================== Step 21 ==================" @@ -1678,45 +1743,45 @@ localhost wait/io/table/sql/handler 0 localhost wait/lock/table/sql/handler 0 execute dump_waits_global; event_name count_star -wait/io/table/sql/handler 113 +wait/io/table/sql/handler 103 wait/lock/table/sql/handler 84 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 NULL 18 12 6 12 2 4 0 -TABLE test t1 index_b 1 1 0 1 0 0 0 +TABLE test t1 NULL 17 11 6 11 2 4 0 +TABLE test t1 index_b 0 0 0 0 0 0 0 TABLE test t1 index_cb 0 0 0 0 0 0 0 TABLE test t1 PRIMARY 4 2 2 2 0 2 0 -TABLE test t2 NULL 32 20 12 20 4 8 0 -TABLE test t2 index_b 2 2 0 2 0 0 0 +TABLE test t2 NULL 30 18 12 18 4 8 0 +TABLE test t2 index_b 0 0 0 0 0 0 0 TABLE test t2 index_cb 0 0 0 0 0 0 0 TABLE test t2 PRIMARY 2 2 0 2 0 0 0 -TABLE test t3 NULL 46 28 18 28 6 12 0 -TABLE test t3 index_b 6 6 0 6 0 0 0 +TABLE test t3 NULL 44 26 18 26 6 12 0 +TABLE test t3 index_b 4 4 0 4 0 0 0 TABLE test t3 index_cb 0 0 0 0 0 0 0 TABLE test t3 PRIMARY 2 2 0 2 0 0 0 execute dump_waits_table_io; object_type object_schema object_name count_star count_read count_write count_fetch count_insert count_update count_delete -TABLE test t1 23 15 8 15 2 6 0 -TABLE test t2 36 24 12 24 4 8 0 -TABLE test t3 54 36 18 36 6 12 0 +TABLE test t1 21 13 8 13 2 6 0 +TABLE test t2 32 20 12 20 4 8 0 +TABLE test t3 50 32 18 32 6 12 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 24 10 14 4 0 0 1 5 0 0 7 -TABLE test t2 28 10 18 4 0 0 1 5 0 0 9 -TABLE test t3 32 10 22 4 0 0 1 5 0 0 11 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 24 10 14 4 0 0 1 5 0 7 +TABLE test t2 28 10 18 4 0 0 1 5 0 9 +TABLE test t3 32 10 22 4 0 0 1 5 0 11 execute dump_objects_summary; object_type object_schema object_name count_star -TABLE test t1 47 -TABLE test t2 64 -TABLE test t3 86 +TABLE test t1 45 +TABLE test t2 60 +TABLE test t3 82 truncate performance_schema.events_waits_summary_global_by_event_name; "================== GLOBAL truncated ==================" "================== Step 21 ==================" @@ -1759,11 +1824,11 @@ wait/io/table/sql/handler 0 wait/lock/table/sql/handler 0 execute dump_waits_history; event_name count(event_name) object_type object_schema object_name -wait/io/table/sql/handler 23 TABLE test t1 +wait/io/table/sql/handler 21 TABLE test t1 wait/lock/table/sql/handler 24 TABLE test t1 -wait/io/table/sql/handler 36 TABLE test t2 +wait/io/table/sql/handler 32 TABLE test t2 wait/lock/table/sql/handler 28 TABLE test t2 -wait/io/table/sql/handler 54 TABLE test t3 +wait/io/table/sql/handler 50 TABLE test t3 wait/lock/table/sql/handler 32 TABLE test t3 execute dump_waits_index_io; object_type object_schema object_name index_name count_star count_read count_write count_fetch count_insert count_update count_delete @@ -1785,16 +1850,16 @@ TABLE test t1 0 0 0 0 0 0 0 TABLE test t2 0 0 0 0 0 0 0 TABLE test t3 0 0 0 0 0 0 0 execute dump_waits_table_lock; -object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_delayed count_write_low_priority count_write_external -TABLE test t1 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t2 0 0 0 0 0 0 0 0 0 0 0 -TABLE test t3 0 0 0 0 0 0 0 0 0 0 0 +object_type object_schema object_name count_star count_read count_write count_read_normal count_read_with_shared_locks count_read_high_priority count_read_no_insert count_read_external count_write_low_priority count_write_external +TABLE test t1 0 0 0 0 0 0 0 0 0 0 +TABLE test t2 0 0 0 0 0 0 0 0 0 0 +TABLE test t3 0 0 0 0 0 0 0 0 0 0 execute dump_objects_summary; object_type object_schema object_name count_star TABLE test t1 0 TABLE test t2 0 TABLE test t3 0 -show status like "performance_schema%"; +show global status like "performance_schema%"; Variable_name Value Performance_schema_accounts_lost 0 Performance_schema_cond_classes_lost 0 @@ -1804,9 +1869,15 @@ Performance_schema_file_classes_lost 0 Performance_schema_file_handles_lost 0 Performance_schema_file_instances_lost 0 Performance_schema_hosts_lost 0 +Performance_schema_index_stat_lost 0 Performance_schema_locker_lost 0 +Performance_schema_memory_classes_lost 0 +Performance_schema_metadata_lock_lost 0 Performance_schema_mutex_classes_lost 0 Performance_schema_mutex_instances_lost 0 +Performance_schema_nested_statement_lost 0 +Performance_schema_prepared_statements_lost 0 +Performance_schema_program_lost 0 Performance_schema_rwlock_classes_lost 0 Performance_schema_rwlock_instances_lost 0 Performance_schema_session_connect_attrs_lost 0 @@ -1816,6 +1887,7 @@ Performance_schema_stage_classes_lost 0 Performance_schema_statement_classes_lost 0 Performance_schema_table_handles_lost 0 Performance_schema_table_instances_lost 0 +Performance_schema_table_lock_stat_lost 0 Performance_schema_thread_classes_lost 0 Performance_schema_thread_instances_lost 0 Performance_schema_users_lost 0 |