X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6C38C3A4813 for ; Fri, 12 Nov 2004 21:19:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04399-03 for ; Fri, 12 Nov 2004 21:19:09 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 05C513A4820 for ; Fri, 12 Nov 2004 21:19:09 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id iACLJ6jZ022588; Fri, 12 Nov 2004 16:19:06 -0500 (EST) To: josh@agliodbs.com Cc: pgsql-performance@postgresql.org Subject: Re: Clarification on two bits on VACUUM FULL VERBOSE output In-reply-to: <200411121311.33769.josh@agliodbs.com> References: <200411121042.02759.josh@agliodbs.com> <21555.1100287230@sss.pgh.pa.us> <200411121311.33769.josh@agliodbs.com> Comments: In-reply-to Josh Berkus message dated "Fri, 12 Nov 2004 13:11:33 -0800" Date: Fri, 12 Nov 2004 16:19:06 -0500 Message-ID: <22587.1100294346@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/195 X-Sequence-Number: 9149 Josh Berkus writes: >>> "There were 33076 unused item pointers." >>> Is this a count of dead index pointers, or something else? >> >> No, it's currently-unused item pointers (a/k/a line pointers) on heap >> pages. See http://developer.postgresql.org/docs/postgres/page.html > So this would be a count of pointers whose items had already been moved? Either deleted, or moved to another page during VACUUM FULL compaction. Such a pointer can be recycled to point to a new item, if there's room to put another item on its page ... but if not, the pointer is wasted space. I don't believe we ever try to physically eliminate unused item pointers. regards, tom lane