==EXPLAIN PLAN==
[[Oracle]] | {{category [[Category:DBパフォーマンス}}]]
@$ORACLE_HOME/RDBMS/ADMIN/UTLXPLAN.[[SQL]]
truncate table plan_table;
SELECT cardinality "Rows[[R]]ows",
lpad(' ',level-1)||operation||' '||
options||' '||object_name "Plan"
FROM F[[R]]OM PLAN_TABLE
CONNECT BY prior id = parent_id
AND prior statement_id = statement_id
START STA[[R]]T WITH id = 0
AND statement_id = 'plan_test'
ORDER O[[R]]DE[[R]] BY id
----
{{include_html [[banner_html]], "!Oracle"}}