From: Jean-Max Reymond <jmreymond@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Optimizing a request
Date: Tue, 31 Aug 2004 22:26:05 +0200
Message-ID: <4b09a0c040831132633b2bce5@mail.gmail.com> (raw)
In-Reply-To: <14630.1093983238@sss.pgh.pa.us>
References: <4b09a0c0408311159fa91802@mail.gmail.com>
<14630.1093983238@sss.pgh.pa.us>
On Tue, 31 Aug 2004 16:13:58 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> That seems like a very strange plan choice given those estimated row
> counts. I'd have expected it to use a nestloop with inner index scan
> on article_rub_id_index. You haven't done anything odd like disable
> nestloop, have you?
>
no optimizer disabled.
> What plan do you get if you turn off enable_hashjoin? (If it's a merge
> join, then turn off enable_mergejoin and try again.) Also, could we see
> EXPLAIN ANALYZE not just EXPLAIN output for all these cases?
>
> regards, tom lane
>
OK, TOM Thanks for your help
--
Jean-Max Reymond
CKR Solutions
http://www.ckr-solutions.com
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: jmreymond@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: Optimizing a request
In-Reply-To: <4b09a0c040831132633b2bce5@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