From: | Christopher Browne <cbbrowne(at)gmail(dot)com> |
---|---|
To: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: autovacuum not prioritising for-wraparound tables |
Date: | 2013-01-24 23:25:47 |
Message-ID: | CAFNqd5UaihcnGA6t_hFV=jjpvZsWOyxssZYYO3BmkzKOfcN=zA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Jan 24, 2013 at 5:22 PM, Heikki Linnakangas
<hlinnakangas(at)vmware(dot)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?"
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2013-01-24 23:25:55 | Re: has_language_privilege returns incorrect answer for non-superuser |
Previous Message | Bruce Momjian | 2013-01-24 23:21:34 | Re: Performance patch for Win32 |