Re: OIDs / noOIDs tables? - Mailing list pgsql-admin

From Tom Lane
Subject Re: OIDs / noOIDs tables?
Date
Msg-id 29640.1015938927@sss.pgh.pa.us
Whole thread Raw
In response to Re: OIDs / noOIDs tables?  (Mathieu Arnold <mat@mat.cc>)
List pgsql-admin
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.

pgsql-admin by date:

Previous
From: Mathieu Arnold
Date:
Subject: Re: OIDs / noOIDs tables?
Next
From: "Gaetano Mendola"
Date:
Subject: Dependence beetwen Function