Re: Query Optimization

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Reinhard Vicinus <rvicinus(at)rjm(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query Optimization
Date: 2007-02-20 04:54:08
Message-ID: 19844.1171947248@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Reinhard Vicinus <rvicinus(at)rjm(dot)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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Marko Niinimaki 2007-02-20 07:10:55 slow subselects
Previous Message Scott Marlowe 2007-02-19 18:24:18 Re: How to debug performance problems