Re: pgsql is 75 times faster with my new index scan - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: pgsql is 75 times faster with my new index scan
Date
Msg-id 39EC3508.C9F9D350@tm.ee
Whole thread Raw
In response to Re: pgsql is 75 times faster with my new index scan  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses 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>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql is 75 times faster with my new index scan
Next
From: Franck Martin
Date:
Subject: RE: [GENERAL] storing binary data - PGSQL book/documentation