How do I view storage use for my Amazon Aurora DB cluster?
Last updated: 2020-03-03
How can I see the size of my Amazon Aurora DB cluster volume?
Aurora cluster volumes automatically scale as the amount of data in your database increases, up to a maximum of 64 tebibytes (TiB). You can review the storage that is used by the Aurora cluster by using the following 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, which can help you identify when the cluster is approaching the 64 TiB size limit.
- VolumeBytesUsed is the amount of storage used by the Aurora DB cluster in bytes. As the data grows in your cluster, the value for VolumeBytesUsed increases.
Important: Your cluster volume storage won't shrink, even if you delete data from the cluster. For example, if you drop a table or partition, the allocated space remains the same. You'll continue to be charged for the amount of storage that was allocated. To reclaim the unused space in the cluster, create a new cluster, export the data to that cluster, and then delete the original cluster. You can monitor the size of your Aurora DB cluster in the Amazon RDS console or the Amazon CloudWatch console. For more information, see Amazon Aurora Storage and Reliability.
View the AuroraVolumeBytesLeftTotal in the CloudWatch console
- Open the CloudWatch console, and choose Metrics from the navigation pane.
- From 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 CloudWatch console
- Open the Amazon RDS console, and choose the AWS Region where you created the Aurora DB cluster.
- Choose Databases from the navigation pane, and 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.