Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to get list of tables and indexes being used by a specific sql in the DB.

perfdbaAug 5 2017 — edited Aug 6 2017

hello friends,

I am looking for a better way to get list of tables and indexes (along with the exact owner of the table  & index) being used by a specific sql , for a specific execution plan in the DB.

I want to understand if i can make some visualization tool of how objects are being accessed.

I can get some idea in v$sql_plan , the object_name column but it is becoming a bit complicated when the actual object  is under a different user. For e.g. when synonyms are used to point to object residing in a different schema and there are multiple schemas having objects with same name.

Regs,

Sachin.

This post has been answered by Salman Qureshi on Aug 6 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 3 2017
Added on Aug 5 2017
7 comments
2,786 views