Why do we let autovacuum give up?

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Why do we let autovacuum give up?
Date: 2014-01-23 20:34:28
Message-ID: 52E17CD4.2060102@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello,

I have run into yet again another situation where there was an
assumption that autovacuum was keeping up and it wasn't. It was caused
by autovacuum quitting because another process requested a lock.

In turn we received a ton of bloat on pg_attribute which caused all
kinds of other issues (as can be expected).

The more I run into it, the more it seems like autovacuum should behave
like vacuum, in that it gets precedence when it is running. First come,
first serve as they say.

Thoughts?

JD
--
Command Prompt, Inc. - http://www.commandprompt.com/ 509-416-6579
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC, @cmdpromptinc
For my dreams of your image that blossoms
a rose in the deeps of my heart. - W.B. Yeats

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-01-23 20:37:05 Re: Re: [COMMITTERS] pgsql: Compress GIN posting lists, for smaller index size.
Previous Message Tom Lane 2014-01-23 20:20:54 Re: Add CREATE support to event triggers