Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 6D4799FB418 for ; Wed, 20 Jun 2007 06:05:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 78038-02 for ; Wed, 20 Jun 2007 06:05:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from oxford.xeocode.com (unknown [87.127.95.194]) by postgresql.org (Postfix) with ESMTP id 58BAC9FB409 for ; Wed, 20 Jun 2007 06:05:52 -0300 (ADT) Received: from localhost.enta.net ([127.0.0.1] helo=oxford.xeocode.com) by oxford.xeocode.com with esmtp (Exim 4.67) (envelope-from ) id 1I0w8K-0001CU-Jb; Wed, 20 Jun 2007 10:05:48 +0100 From: Gregory Stark To: "PFC" Cc: Subject: Re: Short row header In-Reply-To: (lists@peufeu.com's message of "Wed, 20 Jun 2007 09:54:32 +0200") Organization: EnterpriseDB References: X-Draft-From: ("nnimap+mail01.enterprisedb.com:INBOX.performance" 1146) Date: Wed, 20 Jun 2007 10:05:47 +0100 Message-ID: <87tzt3f11w.fsf@oxford.xeocode.com> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/409 X-Sequence-Number: 25442 "PFC" writes: > I have this "poll results" table with just 3 integer fields, which is > never updated, only inserted/deleted... > Did the Devs consider an option to have VACUUM reduce the row header > sizes for tuples that are long commited and are currently visible to all > transactions ? (even if this makes the tuples non-updateable, as long as they > can be deleted, it would be OK for this type of tables). It wouldn't actually speed up anything unless the space it frees up was then used by something. That would mean loading one of your polls into the small bits of space freed up in every page. For most tables like this you want to do large bulk loads and want your loads stored quickly in contiguous space so it can be accessed quickly, not spread throughout the table. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com