pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mathieu Arnold <mat@mat.cc>
To: Heni Lolov <hal_bg@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: OIDs / noOIDs  tables?
Date: Tue, 12 Mar 2002 10:00:18 +0100
Message-ID: <50778875.1015927217@sauron> (raw)
In-Reply-To: <20020311161024.82537.qmail@web21003.mail.yahoo.com>
References: <20020311161024.82537.qmail@web21003.mail.yahoo.com>


--On lundi 11 mars 2002 08:10 -0800 Heni Lolov <hal_bg@yahoo.com> 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



view thread (5+ messages)  latest in thread

Message-ID: <50778875.1015927217@sauron>
Permalink:  ../50778875.1015927217@sauron/
Also on:    postgresql.org/message-id/50778875.1015927217@sauron

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mat@mat.cc, hal_bg@yahoo.com
  Subject: Re: OIDs / noOIDs  tables?
  In-Reply-To: <50778875.1015927217@sauron>
  References: <20020311161024.82537.qmail@web21003.mail.yahoo.com> <50778875.1015927217@sauron>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox