Re: A question on the query planner - Mailing list pgsql-performance

From Greg Stark
Subject Re: A question on the query planner
Date
Msg-id 87k75d66jh.fsf@stark.dyndns.tv
Whole thread Raw
In response to Re: A question on the query planner  (Jared Carr <jared@89glass.com>)
Responses Re: A question on the query planner
List pgsql-performance
Jared Carr <jared@89glass.com> writes:

> The patch definitely makes things more consistent...unfortunately it is more
> consistent toward the slower execution times. Of course I am looking at this
> simply from a straight performance standpoint and not a viewpoint of what
> *should* be happening. At any rate here are the query plans with the various
> settings.

The optimizer seems to be at least considering reasonable plans now. It seems
from the estimates that you need to rerun analyze. You might try "vacuum full
analyze" to be sure.

Also, you might try raising effective_cache_size and/or lowering
random_page_size (it looks like something around 2 might help).

--
greg

pgsql-performance by date:

Previous
From: Al Hulaton
Date:
Subject: Re: Minimum hardware requirements for Postgresql db
Next
From: erik@norvelle.net
Date:
Subject: Re: Update performance ... Recommended configuration changes?