How do I view the total storage used for my Amazon Aurora MySQL DB cluster?

3 minuto de leitura
1

I want to see the size of my Amazon Aurora MySQL-Compatible Edition DB cluster volume.

Resolution

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

  1. Open the CloudWatch console.
  2. Choose Metrics from the navigation pane.
  3. In the All metrics tab, choose RDS.
  4. Choose DBClusterIdentifier.
  5. Enter AuroraVolumeBytesLeftTotal in the search box, and select the metric.

For more information, see Viewing available metrics.

View the VolumeBytesUsed in the RDS console

  1. Open the Amazon Relational Database Service console.
  2. Choose the AWS Region where you created the Aurora MySQL-Compatible DB cluster.
  3. Choose Databases from the navigation pane, and then choose the name of the DB instance that you want to monitor.
  4. Choose the Monitoring tab.
  5. 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.


Related information

Aurora DB clusters

Monitoring Aurora metrics with Amazon CloudWatch

Upgrading the minor version or patch level of an Aurora MySQL-Compatible DB cluster

AWS OFICIAL
AWS OFICIALAtualizada há 2 anos