Re: [GENERAL] Autovacuum stuck for hours, blocking queries - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: [GENERAL] Autovacuum stuck for hours, blocking queries
Date
Msg-id 20170216224932.fsufp4fssamurq2x@alvherre.pgsql
Whole thread Raw
In response to Re: [GENERAL] Autovacuum stuck for hours, blocking queries  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane wrote:

> Also you might want to look into how you got into a situation where
> you have an anti-wraparound vacuum that's taking so long to run.

If there are ALTERs running all the time, regular (non-anti-wraparound)
vacuums would be canceled and never get a chance to run.  Eventually,
autovacuum decides it's had enough and doesn't cancel anymore, so
everyone else gets stuck behind.

--
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Autovacuum stuck for hours, blocking queries
Next
From: David Hinkle
Date:
Subject: Re: [GENERAL] Bad planning data resulting in OOM killing of postgres