Re: More Performance - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: More Performance
Date
Msg-id 200005210159.VAA03127@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
> > We can't read data from the index.  It would be nice if we could, but we
> > can't.  I think we believe that there are very few cases where this
> > would be win.  Usually you need non-indexed data too.
> 
> I have used other databases where this _is_ possible in the past, and
> the win is big when the programmer codes for it.  Sure, most cases don't
> just use indexed data, but if the programmer knows that the database
> supports index-only scans then sometimes an extreme performance
> requirement can be met.
> 

Yes, totally true.  It is an extreme optimization.  In Ingres, you could
actually SELECT on the index and use that when needed.

--  Bruce Momjian                        |  http://www.op.net/~candle 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: "Mikheev, Vadim"
Date:
Subject: Berkeley DB...
Next
From: Bruce Momjian
Date:
Subject: Re: Performance (was: The New Slashdot Setup (includes MySql server))