WITHOUT OIDS

From: "Andrew Bartley" <abartley(at)evolvosystems(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: WITHOUT OIDS
Date: 2003-02-26 00:59:07
Message-ID: 000d01c2dd32$55c1e930$3200a8c0@abartleypc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hadley Willan 2003-02-26 01:07:12 Re: Why are absolute paths considered a security risk?
Previous Message Tom Lane 2003-02-26 00:31:21 Re: Why are absolute paths considered a security risk?