Mysql 5.5: Optimizing all tables with mysqlcheck - is it useful to run the -check option along with -optimize?

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

Question

I plan on running 'mysqlcheck --optimize --all-databases' to clear up some fragmentation.

Would it be useful to run -check with this option or does the -optimize already take care of that? I am only concerned because we have large tables (over 100GB) and this is on a production system and we don't want to have unnecessary downtime.

tom.

No correct solution

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