设为首页 收藏本站
查看: 591|回复: 0

[经验分享] ORACLE RAC运行在300G内存以上需要考虑的东西

[复制链接]
累计签到:1 天
连续签到:1 天
发表于 2014-5-26 16:15:59 | 显示全部楼层 |阅读模式
                                    
随着去IOE,其中PC服务器的硬件相对于IBM小机要便宜很多,很多主机都配置上T的内存,下面是MOS中介绍在RAC环境中,大于300G内存以上需要考虑的一些参数情况。
               
欢迎大家加入ORACLE超级群:17115662 免费解决各种ORACLE问题,以后BLOG将迁移到http://www.htz.pw
                        
Best Practices and Recommendations for RAC databases using SGA larger than 300GB (文档 ID 1619155.1)
        
        
               
In this Document
        
        
Purpose
        
Scope
        
Details
        
Database - RAC/Scalability Community
        
        
        
References
        
        
APPLIES TO:
        
        
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]
        
Information in this document applies to any platform.
        
        
PURPOSE
        
        
The goal of this note is to provide best practices and recommendations to users of Oracle Real Application Clusters (RAC) database using a large SGA that is greater than 300GB. This document is compiled and maintained based on Oracle's experience with its global RAC customer base.
        
        
This is not meant to replace or supplant the Oracle Documentation set, but rather, it is meant as a supplement to the same. It is imperative that the Oracle Documentation be read, understood, and referenced to provide answers to any questions that may not be clearly addressed by this note.
        
        
All recommendations should be carefully reviewed by your own operations group and should only be implemented if the potential gain as measured against the associated risk warrants implementation. Risk assessments can only be made with a detailed knowledge of the system, application, and business environment.
        
        
As every customer environment is unique, the success of any Oracle Database implementation, including implementations of Oracle RAC, is predicated on a successful test environment. It is thus imperative that any recommendations from this note are thoroughly tested and validated using a testing environment that is a replica of the target production environment before being implemented in the production environment to ensure that there is no negative impact associated with the recommendations that are made.
        
        
SCOPE
        
This article applies to all new and existing RAC implementations.
        
        
DETAILS
        
                 
init.ora parameters:
                  
a.     Set _lm_sync_timeout to 1200
                  
           Setting this will prevent some timeouts during reconfiguration and DRM
                  
                  
b.      Set _ksmg_granule_size to 134217728
                  
           Setting this will cut down the time needed to locate the resource for a data block.
                  
                  
c.      Set shared_pool_size to 15% or larger of the total SGA size.
                  
        For example, if SGA size is 1 TB, the shared pool size should be at least 150 GB.
                  
                  
d.      Set _gc_policy_minimum to 15000
                  
        There is no need to set _gc_policy_minimum if DRM is disabled by setting _gc_policy_time = 0
                  
                  
e.     Set _lm_tickets to 5000
                  
        Default is 1000.   Allocating more tickets (used for sending messages) avoids issues where we ran out of tickets during the reconfiguration.
                  
                  
f.      Set gcs_server_processes to the twice the default number of lms processes that are allocated.
                  
                  
        The default number of lms processes depends on the number of CPUs/cores that the server has,  so please refer to the gcs_server_processes init.ora parameter section in the Oracle Database Reference Guide for the default number of lms processes for your server.  Please make sure that the total number of lms processes of all databases on the server is less than the total number of CPUs/cores on the server.  Please refer to the Document 558185.1
      
        
        
        
        
        
Following patches are recommended:
        
For database on 11.2.0.3.4 PSU,
        
Patch  18167801  - MERGE REQUEST ON TOP OF DATABASE PSU 11.2.0.3.4 FOR BUGS 18110922 16392068
        
(This merged patch has many fixes that are needed for using large SGA)
        
        
        
        
For database on 11.2.0.3.5 PSU or above, please contact Oracle Support
        
        
        
Database - RAC/Scalability Community
        
        
Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject.
        
        
Note: Window is the LIVE community not a screenshot.
        
        
Click here to open in main browser window.
        
        
REFERENCES
        
NOTE:558185.1 - LMS and Real Time Priority in Oracle RAC 10g and 11g
     
   


  In this Document
  Purpose
  Scope
  Details
  Database - RAC/Scalability Community
  References
  APPLIES TO:
  Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]
  Information in this document applies to any platform.
  PURPOSE
  The goal of this note is to provide best practices and recommendations to users of Oracle Real Application Clusters (RAC) database using a large SGA that is greater than 300GB. This document is compiled and maintained based on Oracle's experience with its global RAC customer base.
  This is not meant to replace or supplant the Oracle Documentation set, but rather, it is meant as a supplement to the same. It is imperative that the Oracle Documentation be read, understood, and referenced to provide answers to any questions that may not be clearly addressed by this note.
  All recommendations should be carefully reviewed by your own operations group and should only be implemented if the potential gain as measured against the associated risk warrants implementation. Risk assessments can only be made with a detailed knowledge of the system, application, and business environment.
  As every customer environment is unique, the success of any Oracle Database implementation, including implementations of Oracle RAC, is predicated on a successful test environment. It is thus imperative that any recommendations from this note are thoroughly tested and validated using a testing environment that is a replica of the target production environment before being implemented in the production environment to ensure that there is no negative impact associated with the recommendations that are made.
  SCOPE
  This article applies to all new and existing RAC implementations.
  DETAILS
  init.ora parameters:
  a.  Set _lm_sync_timeout to 1200
             Setting this will prevent some timeouts during reconfiguration and DRM
  b. Set _ksmg_granule_size to 134217728
             Setting this will cut down the time needed to locate the resource for a data block.
  c. Set shared_pool_size to 15% or larger of the total SGA size.
          For example, if SGA size is 1 TB, the shared pool size should be at least 150 GB.
  d. Set _gc_policy_minimum to 15000
          There is no need to set _gc_policy_minimum if DRM is disabled by setting _gc_policy_time = 0
  e.  Set _lm_tickets to 5000
          Default is 1000.   Allocating more tickets (used for sending messages) avoids issues where we ran out of tickets during the reconfiguration.
  f. Set gcs_server_processes to the twice the default number of lms processes that are allocated.
          The default number of lms processes depends on the number of CPUs/cores that the server has,  so please refer to the gcs_server_processes init.ora parameter section in the Oracle Database Reference Guide for the default number of lms processes for your server.  Please make sure that the total number of lms processes of all databases on the server is less than the total number of CPUs/cores on the server.  Please refer to the Document 558185.1
  Following patches are recommended:
  For database on 11.2.0.3.4 PSU,
  Patch  18167801  - MERGE REQUEST ON TOP OF DATABASE PSU 11.2.0.3.4 FOR BUGS 18110922 16392068
  (This merged patch has many fixes that are needed for using large SGA)
  For database on 11.2.0.3.5 PSU or above, please contact Oracle Support
  Database - RAC/Scalability Community
  Still have questions? Use the communities window below to search for similar discussions or start a new discussion on this subject.
  Note: Window is the LIVE community not a screenshot.
  Click here to open in main browser window.
  REFERENCES
  NOTE:558185.1 - LMS and Real Time Priority in Oracle RAC 10g and 11g
                    


运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-19655-1-1.html 上篇帖子: Windows7下PL/SQL配置远程连接Oracle数据库 下篇帖子: oracle创建实例报错处理
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表