- 最后登录
- 2016-5-26
- 在线时间
- 35 小时
- 威望
- 8
- 金钱
- 208
- 注册时间
- 2013-1-14
- 阅读权限
- 10
- 帖子
- 60
- 精华
- 0
- 积分
- 8
- UID
- 864
|
4#
发表于 2013-3-13 17:16:23
Maclean Liu(刘相兵 发表于 2013-3-13 16:27
select event,p1,p2,p3,CURRENT_FILE#,CURRENT_BLOCK# ,CURRENT_OBJ# from v$active_session_history
w ...
感谢刘大,补充信息如下:
SQL> select * from v$version;(OS:aix5.3)
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.4.0 - Productio
NLSRTL Version 10.2.0.4.0 - Production
SQL> select event,p1,p2,p3,CURRENT_FILE#,CURRENT_BLOCK# ,CURRENT_OBJ# from v$active_session_history
2 where CURRENT_OBJ# <-10 and rownum<10;
EVENT P1 P2 P3 CURRENT_FILE# CURRENT_BLOCK# CURRENT_OBJ#
---------------------------------------------------------------- ---------- ---------- ---------- ------------- -------------- ------------
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
db file sequential read 205 2199759 1 205 2199759 -40016301
9 rows selected.
SQL> select segment_name from dba_extents where file_id=205 and 2199759 between block_id and block_id+blocks-1;
no rows selected
发现当current_obj#为负数时,通过p1,p2参数查不到任何对象! 继续求教我上面提出的两个问题! |
|