Re: Poor performance on seq scan

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Poor performance on seq scan
Дата
Msg-id 450E5728.7000802@logix-tt.com
обсуждение исходный текст
Ответ на Re: Poor performance on seq scan  (Piotr Kołaczkowski <P.Kolaczkowski@elka.pw.edu.pl>)
Список pgsql-performance
Hi, Piotr,

Piotr Kołaczkowski wrote:

> Why match rows from the heap if ALL required data are in the index itself?
> Why look at the heap at all?

Because the index does not contain any transaction informations, so it
has to look to the heap to find out which of the rows are current.

This is one of the more debated points in the PostgreSQL way of MVCC
implementation.


Markus


--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org


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

Предыдущее
От: "Mikael Carneholm"
Дата:
Сообщение: Re: Optimize SQL
Следующее
От: "Guido Neitzer"
Дата:
Сообщение: Re: Poor performance on seq scan