troubleshooting Question

Forcing indexes to be used in regular table and Global temporary tables

Avatar of d27m11y
d27m11y asked on
Oracle Database
6 Comments3 Solutions438 ViewsLast Modified:
How can we make sure that a "SELECT" query or "INSERT" query is using indexes in a regular tables..
All I know is, we can use /*+ index ( table_name index_name) */ on regular tables. Are there any other options other than using Index Hints to force indexes.

Also, I see that sometimes that index hints are ignored and tables do not use Indexes.

Can this also be done on Global Temporary tables.

Please advise, quick reply is appreciated!
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 3 Answers and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros