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 47FF1D1B4FC for ; Tue, 7 Oct 2003 03:53:31 +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 18989-04 for ; Tue, 7 Oct 2003 00:52:44 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 43C7BD1B4FF for ; Tue, 7 Oct 2003 00:52:44 -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 h973qehn020335; Mon, 6 Oct 2003 23:52:40 -0400 (EDT) To: cjwhite@cisco.com Cc: "'Robert Treat'" , pgsql-admin@postgresql.org Subject: Re: Question about DB VACUUM In-reply-to: <004501c38c75$5d583530$5c976b80@amer.cisco.com> References: <004501c38c75$5d583530$5c976b80@amer.cisco.com> Comments: In-reply-to "Chris White \(cjwhite\)" message dated "Mon, 06 Oct 2003 18:50:13 -0700" Date: Mon, 06 Oct 2003 23:52:39 -0400 Message-ID: <20334.1065498759@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/68 X-Sequence-Number: 10629 "Chris White \(cjwhite\)" writes: > Why aren't there any unused tuples? The "unused" number isn't especially interesting, it's just the number of line pointer slots that were once used and aren't at the moment. At 4 bytes apiece, they aren't costing you anything worth noticing. > Why is the pg_largeobject_loid_pn_index table so big (2818 pages)? This looks like a standard "index bloat" problem (see the archives for details). "REINDEX pg_largeobject" would make the bloat go away for awhile. 7.4 should largely solve this problem, but in earlier releases you need to figure on periodic reindexing. > Why has table grown by 4 pages. Probably because there are now 460 live tuples instead of 227. I don't think you've entirely fixed your problem of not removing all unused large objects... regards, tom lane