How often should you use OPTIMIZE TABLE?
Many times I’ve heard people advise on “best practices” for a MySQL database. This often includes routine maintenance, such as “you should run OPTIMIZE TABLE on all of your InnoDB tables once a week to defragment them for better performance.”
But this advice is unsubstantiated and could even be detrimental.
Wanted: Senior Software Engineer at Solutions Beyond Pvt Ltd (Chandigarh). See this and other great job listings on the jobs page.
Want to have your say? just login


Be first to show your opinion !!!