Fosdccf.blog.chinaunix.net
sdccf
全部博文(19283)
Linux酷软(214)
tmp(0)
PostgreSQL(93)
Solaris(383)
AIX(173)
SCOUNIX(575)
DB2(1005)
Shell(386)
C/C++(1187)
MySQL(1750)
Sybase(465)
Oracle(3695)
Informix(548)
HP-UX(0)
IBM AIX(2)
Sun Solaris(0)
BSD(1)
Linux(8597)
SCO UNIX(23)
2011年(1)
2009年(125)
2008年(19094)
2007年(63)
clifford
linky521
曾德标
fengzhan
leon_yu
mcuflowe
yt200902
guanyuji
GY123456
snow888
carlos94
丸喵喵
sean229
cxunix
可怜的猪
cqxc413
xzzgege
wb123456
分类: Oracle
2008-04-02 09:58:35
我们知道,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> 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.
我们知道,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> 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.
上一篇:实例解析:怎样更改监听器日志文件名称
下一篇:Oracle中 限制返回 结果集的大小
登录 注册