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.

 


历史上的今天...
      >> 2009-04-20文章:
      >> 2007-04-20文章:
             DBA警世录:人祸猛于虎
      >> 2005-04-20文章:
             五一出行计划
------
这篇 【使用10203事件跟踪Oracle块清除】来自 eygle.com | CSDN网摘| del.icio.us|Google订阅 | 鲜果订阅 | 抓虾订阅

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

相关文章 随机文章
  • 明日将参加Oracle公司组织的DBA Round Table活动
  • Oracle的to_date转换可能导致的错误SQL结果
  • Oracle Wait Events:checkpoint completed
  • Oracle Wait Events:read by other session
  • Oracle Wait Events:Data file init write
  • 据说这是一个幸运的年份...
    五邑大学选用IBM存储搭建SAN存储架构
    分区表的维护 - ORA-14402 更新分区关键字列
    《深入浅出Oracle》的销售情况
    Oracle 11g新特性:Memory_target与自动内存管理
    搜索本站:

    留言 (0)

    发表留言:



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



    CopyRight © 2004~2010 eygle.com, All rights reserved.