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

Re: 4s query want to run faster

From: "Claus Guttesen" <kometen(at)gmail(dot)com>
To: "Adonias Malosso" <malosso(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 4s query want to run faster
Date: 2008-02-21 21:16:20
Message-ID: b41c75520802211316q35954881q26a6a6058efefcbf@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-performance
> > > why it doesn´t use index for the primary keys in the join conditions?
> >
> > Maby random_page_cost is set too high? What version are you using?
>
> Postgresql v. 8.2.1

You can try to lower this value. The default (in 8.3) is 4.

-- 
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare

In response to

Responses

pgsql-performance by date

Next:From: Adonias MalossoDate: 2008-02-21 21:23:36
Subject: Re: 4s query want to run faster
Previous:From: Adonias MalossoDate: 2008-02-21 21:11:16
Subject: Re: 4s query want to run faster

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