Re: Help speeding up delete

From: Leigh Dyer <lsd(at)linuxgamers(dot)net>
To: Postgres-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Help speeding up delete
Date: 2005-11-15 01:18:48
Message-ID: 43793778.7040006@linuxgamers.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance pgsql-www

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Steve Wampler 2005-11-15 04:03:56 Re: Help speeding up delete
Previous Message Scott Lamb 2005-11-15 01:08:03 Re: Help speeding up delete

Browse pgsql-www by date

  From Date Subject
Next Message Bruce Momjian 2005-11-15 02:46:06 GUI guide
Previous Message Scott Lamb 2005-11-15 01:08:03 Re: Help speeding up delete