I have an application that executes some sql queries. How can I get execution plan for currently executing query from sqlplus or some other oracle client? I can amend oracle session that is used in application, if that is necessary.

I do not want to use explain plan and execute that query by hand, I need to get actual execution plan that is used for query.

Edit
Report