Re: Accelerating subqueries - Mailing list pgsql-general

From Ed Loehr
Subject Re: Accelerating subqueries
Date
Msg-id 38ECAEF7.6F161511@austin.rr.com
Whole thread Raw
In response to Accelerating subqueries  (Fabrice Scemama <fabrices@ximmo.ftd.fr>)
List 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

pgsql-general by date:

Previous
From: Herbert Liechti
Date:
Subject: Re: Accelerating subqueries
Next
From: "sanna pietro"
Date:
Subject: protections.