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

From Bruce Momjian
Subject Re: pgsql is 75 times faster with my new index scan
Date
Msg-id 200010170414.AAA08100@candle.pha.pa.us
Whole thread Raw
In response to Re: pgsql is 75 times faster with my new index scan  (Hannu Krosing <hannu@tm.ee>)
Responses Re: pgsql is 75 times faster with my new index scan  (Devik <devik@server.cdi.cz>)
List pgsql-hackers
> > TODO:
> > - add HeapTupleHeaderData into each IndexTupleData
> > - change code to reflect above
> > - when deleting-updating heap then also update tuples'
> >   HeapTupleHeaderData in indices
> 
> 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.

--  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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: "initdb -t" destroys all databases
Next
From: Tatsuo Ishii
Date:
Subject: Re: length coerce for bpchar is broken since 7.0