Help Center/
Relational Database Service/
User Guide (ME-Abu Dhabi Region) /
FAQs/
Database Storage/
What Should I Do If My Data Exceeds the Database Storage Space of an RDS DB Instance?
Updated on 2023-07-06 GMT+08:00
What Should I Do If My Data Exceeds the Database Storage Space of an RDS DB Instance?
Scenario
The database storage space of an RDS DB instance is exhausted, and applications cannot read data from or write data to databases, interrupting services.
Cause
- Data occupies a great amount of storage space.
- A large number of binlog files are generated due to a large number of transactions and write operations.
- A large number of temporary files are generated due to a large number of sorting queries executed by applications.
Solution
- If data occupies too much storage space, run DROP, TRUNCATE, or DELETE+OPTIMIZE TABLE to delete useless historical table data to release storage space. If no historical data can be deleted, scale up your storage space.
- If binlog files occupy too much storage space, contact technical support to delete local binlog files to release storage space.
- If temporary files generated by sorting queries occupy too much storage space, optimize your SQL query statements.
- If the preceding solutions are invalid, implement database and table sharding.
Parent topic: Database Storage
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