eygle.com   eygle.com
eygle.com  
 

« Windows Live Messenger可以自由申请 | Blog首页 | 李白手书真迹-上阳台 »

使用10203事件跟踪Oracle块清除

作者:eygle |【转载时请务必以超链接形式标明文章和作者信息及本声明
链接:

Oracle的10203事件可以用来跟踪数据库的块清除(cleanout)操作,从事件列表中,我们可以知道该时间的含义为:block cleanout 。

该事件需要在系统级设置,重启数据库后生效:

SQL> alter system set event="10203 trace name context forever" scope=spfile;

System altered.

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  126948772 bytes
Fixed Size                   452004 bytes
Variable Size              92274688 bytes
Database Buffers           33554432 bytes
Redo Buffers                 667648 bytes
Database mounted.
Database opened.

SQL> show parameter event

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------------------------------
event                                string      10203 trace name context forever

在跟踪文件中,我们可以发现类似如下的block cleanout 信息:

Begin cleaning out block ...
Found all committed transactions
Block cleanout record, scn:  0xffff.ffffffff ver: 0x01 opt: 0x02, entries follow...
  itli: 1  flg: 2  scn: 0x0819.0045cd54
Block cleanout under the cache...
Block cleanout record, scn:  0x0819.0045cea1 ver: 0x01 opt: 0x02, entries follow...
  itli: 1  flg: 2  scn: 0x0819.0045cd54
... clean out dump complete.

 

By eygle on 2006-04-20 17:04 | Comments (0) | Posted to Internal | Edit |Pageviews:

相关文章 随机文章
  • Oracle Wait Event:Data file init write
  • 回顾成都的Oracle 11g发布会
  • ORA-00701 warmstarting对象的另类解决方法
  • 备份的控制文件和新的数据文件
  • 关于控制文件与数据文件头信息的说明
  • 发布《Oracle数据库性能优化》样章
    装修日记-橱柜木门我选科宝·博洛尼
    推荐微软的Windows Defender
    飘洋过海来看你
    CBO RBO Oracle10g and Speed
    网上相关主题:
    Google

    留言 (0)

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004 eygle.com, All rights reserved.