Re: pgsql is 75 times faster with my new index scan

Поиск
Список
Период
Сортировка
От Devik
Тема Re: pgsql is 75 times faster with my new index scan
Дата
Msg-id Pine.LNX.4.10.10010171521380.16485-100000@luxik.cdi.cz
обсуждение исходный текст
Ответ на Re: pgsql is 75 times faster with my new index scan  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
> > > > those when viewing the index.  No need to store/update the transaction
> > > > status in the index that way.
> > >
> > > Huh ? How ? It is how you do it now. Do you expect
> > > load several milion transaction statuses into memory,
> > > then scan index and lookup these values ?
> > > Missed I something ?
> > > devik
> > Not sure.  I figured they were pretty small values.
> IIRC the whole point was to avoid scanning the table ?

Yes. This was the main point ! For small number of records the
current method is fast enough. The direct index scan is useful
for big tables and doing scan over large parts of them (like
in aggregates).
devik



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

Предыдущее
От: Devik
Дата:
Сообщение: Re: pgsql is 75 times faster with my new index scan
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: length coerce for bpchar is broken since 7.0