Re: Fighting the planner >:-(

Поиск
Список
Период
Сортировка
От Виктор Егоров
Тема Re: Fighting the planner >:-(
Дата
Msg-id CAGnEbojWHiDM9oRyeY_2HXBaPsriR0Mc0_gkknjp6vX0+haRmg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Fighting the planner >:-(  (Casey Allen Shobe <casey@shobe.info>)
Ответы Re: Fighting the planner >:-(  (Casey Allen Shobe <casey@shobe.info>)
Список 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 по дате отправления:

Предыдущее
От: Casey Allen Shobe
Дата:
Сообщение: Re: Fighting the planner >:-(
Следующее
От: Casey Allen Shobe
Дата:
Сообщение: Re: Fighting the planner >:-(