Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Things to consider when ORACLE RAC runs above 300 GB of memory

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

With going to IOE, the hardware of PC server is much cheaper than that of IBM minicomputer, and many hosts are equipped with T memory. Here are some parameters that need to be considered in MOS when the memory is greater than 300g in RAC environment.

Welcome to join the ORACLE Super Group: 17115662 solve all kinds of ORACLE problems free of charge. BLOG will migrate to http://www.htz.pw in the future.

Best Practices and Recommendations for RAC databases using SGA larger than 300GB (document 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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report