ORACLE RAC运行在300G内存以上需要考虑的东西
admin
2023-05-15 06:42:27
0

随着去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)

 

 

ORACLE RAC运行在300G内存以上需要考虑的东西

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

ORACLE RAC运行在300G内存以上需要考虑的东西

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

相关内容

热门资讯

伊朗如此大幅度地升级冲突,美官... 近来,在美国暂停打击行动的背景下,伊朗主动发起了攻击,美国方面感到惊讶。美国总统特朗普正考虑对伊朗发...
莫斯科餐厅爆炸已致3死21伤,... 当地时间8月1日,俄罗斯国家反恐委员会表示,莫斯科市中心一家餐厅发生的事故系自制爆炸装置爆炸所致。通...
两部门向吉林、黑龙江派出工作组 新华社消息,记者从应急管理部获悉,国家防灾减灾救灾委员会办公室、应急管理部1日针对吉林、黑龙江等地近...
太离谱!中国也“躺枪”,日媒紧... 自日本熊本日前发生强震以来,日本社交媒体上出现多则日语网帖称“熊本地震是人工制造的”。7月30日,日...
太子集团“幕后大哥”胡小伟已离... 据报道,太子集团核心人物胡小伟(别名“胡石”,此前网传的陈志“幕后大哥”)已于7月29日离开日本,并...
特斯拉正考虑剥离中国业务?马斯... 7月31日,有美媒消息称特斯拉正考虑剥离中国业务,此举是为未来与SpaceX的潜在合并铺路。马斯克在...
广西日报特稿《王的猜想》加印纸... 2026年7月29日下午,近日备受舆论关注的广西日报特稿《王的猜想》线上开售加印纸质版,遭遇网友热情...
“欧洲是一块诱人的肥肉” ,美... 据美国有线电视新闻网(CNN)7月30日报道,随着欧洲野火肆虐,气温接连刷新历史极值,一款中国制造产...
外交部谈中国暂停核试验30周年 7月30日,外交部发言人毛宁主持例行记者会。有记者提问,今年是《全面禁止核试验条约》达成30周年,昨...
凤凰女记者德黑兰日志:强硬声音... 【编者按】这是凤凰卫视驻伊朗记者李睿的日记。她身处德黑兰,既是战争的亲历者,也是观察者。伊朗战争如今...