Re: Fighting the planner >:-(

From: Виктор Егоров <vyegorov(at)gmail(dot)com>
To: Casey Allen Shobe <casey(at)shobe(dot)info>
Cc: Richard Huxton <dev(at)archonet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Fighting the planner >:-(
Date: 2013-02-01 21:12:43
Message-ID: CAGnEbojWHiDM9oRyeY_2HXBaPsriR0Mc0_gkknjp6vX0+haRmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

2013/2/1 Casey Allen Shobe <casey(at)shobe(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Casey Allen Shobe 2013-02-01 21:18:34 Re: Fighting the planner >:-(
Previous Message Casey Allen Shobe 2013-02-01 21:02:26 Re: Fighting the planner >:-(