[MySQL] optimize table)

Source: Internet
Author: User

If a table has a large amount of data and is often inserted or deleted, a large amount of space fragments will be generated (mainly because the server does not necessarily release disk space when performing the delete operation on the table, or the impact of data block size ). If these fragments are cleared from time to time, the database performance will speed up and decrease.

Therefore, you should have a scheduled task to perform optimize operations on the table. On the one hand, you can reclaim a large amount of physical space, and on the other hand, you can greatly restore the original performance of the MySQL database.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.