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

From Виктор Егоров
Subject Re: Fighting the planner >:-(
Date
Msg-id CAGnEbohAbTWU=YYZVqQcrtHzUVEmKr17Nzhw-3xndCTgGCgwZg@mail.gmail.com
Whole thread Raw
In response to Re: Fighting the planner >:-(  (Casey Allen Shobe <casey@shobe.info>)
Responses Re: Fighting the planner >:-(
List pgsql-performance
2013/2/1 Casey Allen Shobe <casey@shobe.info>:
> Rowcounts are shown in the earlier paste link, but apparently I forgot to
> include the census table - hewitt_1_0_factors_precalc_new has 4,135,890
> rows, and census_user has 1846439 rows.
>
> Statistics target is the default at 100.

I would try the following:
ALTER TABLE hewitt_1_0_factors_precalc_new SET STATISTICS 1000;
ALTER TABLE census_user SET STATISTICS 500;
ALTER TABLE census_output SET STATISTICS 500;
and analyzed them after. I hope I guessed ‘census_output’ name correctly.

And could you kindly share the plan after:
SET enable_nestloop TO off;


--
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 >:-(