Re: Performance with temporary table

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Performance with temporary table
Дата
Msg-id 20080408194310.GP9062@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Performance with temporary table  ("samantha mahindrakar" <sam.mahindrakar@gmail.com>)
Ответы Re: Performance with temporary table
Список 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 по дате отправления:

Предыдущее
От: "samantha mahindrakar"
Дата:
Сообщение: Re: Performance with temporary table
Следующее
От: PFC
Дата:
Сообщение: Re: recommendations for web/db connection pooling or DBD::Gofer reviews