Received: from bilbo.in.mat.cc (bilbo.in.mat.cc [212.43.217.121]) by postgresql.org (Postfix) with ESMTP id 90D6847590B for ; Tue, 12 Mar 2002 04:06:34 -0500 (EST) Received: from bilbo.in.org (localhost [127.0.0.1]) by bilbo.in.mat.cc (Postfix) with ESMTP id 3E2BA71186; Tue, 12 Mar 2002 10:06:33 +0100 (CET) Received: from sauron (sauron.in.mat.cc [212.43.217.122]) by bilbo.in.mat.cc (Postfix) with ESMTP id EFE5E71187; Tue, 12 Mar 2002 10:00:18 +0100 (CET) Date: Tue, 12 Mar 2002 10:00:18 +0100 From: Mathieu Arnold To: Heni Lolov , pgsql-admin@postgresql.org Subject: Re: OIDs / noOIDs tables? Message-ID: <50778875.1015927217@sauron> In-Reply-To: <20020311161024.82537.qmail@web21003.mail.yahoo.com> References: <20020311161024.82537.qmail@web21003.mail.yahoo.com> X-Mailer: Mulberry/2.2.0b2 (Win32) X-wazaaa: True, true MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Archive-Number: 200203/147 X-Sequence-Number: 3681 --On lundi 11 mars 2002 08:10 -0800 Heni Lolov wrote: > As for version 7.2 postgres supports tables wothout OID. So I have 10 Gb > database and I would like to upgrade it to 7.2 to make the tables without > oids in order to save disc space. I made a test. I created one table > with oids and another without oids and dumped the same data in both of > them but there was no difference in table sizes. > Btw the size is the same as the size of the original table in the previous > release i use (7.0.3). > > Can anybody tell me why? > Thanks in advance! well, I had a 7.1.3 database, and I switched over to 7.2 without oids, here's the change : 7.1.3 : 4367448 /opt/pg/data/base/18721 7.2 : 3551340 /opt/pgsql/data/base/16567 and there's a bit more info in the 7.2 database now... so I believe that without oids give you a bit smaller databases. -- Mathieu Arnold