Re: Query Optimization - Mailing list pgsql-performance

From Tom Lane
Subject Re: Query Optimization
Date
Msg-id 19844.1171947248@sss.pgh.pa.us
Whole thread Raw
In response to Query Optimization  (Reinhard Vicinus <rvicinus@rjm.de>)
List pgsql-performance
Reinhard Vicinus <rvicinus@rjm.de> writes:
> PostgreSQL version: 8.1.6
> The following query needs a lot of time because the query planner
> reorders the joins:

Try reducing random_page_cost, increasing effective_cache_size, and/or
updating to PG 8.2.  Any of these are likely to make it like the
nestloop plan better...

            regards, tom lane

pgsql-performance by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: How to debug performance problems
Next
From: "Marko Niinimaki"
Date:
Subject: slow subselects