Could anyone provide instructions on how will I check or verify if the index I created is being used in the query? Thank you.
Use the EXPLAIN PLAN
statement to generate an execution plan for the query:
EXPLAIN PLAN FOR
your_query_here
After generating the execution plan, you can retrieve it with the DMBS_XPLAN
package:
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
Read this: