- Newest
- Most votes
- Most comments
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:
- Use Performance Insights to identify which queries are consuming the most resources
- Correlate high ACU utilization periods with specific user activity
- 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
Relevant content
asked a year ago
- AWS OFFICIALUpdated 10 months ago
