eygle.com   eygle.com
eygle.com  
 

« 关于Mutex的笔记 | Blog首页 | 青年汇小区业主 vs 朝阳绿化局维权的胜利 »

CURSOR_SPACE_FOR_TIME 参数废弃

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

根据Oracle Metalink文档 Note:565424.1,CURSOR_SPACE_FOR_TIME 参数已经被Oracle放弃。

最先放弃的版本是:10.2.0.5 and 11.1.0.7
在早期的版本中,用户可以通过设置这个参数为True,使得Oracle使用更多的Shared SQL Area去保存SQL,从而提高反复执行SQL解析的速度。
然而随着Oracle Mutexes Pin机制的引入,用户已经几乎不再会从这个参数中受益,加上在某些特定的环境下,这个参数可能会导致严重Bug,随意最终,这个参数被废弃。

在文档中,这个参数的说明大致如下:

CURSOR_SPACE_FOR_TIME lets you use more space for cursors in order to save time. It affects both the shared SQL area and the client's private SQL area.

Values True means take the benifits of this parameter,With True setting Shared SQL areas are kept pinned in the shared pool. As a result, shared SQL areas are not aged out of the pool as long as an open cursor references them. Because each active cursor's SQL area is present in memory, execution is faster. However, the shared SQL areas never leave memory while they are in use. Therefore, you should set this parameter to TRUE only when the shared pool is large enough to hold all open cursors simultaneously.

In addition, a setting of TRUE retains the private SQL area allocated for each cursor between executions instead of discarding it after cursor execution, saving cursor allocation and initialization time

所有使用了这个参数的数据库应当注意。

而且作为一个法则,我应当提醒的是:除非具有了深入的了解与认识,否则不要设置一些不常见、你不了解的参数。


历史上的今天...
      >> 2007-10-11文章:
             结束假期 回到北京
             《越狱》第三季之Sara之死
      >> 2006-10-11文章:
      >> 2005-10-11文章:
------
这篇 【CURSOR_SPACE_FOR_TIME 参数废弃】来自 www.eygle.com | CSDN技术网摘| del.icio.us|365Key

By eygle on 2008-10-11 08:38 | Comments (0) | Posted to Beginner | OraNews | Edit |Pageviews:

相关文章 随机文章
  • Oracle10gR2中的Mutex竞争的案例
  • 关于Mutex的笔记
  • DBA警示录:Messages信息应当认真检查
  • DBA警世录:威胁来自数据库之外
  • DBA警世录:root操作需谨慎
  • Tools:Linux下的SYSSTAT工具
    Oracle中临时表产生过量Redo的说明
    今天将成为一个纪念日
    V$TEMPSEG_USAGE与Oracle排序
    使用PL/SQL从数据库中读取BLOB对象
    搜索本站:

    留言 (0)

    发表留言:



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



    CopyRight © 2004 eygle.com, All rights reserved.