Help Center/
Relational Database Service/
Troubleshooting/
RDS for MySQL/
Performance Issues/
Insufficient Disk Bandwidth
Updated on 2023-03-06 GMT+08:00
Insufficient Disk Bandwidth
Scenario
The SQL statement execution of an RDS for MySQL instance slows down (for more than 5 seconds), and an error is reported due to a timeout.
Troubleshooting
- Check for slow SQL queries. In this example, slow SQL queries of the instance started to increase at 18:03 and reached up to 700 per second.
Figure 1 Slow SQL queries
- Check the CPU usage. The CPU usage was 88% at the time and was not a performance bottleneck.
Figure 2 CPU usage
- Check the QPS. The QPS increased by more than three times from 18:03 to 18:05, indicating that the service was being provided during peak hours.
Figure 3 QPS
- Check the disk read and write throughput. The disk throughput reached 350 MB/s, making it a performance bottleneck.
Solution
- Adjust the value of innodb_io_capacity or innodb_io_capacity_max to prevent high I/O throughput because underlying data reads and writes will generate physical I/Os if the requested data page cannot be hit in the buffer pool.
- Purchase a DB instance with high-performance extreme SSD as the storage type or upgrade the instance memory specifications to cache more data to the buffer pool.
Parent topic: Performance Issues
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot