TL;DR 我々の次のMySQLは 8.0.28 (効果には個人差があります) 量が膨大になるので昇順に調べるのではなく降順に調べていく パラメーターに現れない、いきなり挙動が変わるかも知れないものは “What Is New” か “Release Notes” What Is New in MySQL 8.0 ‐ MySQL 8.0 Release Notes ‐ パラメーターのデフォルト変更系は “MySQL Parameters” MySQL Parameters ‐ 1/50
ぼくらのMySQL 8.0 AS-IS: 8.0.19 (2020-01-13) TO-BE: WHERE bug NOT IN (致命的) ORDER BY version DESC LIMIT 1 を探す WHERE bug NOT IN (致命的) ORDER BY version ASC はやめた方が良いと思います、量が膨大な ので ‐ 20/50
その後わかったこと Percona fixed the corruption issue and several other issues with the INSTANT ADD/DROP column feature in the upcoming Percona Server for MySQL 8.0.29 (check PS-8291 / PS-8292 / PS-8303 for more details) we also raised and provided patches for those issues as a contribution to Community MySQL (see 107613 / 107611 / 107854 for details). Percona XtraBackup 8.0.29 and INSTANT ADD/DROP Columns - Percona Database Performance Blog 37/50
その後わかったこと InnoDB: A TRUNCATE TABLE operation failed to remove data dictionary entries for columns that were dropped using ALGORITHM=INSTANT.(Bug #34302445) InnoDB: An incorrect nullable column calculation on tables with instantly added columns caused data to be interpreted incorrectly. (Bug #34243694) InnoDB: After upgrading to MySQL 8.0.29, a failure occurred when attempting to access a table with an instantly added column. (Bug #34233264) MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.30 (2022-07-26, General Availability) 38/50
その後わかったこと InnoDB: Only the physical position of instantly added columns was logged, which was not sufficient for index recovery. The logical position of columns was also required. (Bug #34181432) InnoDB: The field_phy_pos debug variable in the InnoDB sources was not updated for child tables during a cascading update operation. (Bug #34181419) InnoDB: Some instances of the rec_get_instant_row_version_old() function in the InnoDB sources did not check for row versioning. (Bug #34173616) MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.30 (2022-07-26, General Availability) 39/50
まとめ 我々の次のMySQLは 8.0.28 (効果には個人差があります) 量が膨大になるので昇順に調べるのではなく降順に調べていく ‐ パラメーターに現れない、いきなり挙動が変わるかも知れないものは “What Is New” か “Release Notes” What Is New in MySQL 8.0 ‐ MySQL 8.0 Release Notes ‐ パラメーターのデフォルト変更系は “MySQL Parameters” MySQL Parameters ‐ 41/50