- 最后登录
- 2014-12-9
- 在线时间
- 11 小时
- 威望
- 31
- 金钱
- 49
- 注册时间
- 2011-10-15
- 阅读权限
- 10
- 帖子
- 24
- 精华
- 0
- 积分
- 31
- UID
- 42
|
4#
发表于 2012-3-13 15:43:43
执行计划如下:- SQL> set pagesize 200
- SQL> col plan_table_output for a120
- SQL> select * from table(dbms_xplan.display_awr('209fr01svbb5s'));
- PLAN_TABLE_OUTPUT
- ------------------------------------------------------------------------------------------------------------------------
- SQL_ID 209fr01svbb5s
- --------------------
- update sys.aud$ set action#=:2, returncode=:3,
- logoff$time=cast(SYS_EXTRACT_UTC(systimestamp) as date),
- logoff$pread=:4, logoff$lread=:5, logoff$lwrite=:6, logoff$dead=:7,
- sessioncpu=:8 where sessionid=:1 and entryid=1 and action#=100
- Plan hash value: 444042542
- ---------------------------------------------------------------------------
- | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
- ---------------------------------------------------------------------------
- | 0 | UPDATE STATEMENT | | | | 2 (100)| |
- | 1 | UPDATE | AUD$ | | | | |
- | 2 | TABLE ACCESS FULL| AUD$ | 1 | 49 | 2 (0)| 00:00:01 |
- ---------------------------------------------------------------------------
- 17 rows selected.
- SQL>
复制代码 |
|