public inbox for [email protected]  
help / color / mirror / Atom feed
From: Leigh Dyer <[email protected]>
To: Postgres-performance <[email protected]>
Subject: Re: Help speeding up delete
Date: Tue, 15 Nov 2005 12:18:48 +1100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Steve Wampler wrote:
> 
> Is the performance behavior that we're experiencing a known
> problem with 7.2 that has been addressed in 7.4?  Or will the
> upgrade fix other problems while leaving this one?

I'm pretty sure that in versions earlier than 7.4, IN clauses that use a 
subquery will always use a seqscan, regardless of what indexes are 
available. If you try an IN using explicit values though, it should use 
the index.

Thanks
Leigh



view thread (24+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Help speeding up delete
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox