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

简介:

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

 

 

clip_image001[10]

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

clip_image001[2]

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




     本文转自7343696 51CTO博客,原文链接:http://blog.51cto.com/luoping/1416862,如需转载请自行联系原作者




相关文章
|
2月前
|
存储 弹性计算 算法
前端大模型应用笔记(四):如何在资源受限例如1核和1G内存的端侧或ECS上运行一个合适的向量存储库及如何优化
本文探讨了在资源受限的嵌入式设备(如1核处理器和1GB内存)上实现高效向量存储和检索的方法,旨在支持端侧大模型应用。文章分析了Annoy、HNSWLib、NMSLib、FLANN、VP-Trees和Lshbox等向量存储库的特点与适用场景,推荐Annoy作为多数情况下的首选方案,并提出了数据预处理、索引优化、查询优化等策略以提升性能。通过这些方法,即使在资源受限的环境中也能实现高效的向量检索。
|
4月前
|
Java 容器
【Azure Function App】Java Function在运行中遇见内存不足的错误
【Azure Function App】Java Function在运行中遇见内存不足的错误
|
4月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
106 2
|
4月前
|
存储 缓存 NoSQL
Redis内存管理揭秘:掌握淘汰策略,让你的数据库在高并发下也能游刃有余,守护业务稳定运行!
【8月更文挑战第22天】Redis的内存淘汰策略管理内存使用,防止溢出。主要包括:noeviction(拒绝新写入)、LRU/LFU(淘汰最少使用/最不常用数据)、RANDOM(随机淘汰)及TTL(淘汰接近过期数据)。策略选择需依据应用场景、数据特性和性能需求。可通过Redis命令行工具或配置文件进行设置。
98 2
|
4月前
|
设计模式 uml
在电脑主机(MainFrame)中只需要按下主机的开机按钮(on()),即可调用其它硬件设备和软件的启动方法,如内存(Memory)的自检(check())、CPU的运行(run())、硬盘(Hard
该博客文章通过一个电脑主机启动的示例代码,展示了外观模式(Facade Pattern)的设计模式,其中主机(MainFrame)类通过调用内部硬件组件(如内存、CPU、硬盘)和操作系统的启动方法来实现开机流程,同时讨论了外观模式的优缺点。
|
4月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
|
2月前
|
存储 Oracle 关系型数据库
Oracle数据库的应用场景有哪些?
【10月更文挑战第15天】Oracle数据库的应用场景有哪些?
185 64
|
3天前
|
存储 Oracle 关系型数据库
数据库数据恢复—ORACLE常见故障的数据恢复方案
Oracle数据库常见故障表现: 1、ORACLE数据库无法启动或无法正常工作。 2、ORACLE ASM存储破坏。 3、ORACLE数据文件丢失。 4、ORACLE数据文件部分损坏。 5、ORACLE DUMP文件损坏。
32 11
|
16天前
|
Oracle 关系型数据库 数据库
Oracle数据恢复—Oracle数据库文件有坏快损坏的数据恢复案例
一台Oracle数据库打开报错,报错信息: “system01.dbf需要更多的恢复来保持一致性,数据库无法打开”。管理员联系我们数据恢复中心寻求帮助,并提供了Oracle_Home目录的所有文件。用户方要求恢复zxfg用户下的数据。 由于数据库没有备份,无法通过备份去恢复数据库。
|
22天前
|
存储 Oracle 关系型数据库
oracle数据恢复—Oracle数据库文件大小变为0kb的数据恢复案例
存储掉盘超过上限,lun无法识别。管理员重组存储的位图信息并导出lun,发现linux操作系统上部署的oracle数据库中有上百个数据文件的大小变为0kb。数据库的大小缩水了80%以上。 取出&并分析oracle数据库的控制文件。重组存储位图信息,重新导出控制文件中记录的数据文件,发现这些文件的大小依然为0kb。

推荐镜像

更多