Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-performancepgsql-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

pgsql-performance by date

Next:From: Steve WamplerDate: 2005-11-15 04:03:56
Subject: Re: Help speeding up delete
Previous:From: Scott LambDate: 2005-11-15 01:08:03
Subject: Re: Help speeding up delete

pgsql-www by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group