| 1 |
show global variables like "innodb_sort_buffer_size"; |
| 2 |
Variable_name Value |
| 3 |
innodb_sort_buffer_size 66664 |
| 4 |
SET debug_sync = 'alter_table_update_log signal send_concurrent WAIT_FOR concurrent_done'; |
| 5 |
OPTIMIZE TABLE t1;; |
| 6 |
SET debug_sync = 'now wait_for send_concurrent'; |
| 7 |
UPDATE t1 SET id = id + 1; |
| 8 |
SET debug_sync = 'now signal concurrent_done'; |
| 9 |
Table Op Msg_type Msg_text |
| 10 |
test.t1 optimize note Table does not support optimize, doing recreate + analyze instead |
| 11 |
test.t1 optimize status OK |
| 12 |
DROP TABLE t1; |