Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6749647733F for ; Tue, 7 Jan 2003 18:14:24 -0500 (EST) Received: from post.webmailer.de (natsmtp00.webmailer.de [192.67.198.74]) by postgresql.org (Postfix) with ESMTP id D6ECC476A3C for ; Tue, 7 Jan 2003 18:13:13 -0500 (EST) Received: from dell (p509165DC.dip.t-dialin.net [80.145.101.220]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id AAA26773; Wed, 8 Jan 2003 00:12:48 +0100 (MET) Content-Type: text/plain; charset="iso-8859-15" From: Tilo Schwarz To: Tom Lane Subject: Re: Vacuum explained Date: Wed, 8 Jan 2003 00:13:24 +0100 User-Agent: KMail/1.4.3 Cc: pgsql-admin@postgresql.org References: <1041884632.15455.112.camel@camel> <26423.1041885959@sss.pgh.pa.us> In-Reply-To: <26423.1041885959@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301080013.24633.mail@tilo-schwarz.de> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/60 X-Sequence-Number: 6902 Tom Lane writes: > > Unused =3D # of tuples awaiting being reused > > These are not actually tuples, but tuple slots (page item pointers) > that are open for re-use. Maybe this is a good place to ask this: How do you actually reuse a tuple (= or=20 the space the tuple needed on disk) if the number of bytes needed to store = a=20 new tuple depends on the number of non null columns, the variable length=20 columns etc. (If I understood the documentation right, you store the tuples= =20 within a page packed, i.e. variable length tuples are stored one after the= =20 other, sometimes with alignment between the tuple header and the tuple data= .) Do you try to reuse tuples with a similar storage size (or something like= =20 that) to prevent fragmentation or don't you have fragmentation by design (a= nd=20 I miss something). Any pointers to documentation or into the source code are welcome! Regards, Tilo Schwarz