Optimizing disk space for MyISAM tables: what is the benefit of ALTER and ANALYZE if you already do OPTIMIZE?

dba.stackexchange https://dba.stackexchange.com/questions/44706

  •  01-11-2019
  •  | 
  •  

Question

Per this post, in order to optimize the storage of a MyISAM table, you need to:

OPTIMIZE TABLE ;
ALTER TABLE ENGINE=MyISAM ; 
ANALYZE TABLE ;

It's obvious what OPTIMIZE does for disk space but what does ALTER and ANALYZE do when used after OPTIMIZE? I am asking specifically about disk storage, so for example, I don't care that ANALYZE improves join performance, etc.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top