Eliminating settlement lock contention on a 6 TB PostgreSQL cluster
During end-of-day clearing windows, p99 latency exceeded 2.4 seconds and autovacuum fell behind. We introduced monthly range partitioning, partial covering indexes, and transaction-pooled PgBouncer with zero downtime.
- P99 Latency
- 2,400 ms → 11 ms
- Migration Downtime
- 0 minutes
- RDS Spend
- -62%