oracle determine index used for query via sqlplus

I need to figure out which index is being used when i run a particular query.  I only have sqlplus access to the database and tables, and I doubt that I have access to any system views, though I do have DBO on my db and tables.

Who is Participating?
"DBO"  ?  That's a sqlserver term.

however, you should be able to do this...

explain plan for                 -- leave this line alone
select * from your_table;   -- change this line to be your query

when that completes, run this...

select * from table(dbms_xplan.display)

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.