Re: fun fact about temp tables

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: fun fact about temp tables
Дата
Msg-id 20160805161814.GM18305@crankycanuck.ca
обсуждение исходный текст
Ответ на Re: fun fact about temp tables  (Grigory Smolkin <g.smolkin@postgrespro.ru>)
Ответы Re: fun fact about temp tables  (Grigory Smolkin <g.smolkin@postgrespro.ru>)
Список pgsql-general
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