ORACLE RAC 300G記憶體配置
隨著去IOE,其中PC伺服器的硬體相對於IBM小機要便宜很多,很多主機都配置上T的記憶體,下面是MOS中介紹在RAC環境中,大於300G記憶體以上需要考慮的一些引數情況。
歡迎大家加入ORACLE超級群:17115662 免費解決各種ORACLE問題,以後BLOG將遷移到
Best Practices and Recommendations for RAC databases using SGA larger than 300GB (文件 ID 1619155.1)
In this Document
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 to open in main browser window.
REFERENCES
NOTE:558185.1 - LMS and Real Time Priority in Oracle RAC 10g and 11g
In this Document
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 to open in main browser window.
REFERENCES
NOTE:558185.1 - LMS and Real Time Priority in Oracle RAC 10g and 11g
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/27677261/viewspace-1169436/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORACLE RAC 記憶體SGA,PGA配置超過300G的問題Oracle記憶體
- Oracle 之 配置HugePages記憶體Oracle記憶體
- 【大頁記憶體】Oracle資料庫配置大頁記憶體記憶體Oracle資料庫
- Oracle PGA記憶體的配置和使用Oracle記憶體
- yarn記憶體配置Yarn記憶體
- MySQL InnoDB記憶體配置MySql記憶體
- Jmeter:修改記憶體配置JMeter記憶體
- Oracle 記憶體管理Oracle記憶體
- oracle 共享記憶體Oracle記憶體
- linux的hugepage的配置-優化oracle記憶體 .Linux優化Oracle記憶體
- Tomcat修改記憶體配置Tomcat記憶體
- JVM記憶體引數配置JVM記憶體
- Oracle記憶體全面分析Oracle記憶體
- Oracle 記憶體顧問Oracle記憶體
- oracle 記憶體結構Oracle記憶體
- 轉:Oracle 記憶體分析Oracle記憶體
- 清空Oracle記憶體區Oracle記憶體
- 如何配置oracle資料庫伺服器的記憶體Oracle資料庫伺服器記憶體
- Oracle記憶體體系結構Oracle記憶體
- 【記憶體管理】Oracle AMM自動記憶體管理詳解記憶體Oracle
- 超大記憶體環境下的Oracle RAC引數設定建議記憶體Oracle
- 記憶體配置的最佳化記憶體
- 【記憶體管理】Oracle如何使用ASMM自動共享記憶體管理記憶體OracleASM
- oracle 記憶體結構(二)Oracle記憶體
- Oracle 記憶體管理方式Oracle記憶體
- 修改oracle記憶體佔用Oracle記憶體
- oracle for aix記憶體調整OracleAI記憶體
- Oracle記憶體全面分析(ZT)Oracle記憶體
- Oracle 記憶體結構(一)Oracle記憶體
- ORACLE 記憶體結構理解.Oracle記憶體
- oracle-記憶體表(轉)Oracle記憶體
- ORACLE記憶體管理 之一 ORACLE PGAOracle記憶體
- eclipse 增加記憶體的方法、修改配置檔案 記憶體優化Eclipse記憶體優化
- 從記憶體洩露、記憶體溢位和堆外記憶體,JVM優化引數配置引數記憶體洩露記憶體溢位JVM優化
- linux_oracle10g_rac_asm_命令列配置rac記錄LinuxOracleASM命令列
- 2 Day DBA-管理Oracle例項-管理記憶體-修改記憶體設定-自動記憶體管理Oracle記憶體
- Redis記憶體淘汰策略配置翻譯Redis記憶體
- HBase記憶體配置及JVM優化記憶體JVM優化