How do I view the total storage used for my Amazon Aurora MySQL DB cluster?
Last updated: 2022-07-05
I want to see the size of my Amazon Aurora MySQL-Compatible Edition DB cluster volume.
Aurora MySQL-Compatible cluster volume automatically scales up as the amount of data in your database increases. A database can be scaled up to a maximum of 128 tebibytes (TiB) in Aurora MySQL-Compatible versions 1.23.0 or higher, 2.09.0 or higher, and 3.01.0 or higher. For all previous versions, a database can be scaled up to a maximum of 64 TiB. You can review the storage that is used by the Aurora MySQL-Compatible cluster by using the following the Amazon CloudWatch metrics:
- AuroraVolumeBytesLeftTotal is the remaining available space for the cluster volume, as measured in bytes. As the data grows in your cluster, the value for AuroraVolumeBytesLeftTotal decreases. This value can help you identify when the cluster is approaching its size limit.
Note: The AuroraVolumeBytesLeftTotal metric is available only on Aurora MySQL-Compatible version 1.19.5 or higher, and on Aurora MySQL-Compatible version 2.04.5 or higher.
- VolumeBytesUsed is the amount of storage used by the Aurora MySQL-Compatible DB cluster in bytes. As the data grows in your cluster, the value for VolumeBytesUsed increases.
Important: Dynamically reducing the billed storage on deleting data is possible on certain Aurora MySQL-Compatible versions. For more information, see Aurora storage scaling.
View the AuroraVolumeBytesLeftTotal in the CloudWatch console
- Open the CloudWatch console.
- Choose Metrics from the navigation pane.
- In the All metrics tab, choose RDS.
- Choose DBClusterIdentifier.
- Enter AuroraVolumeBytesLeftTotal in the search box, and select the metric.
For more information, see Viewing available metrics.
View the VolumeBytesUsed in the RDS console
- Open the Amazon Relational Database Service console.
- Choose the AWS Region where you created the Aurora MySQL-Compatible DB cluster.
- Choose Databases from the navigation pane, and then choose the name of the DB instance that you want to monitor.
- Choose the Monitoring tab.
- From the CloudWatch section, enter [Billed] Volume Bytes Used, or choose it from the list. The storage use appears on the graph.
Note: Aurora uses separate local storage for nonpersistent temporary files. This includes database logs and files that are used for sorting large data sets during query processing and building indexes. For more information, see Temporary storage limits for Aurora MySQL and Temporary storage limits for Aurora PostgreSQL. You can monitor local storage available for a specific database instance with the FreeLocalStorage Cloudwatch metric.