Server optimization ideas, first locate the problem
- Observation of server status, fault or whether cyclical fluctuations
- Access is normally provided by the peak or cache Ben collapse due to: increase the buffer, or cache expiration time set at night or timing out
- Turn on slow query, get problematic sql, and long long wait statement to execute when the statement execution plan analysis
- If the executive: Table 1 Structure; 2 index is not optimization; 3 no statement optimization.
- If the long wait: 4 Tuning server parameters, such as the number of threads buffers and the like.
- If the problem is not resolved, it has to observe whether the query speed bottleneck benchmark. The machine has been added to the bottleneck, not, repeat the above steps.