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: (view raw, whole thread or download thread mbox)
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-2017 The PostgreSQL Global Development Group