Re: fun fact about temp tables

Поиск
Список
Период
Сортировка
Искать
От
Andrew Sullivan
Тема
Re: fun fact about temp tables
Дата
Msg-id
20160805161814.GM18305@crankycanuck.ca
Ответ на
Список
Дерево обсуждения
fun fact about temp tables Grigory Smolkin <g.smolkin@postgrespro.ru>
Re: fun fact about temp tables Tom Lane <tgl@sss.pgh.pa.us>
Re: fun fact about temp tables Grigory Smolkin <g.smolkin@postgrespro.ru>
Re: fun fact about temp tables Tom Lane <tgl@sss.pgh.pa.us>
Re: fun fact about temp tables Andrew Sullivan <ajs@crankycanuck.ca>
Re: fun fact about temp tables Grigory Smolkin <g.smolkin@postgrespro.ru>
Re: fun fact about temp tables Alex Ignatov <a.ignatov@postgrespro.ru>
Re: fun fact about temp tables Tom Lane <tgl@sss.pgh.pa.us>
Re: fun fact about temp tables Alex Ignatov <a.ignatov@postgrespro.ru>
Re: fun fact about temp tables Grigory Smolkin <g.smolkin@postgrespro.ru>
On Fri, Aug 05, 2016 at 06:02:08PM +0300, Grigory Smolkin wrote:
> But it`s temporary table so it`s equal to saying 'I don`t care about this
> data' and I can get 'out of disk space' regardless of using temporary
> tables.
> 
> What are we winning here?

Surely, that the transaction operates in a predictable way?  A temp
table doesn't say, "I don't care about this data," it says, "I don't
care about this data over the long haul."  I've had lots of data go
through temp tables that I really really wanted to get into some other
place later, and it'd suck if the transaction failed half way through
because it turns out there's nowhere to put the data I've just staged.

A

-- 
Andrew Sullivan
ajs@crankycanuck.ca

В списке pgsql-general по дате отправления
От: Grigory Smolkin
Дата:
Сообщение: Re: fun fact about temp tables
От: Grigory Smolkin
Дата:
Сообщение: Re: fun fact about temp tables
FAQ