From: Ellen Cyran <ellen@urban.csuohio.edu>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: After how many updates should a vacuum be performed?
Date: Wed, 13 Sep 2006 12:31:48 -0400
Message-ID: <45083274.902@urban.csuohio.edu> (raw)
In-Reply-To: <12738.1158164349@sss.pgh.pa.us>
References: <45082C83.5040206@urban.csuohio.edu>
<12738.1158164349@sss.pgh.pa.us>
No, I mean vacuum analyze. I'll vacuum verbose and see about adjusting
the fsm. Thanks.
Tom Lane wrote:
> Ellen Cyran <ellen@urban.csuohio.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ellen@urban.csuohio.edu, tgl@sss.pgh.pa.us
Subject: Re: After how many updates should a vacuum be performed?
In-Reply-To: <45083274.902@urban.csuohio.edu>
References: <45082C83.5040206@urban.csuohio.edu> <12738.1158164349@sss.pgh.pa.us> <45083274.902@urban.csuohio.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox