disabling OIDs? - Mailing list pgsql-general

From Lonni J Friedman
Subject disabling OIDs?
Date
Msg-id 7c1574a904121218516e2989c1@mail.gmail.com
Whole thread Raw
Responses Re: disabling OIDs?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
The spam filtering package I use (dspam) had a section in their
release notes recently which stated that disabling OIDs greatly
increased speeds, and so they suggested that people do that on their
tables.

When creating new tables, you can disable OIDs with,
CREATE TABLE foo (...) WITHOUT OIDS;
And you can disable OIDs on existing tables by executing for each table,
ALTER TABLE foo SET WITHOUT OIDS;
and then running a vacuumdb (either with pg_vacuumdb or VACUUM ANALYSE;)


Does anyone know of any risks or potential downsides to doing this?

Thanks!

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@gmail.com
LlamaLand                       http://netllama.linux-sxs.org

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Temporary tables and disk activity
Next
From: Tom Lane
Date:
Subject: Re: disabling OIDs?