AWS Databasesยท
Performance impact of excessive logging in Amazon Aurora PostgreSQL
TL;DR
Excessive logging can quietly limit Aurora PostgreSQL performance, even when small-scale tests show little impact. Testing the same workload with pgbench under three logging configurations found negligible differences at low concurrency, but at 800 clients verbose statement logging reduced throughput by about 10%, and adding full audit logging dropped it from 16,202 to 5,039 transactions per second. The results show why logging settings need testing under realistic load rather than being left at maximum verbosity.
Relevant links
- Amazon Auroraaws.amazon.com
- Best Practicesaws.amazon.com
- Intermediate (200)aws.amazon.com
- RDS for PostgreSQLaws.amazon.com
- Create an Amazon Aurora PostgreSQL-Compatible DB clusterdocs.aws.amazon.com
- Amazon Elastic Compute Cloudaws.amazon.com
- Create your EC2 resources and launch your EC2 instancedocs.aws.amazon.com
- set up connectivity between your Amazon RDS database and EC2 compute instancedocs.aws.amazon.com
- CloudWatch Database Insightsdocs.aws.amazon.com