Performance in subconsult - Mailing list pgsql-general

From Sonia Sanchez Diaz
Subject Performance in subconsult
Date
Msg-id Pine.SGI.4.10.10203261106590.83992-100000@piaget.dgsca.unam.mx
Whole thread Raw
Responses Re: Performance in subconsult  (postgresql@fruru.com)
List pgsql-general
Hello there!

I have the next query:

psql# select * from table1 t1 where not exists (select * from table2 t2
where t2.id = t1.id);

The execution of this uses more than 90% of my CPU performance and the
answer is slow...

Is there any wrong on my query?

Thanks for the posible answers.

******************************************************************************
    Direccion General de Servicios de Computo Academico
             Productos Interactivos
Sonia Sanchez Diaz
e-mail: sonny@piaget.dgsca.unam.mx
tel: (5)6-22-81-13
ICQ: 127002683
******************************************************************************






pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Altering a CHAR(4) column CHAR(5) changing pg_attribute
Next
From: Tom Lane
Date:
Subject: Re: Altering a CHAR(4) column CHAR(5) changing pg_attribute