Re: Accelerating subqueries

From: Ed Loehr <eloehr(at)austin(dot)rr(dot)com>
To: Fabrice Scemama <fabrices(at)ximmo(dot)ftd(dot)fr>
Cc: pgsql-general(at)hub(dot)org
Subject: Re: Accelerating subqueries
Date: 2000-04-06 15:36:23
Message-ID: 38ECAEF7.6F161511@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Fabrice Scemama wrote:
>
> DELETE FROM Annonces WHERE Id_Ag IN
> (
> SELECT Id FROM Installs
> WHERE Si_Compte_Actif = 'f'
> );
>
> This query will take more than one hour of CPU time

> Any ideas about a way to write a single query that fast ?

http://www.postgresql.org/docs/faq-english.html#4.23

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Moray McConnachie 2000-04-06 15:56:31 Re: Accelerating subqueries
Previous Message Fabrice Scemama 2000-04-06 15:03:23 Accelerating subqueries