X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D38B94758E6 for ; Tue, 8 Apr 2003 13:52:17 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 26657474E42 for ; Tue, 8 Apr 2003 13:52:17 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h38HqD2L015398; Tue, 8 Apr 2003 13:52:13 -0400 (EDT) To: Jeff Boes Cc: pgsql-admin@postgresql.org Subject: Re: pg_class.reltuples not reset by VACUUM? In-reply-to: References: Comments: In-reply-to Jeff Boes message dated "Tue, 08 Apr 2003 13:46:49 -0400" Date: Tue, 08 Apr 2003 13:52:13 -0400 Message-ID: <15397.1049824333@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-32.3 required=5.0 tests=BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/102 X-Sequence-Number: 8257 Jeff Boes writes: > I thought that VACUUM ANALYZE would always restore some sense of reality > to the internal statistics for a table. However ... Could we see the output of VACUUM VERBOSE for that table? I suspect you have lots of dead-but-not-yet-reclaimable tuples in the table, presumably because there is some very old transaction lurking in the background. regards, tom lane