Re: BUG #10144: PostgreSQL cost_index in costsize.c bug? (cann't estimate indexCorrelation correct) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #10144: PostgreSQL cost_index in costsize.c bug? (cann't estimate indexCorrelation correct)
Date
Msg-id 13668.1398541533@sss.pgh.pa.us
Whole thread Raw
In response to BUG #10144: PostgreSQL cost_index in costsize.c bug? (cann't estimate indexCorrelation correct)  (digoal@126.com)
Responses Re: BUG #10144: PostgreSQL cost_index in costsize.c bug? (cann't estimate indexCorrelation correct)
List pgsql-bugs
digoal@126.com writes:
> i see postgresql optimizer don't add column's indexCorrelation in index scan
> and then shold not choose optimal scannode.

When I try this test case, I find that the planner prefers a plain
seqscan, then a bitmap scan, and last an indexscan; and the cost estimates
are not too out of line with reality.  I suspect you've changed the
planner's cost parameters to some non-default settings that don't really
square very well with your environment.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re[2]: [BUGS] BUG #10140: Configured for 127.0.0.1 but binds to all IP
Next
From: sdfasdf asdfasdf
Date:
Subject: Re[2]: [BUGS] Re[2]: [BUGS] BUG #10140: Configured for 127.0.0.1 but binds to all IP