Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> What slows down that query?
Hi There!
I'm new to Oracle, so please bear with me...
I wrote a query like this:
Select <col list >
From a, b, c
WHERE a.pk = b.fk1 and c.pk = b.fk2 and a.col1 = 'Y'
The query runs fine - brings results back in a few seconds. Then, I
added another condition,
and a.col3 = 1
This condition brings the server to its knees - I waited more than 3
minutes for the rows to come back. And it wasn't a fluke - I kept
commenting this newly added condition, to speed up the query and vice
versa. col3 is numeric, with three possible values, 1, 2 or 3.
Any explanation for this?
Any way to debug or analyze the server's interpretation?
Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Oct 20 2000 - 19:55:09 CDT
![]() |
![]() |