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

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 (view raw or flat)
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

pgsql-performance by date

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

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