From: | Glen Parker <glenebob(at)nwlink(dot)com> |
---|---|
To: | Postgres general mailing list <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Autovacuum Improvements |
Date: | 2006-12-19 21:19:39 |
Message-ID: | 4588576B.7030103@nwlink.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> 1) Allow multiple "autovacuum workers": Currently Autovacuum is only
> capable of ordering one vacuum command at a time, for most work loads
> this is sufficient but falls down when a hot (very actively updated
> table) goes unvacuumed for a long period of time because a large table
> is currently being worked on.
>
> 2) Once we can have multiple autovacuum workers: Create the concept of
> hot tables that require more attention and should never be ignored for
> more that X minutes, perhaps have one "autovacuum worker" per hot table?
> (What do people think of this?)
>
> 3) Create "Maintenance Windows" for autovacuum: Currently autovacuum
> makes all of it's decisions based on a single per-table threshold value,
> maintenance windows would allow the setting of a per-window, per-table
> threshold. This makes it possible to, for example, forbid (or strongly
> discourage) autovacuum from doing maintenance work during normal
> business hours either for the entire system or for specific tables.
>
> None of those three items are on the todo list, however I think there is
> general consensus that they (at least 1 & 3) are good ideas.
If it isn't there somewhere already, I would ask to add:
4) Expose all information used by autovacuum to form its decisions.
5) Expose a very easy way to discover autovacuum's opinion about a
particular table, for example "table_needs_vacuum(oid)", ignoring any
time constraints that may be in place.
-Glen
From | Date | Subject | |
---|---|---|---|
Next Message | Angva | 2006-12-19 21:28:16 | Re: out of memory woes |
Previous Message | Alvaro Herrera | 2006-12-19 21:04:46 | Re: Autovacuum Improvements |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrej Ricnik-Bay | 2006-12-19 21:27:45 | Re: Companies Contributing to Open Source |
Previous Message | Joshua D. Drake | 2006-12-19 21:13:01 | Re: Companies Contributing to Open Source |