What Should I Do If the CPU Usage of My TaurusDB Instance Is High?
If the CPU usage is high or close to 100% when you use TaurusDB, data read/write processing slows down, connections cannot be established, and errors are reported, affecting workloads.
Solution
- Check slow SQL logs for slow queries and examine their performance characteristics (if any) to locate the cause.
For details on viewing TaurusDB logs, see Managing Slow Query Logs of a DB Instance.
- View the CPU usage of your TaurusDB instance to facilitate problem locating.
For details, see TaurusDB Metrics.
- Create read replicas to offload read pressure from the primary node.
- Add indexes for associated fields in multi-table association queries.
- Do not use the SELECT statement to scan all tables. You can specify fields or add the WHERE condition.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot