on 02-23-2018 10:00 AM
From the SQLScript Reference, I know that the execution plan of a procedure can be viewedas follows:
EXPLAIN PLAN SET STATEMENT_NAME = 'test' FOR CALL proc_p1(1);
SELECT * FROM EXPLAIN_CALL_PLANS WHERE STATEMENT_NAME = 'test'
As far as I understand, the explain plan corresponds to the "prepared" plan of PlanViz.
However, the actually executed plan often differs from the prepared one which is why I would like to know whether the executed plan is also stored in a table similar to EXPLAIN_CALL_PLANS.
I know that the "Operator List" view in the PlanViz perspective provides such information. However, I need access to a table or view via SQL. So an explanation of how to query the operator list table in PlanViz would do, too.
try highlighting the call statement in a sql console - right click - execute/show plan viz --
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.