FOMO Daily
Feed
AWS Databases·

Improve RDS Proxy multiplexing for PostgreSQL, Part 2: Diagnose and monitor

DatabasesPostgreSQLAmazon RDS ProxyAmazon CloudWatchMonitoring

TL;DR

RDS Proxy’s PostgreSQL connection reuse can suffer from pinned sessions, fragmented pools, and unfinished transactions, but metrics alone cannot identify the responsible applications. Temporarily enable enhanced proxy logging, analyze connection borrowing and releases with CloudWatch Logs Insights, and correlate events with PostgreSQL logs to pinpoint the cause. Healthy reuse means many clients share a smaller backend pool, with frequent connection returns and few pins or lingering transactions.

Relevant links

Sign in to save links
Read the original post Sign in to mark as read or skip