Re: Configuration Advice - Mailing list pgsql-performance

From Tom Lane
Subject Re: Configuration Advice
Date
Msg-id 6826.1169158297@sss.pgh.pa.us
Whole thread Raw
In response to Re: Configuration Advice  (Arjen van der Meijden <acmmailing@tweakers.net>)
Responses Re: Configuration Advice  (Arjen van der Meijden <acmmailing@tweakers.net>)
List pgsql-performance
Arjen van der Meijden <acmmailing@tweakers.net> writes:
> PS, In case any of the planner-hackers are reading, here are the plans
> of the first two queries, just to see if something can be done to
> decrease the differences between them.

Increase work_mem?  It's not taking the hash because it thinks it won't
fit in memory ...

There is a bug here, I'd say: the rowcount estimate ought to be the same
either way.  Dunno why it's not, but will look --- I see the same
misbehavior with a toy table here.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Jeremy Haile"
Date:
Subject: Re: Autoanalyze settings with zero scale factor
Next
From: "Luke Lonergan"
Date:
Subject: Re: [pgsql-advocacy] Postgres and really huge tables