Re: autovacuum not prioritising for-wraparound tables - Mailing list pgsql-hackers

From Christopher Browne
Subject Re: autovacuum not prioritising for-wraparound tables
Date
Msg-id CAFNqd5UaihcnGA6t_hFV=jjpvZsWOyxssZYYO3BmkzKOfcN=zA@mail.gmail.com
Whole thread Raw
In response to Re: autovacuum not prioritising for-wraparound tables  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: autovacuum not prioritising for-wraparound tables
List pgsql-hackers
On Thu, Jan 24, 2013 at 5:22 PM, Heikki Linnakangas
<hlinnakangas@vmware.com> wrote:
> Backpatching sounds a bit scary. It's not a clear-cut bug, it's just that
> autovacuum could be smarter about its priorities. There are other ways you
> can still bump into the xid-wraparound issue, even with this patch.

I don't think this is a single-priority issue.  It's *also* crucial
that small tables
with high "tuple attrition rates" get vacuumed extremely frequently; your system
will bog down, albeit in a different way, if the small tables don't
get vacuumed enough.

This seems to me to involve multiple competing priorities where the
main solution
*I* can think of is to have multiple backends doing autovacuum, and assigning
some to XID activity and others to the "small, needs vacuuming
frequently" tables.
-- 
When confronted by a difficult problem, solve it by reducing it to the
question, "How would the Lone Ranger handle this?"



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Performance patch for Win32
Next
From: Bruce Momjian
Date:
Subject: Re: has_language_privilege returns incorrect answer for non-superuser