TL;DR
information_schema.tables ( SHOW TABLE STATUS はここから値を持って生きている)の値は information_schema_stats_expiry 秒間更新されない
なので SET SESSION information_schema_stats_expiry = 0 とかするとほぼ今まで通りの挙動になる
See also, MySQL Bugs: #91038: AUTO_INCREMENT does not increase automatically
...
オプションにも書いてある通り、単位は秒でデフォルトは86400秒(= 24時間)
つまりどれだけテーブルを更新しようと、 information_schema.tables や SHOW TABLE STATUS の値は「最後に mysql.table_stats が更新されてから24時間」は全く変更されない(ように見える)
例えば OPTIMIZE TABLE してすぐ結果確認したい時は information_schema_stats_expiry 設定が必要
SET SESSION information_schema_stats_expiry=1; SELECT table_schema, table_name, data_free, table_rows FROM information_schema.tables WHERE table_name = 'wp_actionscheduler_actions'; OPTIMIZE TABLE wp_actionscheduler_actions; SELECT table_schema, table_name, data_free, table_rows FROM information_schema.tables WHERE table_name = 'wp_actionscheduler_actions';