Re: Performance with temporary table - Mailing list pgsql-performance

From Alvaro Herrera
Subject Re: Performance with temporary table
Date
Msg-id 20080408194310.GP9062@alvh.no-ip.org
Whole thread Raw
In response to Re: Performance with temporary table  ("samantha mahindrakar" <sam.mahindrakar@gmail.com>)
Responses Re: Performance with temporary table  (Decibel! <decibel@decibel.org>)
List pgsql-performance
samantha mahindrakar escribió:
> Well instead of creating a temp table everytime i just created a
> permanant table and insert the data into it everytime and truncate it.
> I created indexes on this permanent table too. This did improve the
> performance to some extent.
>
> Does using permanant tables also bloat the catalog or hinder the performance?

In terms of catalog usage, permanent tables behave exactly the same as
temp tables.

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

pgsql-performance by date:

Previous
From: "samantha mahindrakar"
Date:
Subject: Re: Performance with temporary table
Next
From: PFC
Date:
Subject: Re: recommendations for web/db connection pooling or DBD::Gofer reviews