From: | "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net> |
---|---|
To: | Hannu Krosing <hannu(at)skype(dot)net> |
Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, "Thomas F(dot) O'Connell" <tfo(at)sitening(dot)com>, Shelby Cain <alyandon(at)yahoo(dot)com>, Phil Endecott <spam_from_postgresql_general(at)chezphil(dot)org> |
Subject: | Re: Autovacuum in the backend |
Date: | 2005-06-15 20:02:34 |
Message-ID: | 42B0895A.6030607@zeut.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Hannu Krosing wrote:
>Can autovacuum yet be configured _not_ to run vacuum during some hours
>or above some load ?
>
>
That is certainly a goal, hopefully it will get done for 8.1. The
actual design I had in mind (based on prior discussion on hackers) is to
allow a maintenance window that would have lower vacuum thresholds, this
way only the tables that really need it will get vacuumed during the day.
>Even better - to stop or pause a long-running vacuum if load goes above
>some limit.
>
>
I don't think the current implementation if VACUUM can support that. I
believe that all the work will get rolled back if gets canceled.
Perhaps a decent solution would be to have autovacuum increase the
vacuum delay settings dynamically based on system load average. That
way if a vacuum starts and the system starts to get busy, the autoavcuum
daemon can increase the vacuum delay settings and VACUUM would honor
this while running.
>If it goes into backend before the above is done, it should at least be
>possible to switch it off completely.
>
>
Absolutely, in fact it will not only have the option to turn it off, it
will be off by default.
From | Date | Subject | |
---|---|---|---|
Next Message | uruz | 2005-06-15 20:02:43 | graphic client |
Previous Message | Matthew T. O'Connor | 2005-06-15 19:55:55 | Re: Autovacuum in the backend |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2005-06-15 20:21:30 | Re: Autovacuum in the backend |
Previous Message | Matthew T. O'Connor | 2005-06-15 19:55:55 | Re: Autovacuum in the backend |