数据库
首页 > 数据库> > oracle查看执行计划

oracle查看执行计划

作者:互联网

SQL> explain plan for select * from emp;
Explained

SQL> select * from table(dbms_xplan.display());
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
Plan hash value: 3956160932
--------------------------------------------------------------------------
| Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
--------------------------------------------------------------------------
|   0 | SELECT STATEMENT  |      |    14 |   532 |     3   (0)| 00:00:01 |
|   1 |  TABLE ACCESS FULL| EMP  |    14 |   532 |     3   (0)| 00:00:01 |
--------------------------------------------------------------------------
8 rows selected

plsql developer可以通过f5进行查看

标签:00,01,14,查看,532,oracle,TABLE,执行,select
来源: https://www.cnblogs.com/inmeditation/p/12579836.html