| From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | "Sachchida Ojha" <sojha(at)secure-elements(dot)com> |
| Cc: | "Michael Glaesemann" <grzm(at)seespotcode(dot)net>, pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: Autovacuum is running forever |
| Date: | 2007-08-21 22:03:25 |
| Message-ID: | dcc563d10708211503r7058a1f7v73cff44dc3409c1f@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On 8/21/07, Sachchida Ojha <sojha(at)secure-elements(dot)com> wrote:
> Is there any data corruption/damage to the database if we forcefully
> kill autovacuum using cron job (if it is running longer than a
> predefined time frame).
Not really. but vacuum will just have to run that long again plus
some the next time it starts up.
Again, it's better to run vacuum more often not less often, and keep
the cost_delay high enough that it doesn't interfere with your I/O.
however, that will make it run even longer.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Scott Marlowe | 2007-08-21 22:05:05 | Re: Autovacuum is running forever |
| Previous Message | Scott Marlowe | 2007-08-21 22:01:23 | Re: Autovacuum is running forever |