Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Lock-up query
Hi,
I wonder if someone has had the following problem:
When selecting one attribute from a table, for example:
select c.cnumber from customers c
...everything's fine. But when running a query that tries to do a difference
using a subquery, like:
select * from customertypes ct where ct.cnumber not in (
select c.cnumber from customers c
)
...the query hangs (had it running for ~3 hours before killing it). There's
no disc swapping, but CPU usage goes up to ~98% (on a SUN Ultra10 running
Solaris 8).
Any ideas..?