SELECT .. WHERE field IN (SELECT .. ) - Mailing list pgsql-sql

From Predrag Lesic
Subject SELECT .. WHERE field IN (SELECT .. )
Date
Msg-id 379D7A0E.C840D9C2@cg.yu
Whole thread Raw
List pgsql-sql
I have problem with next query

SELECT COUNT(*) FROM TABLE1 WHERE field1 IN (SELECT DISTINCT field2
FROM TABLE2 WHERE field3>'some date')

Processing time of the query is toooooooooo long. I didn't get the
answer. Postgres is doing something, I can see disk is working for some
time, and the query is running. But how long?????

Thank's
Predrag



pgsql-sql by date:

Previous
From: Don Yury
Date:
Subject: outer joins
Next
From: Herouth Maoz
Date:
Subject: Re: [INTERFACES] How can I work thru this key problem?