Re: Temporary Table

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: "Christian Paul B(dot) Cosinas" <cpc(at)cybees(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Temporary Table
Date: 2005-11-07 11:07:20
Message-ID: 20051107110719.GA7012@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Alex Turner 2005-11-07 14:47:53 Re: Performance PG 8.0 on dual opteron / 4GB / 3ware Raid5 / Debian??
Previous Message Richard Huxton 2005-11-07 09:46:38 Re: Performance problem with pg8.0