Re: Fighting the planner >:-( - Mailing list pgsql-performance

From Виктор Егоров
Subject Re: Fighting the planner >:-(
Date
Msg-id CAGnEbojWHiDM9oRyeY_2HXBaPsriR0Mc0_gkknjp6vX0+haRmg@mail.gmail.com
Whole thread Raw
In response to Re: Fighting the planner >:-(  (Casey Allen Shobe <casey@shobe.info>)
Responses Re: Fighting the planner >:-(  (Casey Allen Shobe <casey@shobe.info>)
List pgsql-performance
2013/2/1 Casey Allen Shobe <casey@shobe.info>:
> Hopefully some improvements to the planner can come from this information?
>
> Here is the CTE version of the query:
> http://pgsql.privatepaste.com/2f7fd3f669
> ...and  here is it's explain analyze:  http://explain.depesz.com/s/5ml

Estimated rows for ‘hewitt_1_0_factors_precalc_new’ are 1000x less then actual.
And for ‘census_user’ estimation is 100x less, then actual.

How many rows are in those tables and what is your statistics target?


--
Victor Y. Yegorov


pgsql-performance by date:

Previous
From: Casey Allen Shobe
Date:
Subject: Re: Fighting the planner >:-(
Next
From: Casey Allen Shobe
Date:
Subject: Re: Fighting the planner >:-(