2 Star 0 Fork 0

mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
outlinedata_for_spmsqlbaselines.sql 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
SELECT PLAN_NAME FROM DBA_SQL_PLAN_BASELINES WHERE SQL_HANDLE='SQL_6C0845687118FC3F';
PLAN_NAME
--------------------------------------------------------------------------------
SQL_PLAN_6s225d1sjjz1z193ccf8b
SQL_PLAN_6s225d1sjjz1z642e4a26
SQL_PLAN_6s225d1sjjz1z97bbe3d0
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_SQL_PLAN_BASELINE(PLAN_NAME => 'SQL_PLAN_6S225D1SJJZ1Z193CCF8B', FORMAT => 'OUTLINE'));
/*+
BEGIN_OUTLINE_DATA
BATCH_TABLE_ACCESS_BY_ROWID(@"SEL$1" "TEST"@"SEL$1")
INDEX_RS_ASC(@"SEL$1" "TEST"@"SEL$1" ("TEST"."ID"))
OUTLINE_LEAF(@"SEL$1")
OPT_PARAM('_optimizer_use_feedback' 'false')
DB_VERSION('12.1.0.1')
OPTIMIZER_FEATURES_ENABLE('12.1.0.1')
IGNORE_OPTIM_EMBEDDED_HINTS
END_OUTLINE_DATA
*/
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_SQL_PLAN_BASELINE(PLAN_NAME => 'SQL_PLAN_6S225D1SJJZ1Z642E4A26', FORMAT => 'OUTLINE'));
/*+
BEGIN_OUTLINE_DATA
INDEX_RS_ASC(@"SEL$1" "TEST"@"SEL$1" ("TEST"."ID"))
OUTLINE_LEAF(@"SEL$1")
RBO_OUTLINE
OPT_PARAM('_optimizer_use_feedback' 'false')
DB_VERSION('12.1.0.1')
OPTIMIZER_FEATURES_ENABLE('12.1.0.1')
IGNORE_OPTIM_EMBEDDED_HINTS
END_OUTLINE_DATA
*/
SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_SQL_PLAN_BASELINE(PLAN_NAME => 'SQL_PLAN_6S225D1SJJZ1Z97BBE3D0', FORMAT => 'OUTLINE'));
/*+
BEGIN_OUTLINE_DATA
FULL(@"SEL$1" "TEST"@"SEL$1")
OUTLINE_LEAF(@"SEL$1")
OPT_PARAM('_optimizer_use_feedback' 'false')
DB_VERSION('12.1.0.1')
OPTIMIZER_FEATURES_ENABLE('12.1.0.1')
IGNORE_OPTIM_EMBEDDED_HINTS
END_OUTLINE_DATA
*/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts.git
git@gitee.com:mirrors_ReneNyffenegger/fatdba-Oracle-Database-Scripts.git
mirrors_ReneNyffenegger
fatdba-Oracle-Database-Scripts
fatdba-Oracle-Database-Scripts
main

搜索帮助

0d507c66 1850385 C8b1a773 1850385