Re: 4s query want to run faster - Mailing list pgsql-performance

From Claus Guttesen
Subject Re: 4s query want to run faster
Date
Msg-id b41c75520802211316q35954881q26a6a6058efefcbf@mail.gmail.com
Whole thread Raw
In response to Re: 4s query want to run faster  ("Adonias Malosso" <malosso@gmail.com>)
Responses Re: 4s query want to run faster
List 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

pgsql-performance by date:

Previous
From: "Adonias Malosso"
Date:
Subject: Re: 4s query want to run faster
Next
From: "Adonias Malosso"
Date:
Subject: Re: 4s query want to run faster