暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

DBWR enhancements In Oracle10g

原创 eygle 2006-02-07
561

为了避免DBWR不必要的唤醒及过于活跃,从Oracle10g开始,Oracle对DBWR的SCAN间隔进行了调整.


在内部由一个隐含参数:_dbwr_scan_interval 控制.


Oracle9i中这个参数缺省值为10 s: 









SQL> select * from v$version
  2  /

BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
PL/SQL Release 9.2.0.4.0 - Production
CORE    9.2.0.3.0       Production
TNS for Solaris: Version 9.2.0.4.0 - Production
NLSRTL Version 9.2.0.4.0 - Production

SQL> col ksppinm for a20
SQL> col ksppdesc for a40
SQL> col ksppstvl for a10
SQL> select
  2    ksppinm,ksppdesc,ksppstvl
  3  from
  4    sys.x$ksppi x,
  5    sys.x$ksppcv y
  6  where
  7    x.inst_id = userenv('Instance') and
  8    y.inst_id = userenv('Instance') and
  9    x.indx = y.indx and
 10    x.ksppinm like '%_dbwr_scan%'
 11  /

KSPPINM              KSPPDESC                                 KSPPSTVL
-------------------- ---------------------------------------- ----------
_dbwr_scan_interval  dbwriter scan interval                   10 


从Oracle10g开始,此缺省值被调这个为300 s:









SQL> select * from v$version
  2  /

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bi
PL/SQL Release 10.1.0.3.0 - Production
CORE    10.1.0.3.0      Production
TNS for Solaris: Version 10.1.0.3.0 - Production
NLSRTL Version 10.1.0.3.0 - Production

SQL> col ksppinm for a20
SQL> col ksppdesc for a40
SQL> col ksppstvl for a10
SQL> select
  2    ksppinm,ksppdesc,ksppstvl
  3  from
  4    sys.x$ksppi x,
  5    sys.x$ksppcv y
  6  where
  7    x.inst_id = userenv('Instance') and
  8    y.inst_id = userenv('Instance') and
  9    x.indx = y.indx and
 10    x.ksppinm like '%_dbwr_scan%'
 11  /

KSPPINM              KSPPDESC                                 KSPPSTVL
-------------------- ---------------------------------------- ----------
_dbwr_scan_interval  dbwriter scan interval                   300 

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论