Re: Temporary Table - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Temporary Table
Date
Msg-id 20051107110719.GA7012@surnet.cl
Whole thread Raw
In response to Temporary Table  ("Christian Paul B. Cosinas" <cpc@cybees.com>)
Responses Re: Temporary Table
List pgsql-performance
Christian Paul B. Cosinas wrote:
> Does Creating Temporary table in a function and NOT dropping them affects
> the performance of the database?

The system will drop it automatically, so it shouldn't affect.

What _could_ be affecting you if you execute that function a lot, is
accumulated bloat in pg_class, pg_attribute, or other system catalogs.
You may want to make sure these are vacuumed often.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-performance by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Performance problem with pg8.0
Next
From: Alex Turner
Date:
Subject: Re: Performance PG 8.0 on dual opteron / 4GB / 3ware Raid5 / Debian??