From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mathieu Arnold <mat@mat.cc>
Cc: Heni Lolov <hal_bg@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: OIDs / noOIDs tables?
Date: Tue, 12 Mar 2002 08:15:27 -0500
Message-ID: <29640.1015938927@sss.pgh.pa.us> (raw)
In-Reply-To: <50778875.1015927217@sauron>
References: <20020311161024.82537.qmail@web21003.mail.yahoo.com>
<50778875.1015927217@sauron>
Mathieu Arnold <mat@mat.cc> writes:
> ... there's a bit more info in the 7.2 database now...
> so I believe that without oids give you a bit smaller databases.
OIDs vs. no OIDs makes absolutely *zero* difference in disk space.
The tuple header overhead is the same either way.
(Well, okay, it saves you one pg_attribute row per OID-less table.
Wow...)
The only reason for the no-OIDs feature is to postpone wraparound
of the OID counter.
regards, tom lane
PS: probably your space savings from updating to 7.2 is a transient
result of having rebuilt the indexes.
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: tgl@sss.pgh.pa.us, mat@mat.cc, hal_bg@yahoo.com
Subject: Re: OIDs / noOIDs tables?
In-Reply-To: <29640.1015938927@sss.pgh.pa.us>
References: <20020311161024.82537.qmail@web21003.mail.yahoo.com> <50778875.1015927217@sauron> <29640.1015938927@sss.pgh.pa.us>
* 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