X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1C75ED1B500 for ; Tue, 7 Oct 2003 04:08:58 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 19191-05 for ; Tue, 7 Oct 2003 01:08:11 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 08F42D1B563 for ; Tue, 7 Oct 2003 01:08:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h97487hn020439; Tue, 7 Oct 2003 00:08:07 -0400 (EDT) To: cjwhite@cisco.com Cc: "'Robert Treat'" , pgsql-admin@postgresql.org Subject: Re: Question about DB VACUUM In-reply-to: <000301c38c88$68193830$0400a8c0@amer.cisco.com> References: <000301c38c88$68193830$0400a8c0@amer.cisco.com> Comments: In-reply-to "Chris White \(cjwhite\)" message dated "Mon, 06 Oct 2003 21:06:22 -0700" Date: Tue, 07 Oct 2003 00:08:07 -0400 Message-ID: <20438.1065499687@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/70 X-Sequence-Number: 10631 "Chris White \(cjwhite\)" writes: > But as you could see from the prior query \lo_list showed no large > objects, this was done just prior to the vacuum. > aesop=# \lo_list > Large objects > ID | Description > ----+------------- > (0 rows) > aesop=# vacuum verbose pg_largeobject; > NOTICE: --Relation pg_largeobject-- > NOTICE: Index pg_largeobject_loid_pn_index: Pages 2819; Tuples 460: > Deleted 84. This would seem to indicate that you have open transactions hanging around somewhere in the background. VACUUM can't delete tuples that might still be visible under MVCC rules to some open transaction. regards, tom lane