Re: index vs. seq scan choice? - Mailing list pgsql-general

From Tom Lane
Subject Re: index vs. seq scan choice?
Date
Msg-id 29662.1180061117@sss.pgh.pa.us
Whole thread Raw
In response to Re: index vs. seq scan choice?  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: index vs. seq scan choice?
List pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> (The default statistics target is 10, which is widely considered too
>> low --- you might find 100 more suitable.)

> Does this mean that we should look into raising the default a bit?

Probably ... the question is to what.

The default of 10 was chosen in our usual spirit of conservatism ---
and IIRC it was replacing code that tracked only *one* most common
value, so it was already a factor of 10 better (and more expensive)
than what was there before.  But subsequent history suggests it's
too small.  I'm not sure I want to vote for another 10x increase by
default, though.

            regards, tom lane

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: index vs. seq scan choice?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: index vs. seq scan choice?