Re: Performance on inserts - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Performance on inserts
Date
Msg-id 200010152151.RAA16188@candle.pha.pa.us
Whole thread Raw
In response to Re: Performance on inserts  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Performance on inserts  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> > * Prevent index lookups (or index entries using partial index) on most
> >   common values; instead use sequential scan 
> 
> This behavior already exists for the most common value, and would
> exist for any additional values that we had stats for.  Don't see
> why you think a separate TODO item is needed.

You mean the optimizer already skips an index lookup for the most common
value, and instead does a sequential scan?  Seems you are way ahead of
me.


--  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: Tom Lane
Date:
Subject: Re: Performance on inserts
Next
From: Bruce Momjian
Date:
Subject: Re: Performance on inserts