Re: First steps with 8.3 and autovacuum launcher
Michael Paesold <mpaesold@gmx.at>
From: Michael Paesold <mpaesold@gmx.at>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>, Simon Riggs <simon@2ndquadrant.com>, "Matthew T. O'Connor" <matthew@zeut.net>, Heikki Linnakangas <heikki@enterprisedb.com>, Gregory Stark <stark@enterprisedb.com>, Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>, Guillaume Smet <guillaume.smet@gmail.com>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2007-10-02T09:23:12Z
Lists: pgsql-hackers
Tom Lane wrote: > In the worst case autovac could be starved out for a long time. > I don't have any immediate good idea about how to fix that, but > the worst consequences could be avoided if we disable the cancellation > ability when running an anti-wraparound vacuum. Further down the road > (*not* 8.3), when we teach autovac about maintenance windows, it might > also disregard cancels during a maintenance window. During maintenance window, it could instead lower vacuum cost delay in the case it would otherwise abort. That would also make sure that the task would finally finish at some point (even when the maintenance window ends too early... or perhaps any cleanup task started during a maintenance window should keep it's "maintenance priority"?) Best Regards Michael Paesold