MySQL database optimization ideas

    Recently, I have to optimize a test database, but I have no way to start. In addition, the previous optimizations are fragmented, and I have not considered this as a whole, so I will record it here.

general idea

1. My.cnf configuration parameter adjustment

2. For specific databases, analyze, check, optimize, repair tables, indexes, etc.

3. Analyze the execution plan for specific SQL statements and introduce general optimization strategies

4. Some rules that are followed in normal development

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325239829&siteId=291194637