Re: After how many updates should a vacuum be performed?

From: Ellen Cyran <ellen(at)urban(dot)csuohio(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: After how many updates should a vacuum be performed?
Date: 2006-09-13 16:31:48
Message-ID: 45083274.902@urban.csuohio.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

No, I mean vacuum analyze. I'll vacuum verbose and see about adjusting
the fsm. Thanks.

Tom Lane wrote:

> Ellen Cyran <ellen(at)urban(dot)csuohio(dot)edu> writes:
>
>>We have a database that periodically we perform large updates, around
>>a million records, after that the vacuum will run for 12 hours without
>>completing. After that, I typically remove the 2 indexes and 1
>>constraint on the largest table, 7 million records, and the vacuum will
>>complete in a couple of hours and the indexes can be recreated in a half
>>hour.
>
>
> By "vacuum" do you mean VACUUM FULL? My advice is not to use that,
> just plain VACUUM. Don't forget to make sure your FSM is large enough,
> too.
>
> regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-09-13 16:50:26 Re: COPY FROM command v8.1.4
Previous Message Tom Lane 2006-09-13 16:19:09 Re: After how many updates should a vacuum be performed?