An insurance platform hit warnings that the database was within a few tens of millions of transactions of wraparound protection kicking in, which would have forced the cluster into read-only mode. AceMQ engaged under the emergency SLA and worked the problem alongside the customer's platform team.
Autovacuum on the largest tables was being cancelled repeatedly and restarted from scratch, so the freeze horizon never advanced. Long-running analytics sessions and an idle-in-transaction connection pool were pinning the xmin horizon, meaning even successful vacuum runs could not reclaim tuples. Cost-based delay settings inherited from a much smaller deployment throttled autovacuum to a fraction of the available I/O.
PostgreSQL primary with streaming replicas on on-premises hardware, supporting policy administration and claims workloads.
The immediate priority was advancing the freeze horizon on the highest-age tables before the cluster protected itself. AceMQ ran targeted manual vacuum freeze operations against those tables with tuned worker settings, while simultaneously removing the blockers preventing autovacuum from completing so the fix would hold after the incident.
The freeze horizon advanced well clear of the wraparound threshold and the cluster never entered read-only mode. Autovacuum now completes on the large tables during normal operation, and bloat that had accumulated over months began reclaiming on its own.
Ongoing support for a cluster where an abandoned logical replication slot repeatedly filled the WAL volume and threatened to halt the primary.
Independent assessment of query performance, index health, table and index bloat, and connection management for a cluster with degrading response times.
Whether you need architecture advisory, 24/7 support, or full managed services, AceMQ has the expertise to help.