MySQL performance optimization
Table design optimization SQL optimization system→ const→ eq_ref→ ref→ range→ index→ ALL. The goal of SQL performance optimization should at least reach rangelevel 1, and ideally it ref should be level consts 2. The main optimization method is indexes , which will be discussed in detail in the “Index Optimization” section later. question Disadvantages of Large SQL Advantages of splitting into smaller SQL statements Lock contention … Read more