Re: WITHOUT OIDS

From: Neil Conway <neilc(at)samurai(dot)com>
To: Andrew Bartley <abartley(at)evolvosystems(dot)com>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: WITHOUT OIDS
Date: 2003-02-26 06:40:25
Message-ID: 1046241625.433.60.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2003-02-25 at 19:59, Andrew Bartley wrote:
> 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.

Does a regular VACUUM accomplish the same result?

> But unfortunately vacuuming these table every run is not practical as
> it takes so much time.

Can you elaborate? VACUUMing *just* the pg_attribute and pg_class tables
takes an excessive amount of time? (You're aware you can VACUUM specific
tables, as well as entire databases, right?)

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

AFAIK, it wouldn't affect either significantly.

Cheers,

Neil

--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-26 06:52:30 Re: 7.4?
Previous Message Neil Conway 2003-02-26 06:35:03 Re: 7.4?