window无法启动oracle数据库,Oracle在Windows上的运行问题分析和解决

做了一周关于Oracle在32位windows上实施的培训,恰好期间有几位Oracle用户邮件询问关于Windows系统调整问题。正好吧,把准备的一些内容共享出来。

如果Oracle使用大于1.7的内存,需要一些特写的设置。参见下面来自metalink的论点:

Large page support is a feature of Oracle Database 10gRelease 1 (10.1) or later. It

provides a performance boost for memory-intensive database instances running on

Windows Server 2003. By taking advantage of newly introduced operating system

support, Oracle Database 10gRelease 1 (10.1) or later can now make more efficient use

of processor memory addressing resources. Specifically, when large page support is

enabled, the CPUs in the system will be able to access the Oracle Database buffers in

RAM more quickly. Instead of addressing the buffers in 4KB increments, the CPUs are

told to use 2 MB page sizes in Physical Address Extension (PAE) mode and 4MB page

sizes in non-PAE mode when addressing the database buffers.

由于32位的CPU的在windows系统中2G给系统用2G给应用程序使用,如系统及oracle参数不作修改时,oracle的SGA内存使用不能超过1.7G

但可以对Windows参数进行修改:

1. 修改boot.ini文件,在其中添加/3GB选项或/PAE,甚至二者都有之。

WINDOWS="Microsoft Windows" /3GB

WINDOWS="Microsoft Windows" /PAE

32d359b652eb5e77ef3c9ba3193bc1b8.png

2.设置Oracle运行环境,设置windows 注册表:

使用 regedit工具在HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraDb10g_home1中找到AWE_WINDOW_MEMORY参数,修改为oracle需要内存的大小,如5GB,以字节方式。

dca87205c8d299adb24a7d7a2458b30f.png

3.授予Oracle用户在内存锁定页的权限,方法为:管理工具--> 域安全策略--> 本地安全策略 -->锁定内存页,加入ora_dba组。

4:设置oracle参数如下:

取消数据:db_cache_size、sga_max_size等10g参数;

添加参数:

db_block_buffers

USE_INDIRECT_DATA_BUFFERS=TRUE

参见metalink :Implementing Address Windowing Extensions (AWE) or VLM on Windows Platforms    文平

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值