Increase the maximum storage threshold for RDS

0

Hi,

I'm seeing alot of events : Storage size 30 GB is approaching the maximum storage threshold 35 GB. Increase the maximum storage threshold.

I've checked the database size that I have in this RDS and its only 100MB so why am I getting that the storage size is approaching the maximum storage threshold ?

  • please accept the answer if it was useful

debcat
asked 20 days ago182 views
2 Answers
0

The message you're seeing about the RDS storage size approaching the maximum threshold, despite your database only using 100MB, suggests that there could be other factors utilizing the storage. Here are a few steps and considerations to help you investigate and resolve this issue:

Log Files: RDS automatically generates various log files, such as error logs, slow query logs, and general logs, which can consume significant disk space over time. Check the size of these logs and configure their retention settings appropriately in the RDS console.

Snapshots and Backups: Automatic backups and manual snapshots also use storage within your RDS instance's allocated space. Review your backup retention policy and the number of snapshots you're keeping.

Index and Overhead Space: Database indexing and overhead can consume more space than the visible data size. Run a detailed report or use a database management tool to examine how much space your indexes and overhead are consuming.

Hidden Tables or Unused Schemas: Sometimes applications or users might create additional data structures that aren't regularly monitored. Make sure all tables and schemas are accounted for.

Increase Storage Threshold or Clean Up: If you find that the space is legitimately being used and necessary, consider increasing the storage limit of your RDS instance. This can typically be done through the AWS Management Console under the RDS section, selecting your instance, and modifying the allocated storage. If it's not necessary, then actions such as cleaning up old logs, compressing tables, or removing unnecessary data might be appropriate.

If after these checks you still find discrepancies, it might be worthwhile to reach out to AWS Support for a deeper analysis, as there could be specific settings or issues related to your instance type or configuration affecting the storage usage.

profile picture
EXPERT
answered 20 days ago
  • Hi Thanks for your answer. Do you know how I can change the retention settings for the logs of RDS as I cannot seem to find settings related to this in the Console

  • I have to disagree with Snapshots being part of the allocated storage. Snapshots are store in S3 (Hidden) and I believe are not included in the RDS Storage allocation

0

This error is because you have a Maximum storage threshold configured on the RDS Instance of 35GB and your Storage is at 30GB. This will alert because its within 26% of the Max. It doesnt mean your using 30 GB of storage.

If you look at the FREE storage Metric of the RDS i believe you will have 28GB ish free space.

Increase your Maxium storage threshold to 40GB and I believe your alerts will subside.

You must set the maximum storage threshold to at least 10% more than the current allocated storage. We recommend setting it to at least 26% more to avoid receiving an event notification that the storage size is approaching the maximum storage threshold. https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#:~:text=You%20must%20set%20the%20maximum,approaching%20the%20maximum%20storage%20threshold.

profile picture
EXPERT
answered 19 days ago
  • I have already increased the DB storage size from 20GB to 25GB and again to 35GB so I wish to find a solution where I know what is taking up this storage and remove any unnecessary data rather than keep adding the threshold.

  • Have you increased the DB Storage size OR Maximum storage threshold? Its the threshold you need to increase not the DB size.. Whats your FREE size stat?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions