-
100% Practical Training
-
Hands
On
Training -
100%
Job
Gurantee
Oracle query not using an index |
+91-9080125737 |
Question:
I have a query and even though an optimal index exists, Oracle is
choosing not to use the index.
I can force the index to be used with an INDEX hint, but I want
the query to run properly without hints.
How do I get the optimizer to work properly in 10g?
For testing a query that does not use an index, try testing it with a RULE hint (select /*+ RULE */ col1). If the query uses the index with a RULE hint, you know that it's an issue with the CBO.
"I thought I knew Oracle SQL until I took this course. My company sent me here against my will. It was definitely worth and I found out how many things I was doing wrong. Karthik is awesome. but i got a lot inspired by you. I will keep in touch and will always try to learn from you as much as I can. Thanks once again Karthik"
Greens Technologys Overall Reviews
Greens Technologys Overall Reviews
5 out of 5 based on 17,981 ratings. 17,981 user reviews.