【Oracle】安装配置数据库体系架构PL/SQL备份与恢复性能调优Oracle开发

您现在的位置:首页 > 网络学院 > 数据库 > Oracle > Oracle开发 > 使用10203事件 跟踪 Oracle块清除

使用10203事件 跟踪 Oracle块清除

来源: 作者: 日期:2007-11-24

【聚杰网Oracle开发】使用10203事件 跟踪 Oracle块清除

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

  10203事件需要在系统级设置,重启后即可生效:

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> startupORACLE instance started.Total System Global Area  126948772 bytesFixed Size                   452004 bytesVariable Size              92274688 bytesDatabase Buffers           33554432 bytesRedo Buffers                 667648 bytesDatabase mounted.Database opened.SQL> show parameter eventNAME                      TYPE        VALUE------------------------ ----------- --------------------------------event                     string      10203 trace name context forever

注释:在跟踪文件中,你现在即可以发现以下的block cleanout

  注释:在跟踪文件中,你现在即可以发现以下的block cleanout 信息:

Begin cleaning out block ...Found all committed transactionsBlock cleanout record, scn:  0xffff.ffffffff ver: 0x01 opt: 0x02, 
entries follow... itli: 1 flg: 2 scn: 0x0819.0045cd54Block 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.

以下相关文章您是否也应该阅读一下 无相关信息
评论   点击查看全部评论
您的评论参与,将为聚杰带来更大的动力!请不要吝啬!
快速回复
请使用文明语言让我们维护健康绿色网络环境!

匿名发表   验证码: