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

From Devik
Subject Re: pgsql is 75 times faster with my new index scan
Date
Msg-id Pine.LNX.4.10.10010171521380.16485-100000@luxik.cdi.cz
Whole thread Raw
In response to Re: pgsql is 75 times faster with my new index scan  (Hannu Krosing <hannu@tm.ee>)
List 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 by date:

Previous
From: Devik
Date:
Subject: Re: pgsql is 75 times faster with my new index scan
Next
From: Tatsuo Ishii
Date:
Subject: Re: length coerce for bpchar is broken since 7.0