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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql is 75 times faster with my new index scan
Дата
Msg-id 200010171428.KAA21254@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pgsql is 75 times faster with my new index scan  (Hannu Krosing <hannu@tm.ee>)
Список 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 ?

Yes, sorry.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Mark Hollomon
Дата:
Сообщение: Re: Re: New relkind for views
Следующее
От: Alex Pilosov
Дата:
Сообщение: bug: alter table/FK