From: Bruce Momjian <bruce@momjian.us>
To: Andy Lester <andy@petdance.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5932: CLUSTER doesn't update n_dead_tup
Date: Tue, 6 Sep 2011 10:08:59 -0400 (EDT)
Message-ID: <201109061408.p86E8xZ25640@momjian.us> (raw)
In-Reply-To: <8416A5E4-4A10-4142-AE4F-EC1FE66566AC@petdance.com>
Andy Lester wrote:
>
> On Sep 6, 2011, at 9:04 AM, Bruce Momjian wrote:
>
> > Well, if you TRUNCATE I don't think it updates the statistics either. I
> > think we assume the autovacuum system will analyse the new table soon.
>
>
> When I brought this up in IRC, I recall that that sentiment was
> expressed, along with the standard "What do you mean you're not running
> autovacuum?"
Well, if you are not running autovacuum you should be running vacuum and
analyze manually as needed.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
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-bugs@postgresql.org
Cc: bruce@momjian.us, andy@petdance.com
Subject: Re: BUG #5932: CLUSTER doesn't update n_dead_tup
In-Reply-To: <201109061408.p86E8xZ25640@momjian.us>
References: <8416A5E4-4A10-4142-AE4F-EC1FE66566AC@petdance.com> <201109061408.p86E8xZ25640@momjian.us>
* 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