My developers want to see the explain plan of the their SQLs running (for debugging purposes) thru DBA-Studio
What roles/privileges I need to give them ?
If I give them DBA role, they will be able to view as well as kill anybody's sessions.
I am wondering if there is a set of privileges that will give them view the running SQLs and the associated Explain plan but may not give them power others' sessions.
They can't run the SQL on SQL/Plus (to see the explain plan)because SQLs are gererated dynamically by the application.
I know there are ways to write procedures to accomplish this but I am interested to know who all of you tackle this situation.
As long as they meet the requirements like having a plan table they should be able to execute the plans....