WITHOUT OIDS - Mailing list pgsql-general

From Andrew Bartley
Subject WITHOUT OIDS
Date
Msg-id 000d01c2dd32$55c1e930$3200a8c0@abartleypc
Whole thread Raw
In response to create view  (Ryan VanderBijl <rvbijl-pgsql@vanderbijlfamily.com>)
Responses Re: WITHOUT OIDS
Re: WITHOUT OIDS
List pgsql-general
Hi all,



We have a function that runs under cron every 5 minutes. It creates a lot of
temp tables.



The Function slows down during the day considerably.  I suspect it is due
the constant creation and dropping of temp tables.  If I vacuum full
pg_attribute and pg_class it fixes the problem.  But unfortunately vacuuming
these table every run is not practical as it takes so much time.



If I were to create the temp tables without oids, does this mean both
pg_attribute and pg_class will not be as affected.



If so, can I specify without oids when creating a temp table as follows?



create temp table test

as

select * from test2



Thanks


Andrew Bartley


pgsql-general by date:

Previous
From: "Cristian Custodio"
Date:
Subject: OID or lo
Next
From: Hadley Willan
Date:
Subject: Re: Why are absolute paths considered a security risk?