Re: AW: Temp tables performance question

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: AW: Temp tables performance question
Дата
Msg-id 396DACFE.403C0F0A@tm.ee
обсуждение исходный текст
Ответ на AW: Temp tables performance question  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
Zeugswetter Andreas SB wrote:
> 
> > IMHO temporary tables could be made significantly faster than "ordinary"
> > as they are only accessed inside one session and thus have no need for
> > locking or even WAL as they could do with max 2 copies of the same row
> > the other of which can be discarded at end of transaction thereby making
> > it possible to provide much faster insert behaviour.
> 
> I am somewhat confused. What does the max 2 copies issue have to do with
> inserts, where you only have one copy of the row anyway ?

You may want to rollback the transaction;

--------------
Hannu


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Temp tables performance question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Temp tables performance question