pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dan Langille <dan@langille.org>
Cc: Chris <dmagick@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Forcing index usage without 'enable_hashjoin = FALSE'
Date: Wed, 23 Aug 2006 22:30:16 -0400
Message-ID: <28098.1156386616@sss.pgh.pa.us> (raw)
In-Reply-To: <44ECD283.18248.1EF83D45@dan.langille.org>
References: <44EA9190.5306.162A8DE9@dan.langille.org>
	<44ECD283.18248.1EF83D45@dan.langille.org>

"Dan Langille" <dan@langille.org> writes:
> Without leaving "enable_hashjoin = false", can you suggest a way to 
> force the index usage?

Have you tried reducing random_page_cost?

FYI, 8.2 should be a bit better about this.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <28098.1156386616@sss.pgh.pa.us>
Permalink:  ../28098.1156386616@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28098.1156386616@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, dan@langille.org, dmagick@gmail.com
  Subject: Re: Forcing index usage without 'enable_hashjoin = FALSE'
  In-Reply-To: <28098.1156386616@sss.pgh.pa.us>

* 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