From: Adonias Malosso <malosso@gmail.com>
To: Claus Guttesen <kometen@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: 4s query want to run faster
Date: Thu, 21 Feb 2008 18:11:16 -0300
Message-ID: <8a5d3c890802211311m5fab66d6q865fda1737e47802@mail.gmail.com> (raw)
In-Reply-To: <b41c75520802211310j40c51014y5d6fbc56bf38c467@mail.gmail.com>
References: <8a5d3c890802211248k7d9dfbb5ndd645358a84130a7@mail.gmail.com>
<b41c75520802211310j40c51014y5d6fbc56bf38c467@mail.gmail.com>
On Thu, Feb 21, 2008 at 6:10 PM, Claus Guttesen <kometen@gmail.com> wrote:
> > The following query takes about 4s to run in a 16GB ram server. Any
> ideas
> > 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
>
> --
> regards
> Claus
>
> When lenity and cruelty play for a kingdom,
> the gentlest gamester is the soonest winner.
>
> Shakespeare
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: malosso@gmail.com, kometen@gmail.com
Subject: Re: 4s query want to run faster
In-Reply-To: <8a5d3c890802211311m5fab66d6q865fda1737e47802@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox