Re: Inefficient queryplan for query with intersectable - Mailing list pgsql-performance

From Richard Huxton
Subject Re: Inefficient queryplan for query with intersectable
Date
Msg-id 430F1393.5040704@archonet.com
Whole thread Raw
In response to Inefficient queryplan for query with intersectable subselects/joins  (Arjen van der Meijden <acmmailing@tweakers.net>)
Responses Re: Inefficient queryplan for query with intersectable
List pgsql-performance
Arjen van der Meijden wrote:
>
> I left all the configuration-stuff to the defaults since changing values
> didn't seem to impact much. Apart from the buffers and effective cache,
> increasing those made the performance worse.

I've not looked at the rest of your problem in detail, but using the
default configuration values is certainly not going to help things. In
particular effective_cache is supposed to tell PG how much memory your
OS is using to cache data.

Read this through and make sure your configuration settings are sane,
then it might be worthwhile looking in detail at this particular query.
   http://www.powerpostgresql.com/PerfList

--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Arjen van der Meijden
Date:
Subject: Inefficient queryplan for query with intersectable subselects/joins
Next
From: Stephan Szabo
Date:
Subject: Re: Limit + group + join