必须使用4G Tunning技术,过程如下:
1、关闭数据库
2、修改操作系统的boot.ini的启动参数,加入 /3G /PAE切换开关,如下所示
| [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Windows Server 2003, Enterprise" /noexecute=optout /3G /PAE/fastdetect |
3、修改操作系统注册表,在
| HKEY_LOCAL_MACHINESOFTWAREORACLEKEY_OraDb10g_home1 |
4、在Oracle中启动AWE
修改数据库的初始化参数,注释掉 DB_CACHE_SIZE参数,加入以下参数:| *.USE_INDIRECT_DATA_BUFFERS=TRUE *.pre_page_sga=true *.DB_BLOCK_BUFFERS=327680 *.shared_pool_size=203127603 *.java_pool_size=0 *.streams_pool_size=0 *.large_pool_size=0 *.shared_pool_size=385875968 *.sga_max_size=3221225472 |
| SQL> show sga Total System Global Area 3221225472 bytes Fixed Size 1297812 bytes Variable Size 528482924 bytes Database Buffers 2684354560 bytes Redo Buffers 7090176 bytes SQL> |
5、用修改的参数启动数据库,生成spfile
--end--
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/87010/viewspace-694414/ ,如需转载,请注明出处,否则将追究法律责任。