plan.sql

来自「oracle常用管理脚本」· SQL 代码 · 共 15 行

SQL
15
字号
rem plan.sql - displays contents of the explain plan table
set pages 9999;
select  lpad(' ',2*(level-1))||operation operation,
                options, 
                object_name, 
                position,
                other_tag
from plan_table
start with id=0 
and 
statement_id = 'test3'
connect by prior id = parent_id
and
statement_id = 'test3';

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?