例項啟動時報ORA-00845的解決方法
在Oracle 11g中如果採用AMM記憶體管理,那麼當MEMORY_TARGET的值大於/dev/shm的時候,就會報ORA-00845: MEMORY_TARGET not supported on this system錯誤,解決辦法增加/dev/shm大小,在redhat系列系統中,/dev/shm的預設值是系統總記憶體的一半
1、修改/dev/shm大小 [[email protected] ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 140G 57G 76G 43% / /dev/sda1 99M 12M 82M 13% /boot tmpfs 3.9G 995M 3.0G 25% /dev/shm [Starting with Oracle Database 11g, the Automatic Memory Management feature requires more shared memory (/dev/shm)and file descriptors. The size of the shared memory should be at least the greater of MEMORY_MAX_TARGET and MEMORY_TARGET for each Oracle instance on the computer. If MEMORY_MAX_TARGET or MEMORY_TARGET is set to a non zero value, and an incorrect size is assigned to the shared memory, it will result in an ORA-00845 error at startup.
5、解決問題建議
5.1. If you are installing Oracle 11g on a Linux system, note that Memory Size (SGA and PGA), which sets the initialization parameter MEMORY_TARGET or MEMORY_MAX_TARGET, cannot be greater than the shared memory filesystem (/dev/shm) on your operating system. To resolve the current error, increase the /dev/shm file size.
5.2. If configuring AMM is not possible due to lack of space on /dev/shm mount point, you can configure ASMM instead of AMM, i.e. set SGA_TARGET, SGA_MAX_SIZE and PGA_AGGREGATE_TARGET instead of MEMORY_TARGET.
再分享一下我老師大神的人工智慧教程吧。零基礎!通俗易懂!風趣幽默!希望你也加入到我們人工智慧的隊伍中來!http://www.captainbed.net