Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Дата
Msg-id
200707040320.l643KRh09981@momjian.us
Ответ на
Список
Дерево обсуждения
what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Jim Nasby <decibel@decibel.org>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Alvaro Herrera <alvherre@commandprompt.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Bruce Momjian <bruce@momjian.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Jim C. Nasby" <decibel@decibel.org>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Bruce Momjian <bruce@momjian.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Bruce Momjian <bruce@momjian.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Gregory Stark <stark@enterprisedb.com>
Re: what is difference between LOCAL and GLOBAL TEMPTABLES in PostgreSQL "Simon Riggs" <simon@2ndquadrant.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Bruce Momjian <bruce@momjian.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Tom Lane <tgl@sss.pgh.pa.us>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Gregory Stark <stark@enterprisedb.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Gregory Stark <stark@enterprisedb.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Jaime Casanova" <systemguards@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Gregory Stark <stark@enterprisedb.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL Gregory Stark <stark@enterprisedb.com>
Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL "Pavel Stehule" <pavel.stehule@gmail.com>
> The use case is any system that uses temp tables in an OLTP setting,
> which certainly isn't uncommon. The problem is that today (and as well
> with a global temp table that is still writing to the catalogs) is that
> every OLTP operation that creates or drops a temp table is doing DDL.
> At best, that leads to a lot of catalog bloat. Right now, it appears to
> also expose some race conditions (we've got a customer that's been bit
> by this and we've been able to reproduce some odd behavior in the lab).

The solution is to fix the bloat, not add a work-around.

--  Bruce Momjian            http://momjian.us EnterpriseDB                               http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-hackers по дате отправления
От: Kris Jurka
Дата:
От: Pavel Stehule
Дата:
FAQ