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

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: pgsql is 75 times faster with my new index scan
Дата
Msg-id 39EC3508.C9F9D350@tm.ee
обсуждение исходный текст
Ответ на Re: pgsql is 75 times faster with my new index scan  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: pgsql is 75 times faster with my new index scan  (Devik <devik@server.cdi.cz>)
Re: pgsql is 75 times faster with my new index scan  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian wrote:
> 
> > > > I doubt everyone would like trading query speed for insert/update
> > > > speed plus index size
> > >
> > > If he is scanning through the entire index, he could do a sequential
> > > scan of the table, grab all the tid transaction status values, and use
> > > 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 ?

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


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pgsql is 75 times faster with my new index scan
Следующее
От: Franck Martin
Дата:
Сообщение: RE: [GENERAL] storing binary data - PGSQL book/documentation