The following command example returns the amount of free storage space available for an rds database instance identified by the id cc mysql prod db data captured during a.
Aws rds free storage space metric.
Track the performance and health of your amazon rds db instance by monitoring amazon rds.
Disk space consumption investigate disk space consumption if space used is consistently at or above 85 percent of the total disk space.
Related information how do i resolve problems with my amazon rds mysql db instance that s using more storage than expected.
For more information see monitoring with amazon cloudwatch.
Heavy write activity detailed logging or large numbers of transactional logs are significant contributors to lower free storage.
If you receive an alarm you can review the previous possible causes of storage issues.
Go to aws cloudwatch.
On the right hand section under rds metrics click per database metrics.
It shows that free storage.
The aws rds namespace includes the following metrics that apply to database entities running on amazon aurora.
High cpu or ram consumption high values for cpu or ram consumption might be appropriate if they re in keeping with your goals for your application like throughput or concurrency and are expected.
Finally monitor the freestoragespace metric by setting up an amazon cloudwatch alarm so that you receive a notification when your db instance is low on free space.
Some metrics apply to either aurora mysql aurora postgresql or both.
05 run get metric statistics command osx linux unix to get the statistics recorded by aws cloudwatch for the freestoragespace metric representing the amount of available storage space bytes for the selected rds instance.
You can increase the amount of free storage space for an instance by choosing a larger db instance class for your instance.
Use amazon cloudwatch to monitor your db storage space by using the freestoragespace metric.
Under the column dbinstanceidentifier select the database you wish to monitor for free storage space and click next when you are done.
Create alarms in the cloudwatch console or use the aws command line interface aws cli to create alarms that monitor free storage space.
The following graph shows an amazon rds postgresql instance s freestoragespace metric.
To avoid the storage full state consider using one or more of the following preventative measures.
Metric description applies to.
By setting an amazon cloudwatch alarm for free storage space you receive a notification when the space starts to decrease.
Monitor available storage space for a db instance by using the freestoragespace metric that is published in amazon cloudwatch.
By creating cloudwatch alarms that notify you when the freestoragespace metric reaches a defined threshold you can prevent storage full issues this can prevent downtime that occurs when your rds db instance runs out of storage.