From: Silke Trissl <trissl@informatik.hu-berlin.de>
To: pgsql-performance@postgresql.org
Subject: Tell postgres which index to use?
Date: Wed, 09 Feb 2005 16:58:01 +0100
Message-ID: <420A3309.5040507@informatik.hu-berlin.de> (raw)
Hi,
is there a way to tell Postgres which index to use when a query is
issued in 7.4.2?
I have a query for which costwise a Hash-Join and no Index-Usage is the
best, but timewise using the index and then do a NestedLoop join is much
better (3 - 4 times).
I have vacuumed before I started the comparison, so Postgres does its
best. And I don't constantly want to switch on and off the hashjoin and
mergejoin.
Regards,
Silke Trissl
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: trissl@informatik.hu-berlin.de
Subject: Re: Tell postgres which index to use?
In-Reply-To: <420A3309.5040507@informatik.hu-berlin.de>
* 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