Comments - OPTIMIZE TABLE
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
MariaDB does not want to document it (MDEV-30635). So I make a note here:
OPTIMIZE TABLE does an implicit ANALYZE TABLE for Storage Engines that do not "support OPTIMIZE TABLE internally and the server emulates it with ALTER TABLE" (InnoDB).