NOTE
1.23 MySQL Production Issue Troubleshooting
CPU 100% 1. Use show processlist to list all processes and inspect the sessions that are running to see whether resource-consuming SQL is executing 2. Find the high-consumption SQL, kill those threads, and use explain to analyze the SQL
This is a historical learning note and may contain outdated or incomplete understanding.
CPU 100%
- Use
show processlistto list all processes. Check the running sessions to see whether any resource-consuming SQL is executing. - Find the SQL with high resource consumption and kill those threads; use
explainto analyze the SQL.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub