| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> ADVICE NEEDED - Striping? SQL? Speed
PROBLEM:
When I execute a query across the database (approx. 300mb), it takes about
35 secs. to return the results.
This is too long. I need it to be back in 4 seconds max, preferably much less. Any advice is appreciated.
SELECT Field2,Field3,Field4,Field5 FROM Table1 WHERE
(
(
(Field3 LIKE '%string[0]%') OR
(Field4 LIKE '%string[0]%') OR
(Field5 LIKE '%string[0]%')
)
AND
(
(Field3 LIKE '%string[1]%') OR
(Field4 LIKE '%string[1]%') OR
(Field5 LIKE '%string[1]%')
)
AND
(
(Field3 LIKE '%string[2]%') OR
(Field4 LIKE '%string[2]%') OR
(Field5 LIKE '%string[2]%')
)
) ORDER BY Field5
etc.
Thanks in Advance :) Received on Thu May 20 1999 - 18:48:15 CDT
![]() |
![]() |