大页在oracle数据库是否使用,在Oracle 11.2.0.3.0上开启大页(hugepages)的详细解析...

3、对hugepages_settings.sh这个脚本授可执行的权限

[Oracle@mydb admin]$  chmod +x hugepages_settings.sh

4、执行hugepages_settings.sh,计算hugepages的值为1028M

[oracle@mydb admin]$ ./hugepages_settings.sh

This script is provided by Doc ID 401749.1 from My Oracle Support

(http://support.oracle.com) where it is intended to compute values for

the recommended HugePages/HugeTLB configuration for the current shared

memory segments. Before proceeding with the execution please note following:

* For ASM instance, it needs to configure ASMM instead of AMM.

* The 'pga_aggregate_target' is outside the SGA and

you should accommodate this while calculating SGA size.

* In case you changes the DB SGA size,

as the new SGA will not fit in the previous HugePages configuration,

it had better disable the whole HugePages,

start the DB with new SGA size and run the script again.

And make sure that:

* Oracle Database instance(s) are up and running

* Oracle Database 11g Automatic Memory Management (AMM) is not setup

(See Doc ID 749851.1)

* The shared memory segments can be listed by command:

# ipcs -m

Press Enter to proceed...

Recommended setting: vm.nr_hugepages = 1028

得出大页的大小为1028页(注:一页为2M,这个值不可改,1028*2M=2056M),实际上hugepages与参数sga_max_size有关,比sga_max_size的值稍微大一点点(比SGA_MAX_SIZE最少要多加一页,2M的页不要分配超过sga_max_size太多,会造成内存的浪费):

gyj@OCM> show parameter sga_max_size

NAME TYPE VALUE

------------------------------------ ----------- ------------------------------

sga_max_size big in

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Oracle Database Instant Client 11g 11.2.0.3.0 x64是Oracle公司提供的数据库客户端,适用于Microsoft Windows x64(64位)平台。它是一个轻量级的客户端,不需要安装Oracle数据库服务器即可连接到Oracle数据库Oracle Database Instant Client 11g 11.2.0.3.0 x64具有以下优点: 1. 轻量级客户端: Oracle Database Instant Client 11g 11.2.0.3.0 x64是一个轻量级的客户端,只包含了Oracle Database驱动程序和一些必要的库文件。相比于完整的Oracle数据库,它的体积更小,安装更方便,不需要占用过多的系统资源。 2. 灵活性高: 使用Oracle Database Instant Client 11g 11.2.0.3.0 x64,可以将Oracle数据库连接整合到各种应用程序中,比如Web应用程序,Java开发环境等。同时,它也支持ODBC和OLE DB等标准接口,能够在不同平台下运行与其他数据库连接或工具集成。 3. 安全性高: Oracle Database Instant Client 11g 11.2.0.3.0 x64支持Oracle Advanced Security,可以提供强大的数据加密和认证功能,保护数据不受非法攻击和篡改,同时也满足行业规范的安全需求。 4. 易于管理: Oracle Database Instant Client 11g 11.2.0.3.0 x64具有良好的管理性能,可以与Oracle Enterprise Manager Grid Control无缝集成,实现对Oracle数据库和应用程序的全面管理。通过Enterprise Manager Grid Control,管理员可以监控和管理Oracle数据库的性能、安全和可用性,提高系统的稳定性和可靠性。 总之,Oracle Database Instant Client 11g 11.2.0.3.0 x64 是一个高性能、高可用性、高安全性的Oracle数据库客户端,适用于各种应用场景,方便易用,值得使用者掌握和应用。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值