Skip to content

Relate ACU usage to a specific user/database in Aurora postgresql?

0

While Cloudwatch provides monitoring for ACU utilization & Serverless Database Capacity, is it possible to relate ACU utilization to a specific database/user in Aurora postgresql?

asked a year ago220 views

1 Answer
0

Unfortunately, Aurora PostgreSQL doesn't provide a direct way to attribute ACU utilization to specific users or databases. CloudWatch metrics for Aurora Serverless v2 track ACU usage at the instance or cluster level, not at the database or user level.

The available metrics like ACUUtilization, ServerlessDatabaseCapacity, and related metrics are aggregated at the DB instance level (using the DBInstanceIdentifier dimension) or cluster level (using the DBClusterIdentifier dimension). You can filter these metrics by instance role (WRITER/READER) or engine name, but not by database or user.

To approximate user or database-specific resource usage, you would need to:

  1. Use Performance Insights to identify which queries are consuming the most resources
  2. Correlate high ACU utilization periods with specific user activity
  3. Monitor database-specific metrics through PostgreSQL's native monitoring views

Performance Insights can help you identify resource-intensive queries and the users executing them, which you can then correlate with periods of high ACU utilization. While this doesn't directly attribute ACU usage to specific users or databases, it can help you understand which workloads are driving capacity scaling.
Sources
Performance and scaling for Aurora Serverless v2 - Amazon Aurora
Amazon CloudWatch dimensions for Aurora - Amazon Aurora
Performance Insights counter metrics - Amazon Aurora

answered a year ago

EXPERT

reviewed a year ago

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.