Skip site navigation (1) Skip section navigation (2)

Re: Configuration Advice

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Arjen van der Meijden <acmmailing(at)tweakers(dot)net>
Cc: Jeremy Haile <jhaile(at)fastmail(dot)fm>, Adam Rich <adam(dot)r(at)sbcglobal(dot)net>, "'Bricklen Anderson'" <banderson(at)presinet(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Configuration Advice
Date: 2007-01-18 22:11:37
Message-ID: 6826.1169158297@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-performance
Arjen van der Meijden <acmmailing(at)tweakers(dot)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

In response to

Responses

pgsql-performance by date

Next:From: Luke LonerganDate: 2007-01-18 22:41:30
Subject: Re: Postgres and really huge tables
Previous:From: Jeremy HaileDate: 2007-01-18 21:53:21
Subject: Re: Autoanalyze settings with zero scale factor

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group