Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A3565B5DBE9 for ; Tue, 6 Sep 2011 11:07:48 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 40876-03 for ; Tue, 6 Sep 2011 14:07:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from huggy.petdance.com (huggy.petdance.com [72.14.176.61]) by mail.postgresql.org (Postfix) with ESMTP id 860BFB5DE8E for ; Tue, 6 Sep 2011 11:07:40 -0300 (ADT) Received: from [172.28.1.125] (host3130.follett.com [12.47.12.130]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: andy) by huggy.petdance.com (Postfix) with ESMTP id 9BD6141BE07; Tue, 6 Sep 2011 10:07:39 -0400 (EDT) Subject: Re: BUG #5932: CLUSTER doesn't update n_dead_tup Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/alternative; boundary="Apple-Mail=_D108B0C8-9BDC-4B07-9A77-CB2A91E9C990" From: Andy Lester In-Reply-To: <201109061404.p86E4gH16362@momjian.us> Date: Tue, 6 Sep 2011 09:07:46 -0500 Cc: pgsql-bugs@postgresql.org Message-Id: <8416A5E4-4A10-4142-AE4F-EC1FE66566AC@petdance.com> References: <201109061404.p86E4gH16362@momjian.us> To: Bruce Momjian X-Mailer: Apple Mail (2.1244.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.403 tagged_above=-5 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/39 X-Sequence-Number: 31056 --Apple-Mail=_D108B0C8-9BDC-4B07-9A77-CB2A91E9C990 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii 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?" =20 -- Andy Lester =3D> andy@petdance.com =3D> www.petdance.com =3D> = AIM:petdance --Apple-Mail=_D108B0C8-9BDC-4B07-9A77-CB2A91E9C990 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
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?"  

--
Andy Lester = =3D> andy@petdance.com =3D> = www.petdance.com =3D> AIM:petdance

= --Apple-Mail=_D108B0C8-9BDC-4B07-9A77-CB2A91E9C990--