设为首页 加入收藏

TOP

dbms_xplan之display_cursor函数的使用(八)
2014-11-24 02:08:18 来源: 作者: 【 】 浏览:7
Tags:dbms_xplan display_cursor 函数 使用

3 WHERE e.deptno = d.deptno
4 AND d.deptno=20 ORDER BY 1,2,3;

ENAME DNAME LOC
---------- -------------- -------------
ADAMS RESEARCH DALLAS
FORD RESEARCH DALLAS
JONES RESEARCH DALLAS
SCOTT RESEARCH DALLAS
SMITH RESEARCH DALLAS

SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats -rows'));

PLAN_TABLE_OUTPUT
-------------------------------------------------------------------------------------------------
SQL_ID d2hh42yzqqjz7, child number 0
-------------------------------------
SELECT /*+ gather_plan_statistics */ ename,dname,loc FROM emp e, dept d WHERE e.deptno = d.deptno AND
d.deptno=20 ORDER BY 1,2,3

Plan hash value: 3339094711

---------------------------------------------------------------------------------------------------------------------
| Id | Operation | Name | Starts | A-Rows | A-Time | Buffers | OMem | 1Mem | O/1/M |
----------------------------------------------------------------------------------
首页 上一页 5 6 7 8 下一页 尾页 8/8/8
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇[每日一题]11gOCP 1z0-052 :2013-.. 下一篇一个ref cursor的使用例子

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: