文档 ID 749851.1

HugePages and Oracle Database 11g Automatic Memory Management (AMM) on Linux (文档 ID 749851.1)转到底部转到底部

In this Document

 Purpose
 Scope
 Details
 References

 

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Linux OS - Version 2.6 and later
Linux x86
Linux x86-64
IBM: Linux on System z
IBM: Linux on POWER Systems
IBM S/390 Based Linux (31-bit)
Linux Itanium

PURPOSE

This document discusses the interoperability of the Automatic Memory Management (AMM) feature introduced by Oracle Database 11g and the HugePages (HugeTLB) feature of the Linux OS kernel.

SCOPE

This document is to be used by Linux system administrators and Oracle database administrators that work with Oracle Database Server 11g on Linux Operating System.

DETAILS

The 11g AMM feature is enabled by the MEMORY_TARGET / MEMORY_MAX_TARGET instance initialization parameters . That is also the case with a default database instance created using Database Configuration Assistant (DBCA).

With AMM all SGA memory is allocated by creating files under /dev/shm. When Oracle DB does SGA allocations that way HugePages are not reserved/used.

The use of AMM is absolutely incompatible with HugePages. (Please see references at the end of the document for further information on HugePages)

On systems with HugePages in use, attempting to set the MEMORY_TARGET / MEMORY_MAX_TARGET instance initialization parameters may result in the following error message:

ORA-00845: MEMORY_TARGET not supported on this system

AMM should not be confused with Automatic Shared Memory Management  (ASMM) where ASMM has no problem with HugePages (See also 1134002.1)

Please also note that ramfs (instead of tmpfs mount over /dev/shm) is not supported for AMM at all. With AMM the Oracle database needs to grow and reduce the size of SGA dynamically. This is not possible with ramfs where it possible and supported with tmpfs (which is the default for the OS installation).

Note that, AMM is setup for ASM instances by default. On the other hand, since the ASM instances do not have a large SGA, using HugePages for ASM instances is not crucial.

If you want to use HugePages make sure that both MEMORY_TARGET / MEMORY_MAX_TARGET initialization parameters are unset (i.e. using "ALTER SYSTEM RESET") for the database instance.(See also Oracle Database Administrator's Guide 11g)



NOTE:361323.1 - HugePages on Linux: What It Is... and What It Is Not...
NOTE:465048.1 - ORA-00845 Raised When Starting Instance

转载于:https://my.oschina.net/1272149624/blog/732438

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值