1.1. ORA-00845
Ora-00845:memory_target not supported Onthis system
00845, 00000, "Memory_target notsupported on this system"
*cause:the memory_target parameter Wasnot supported on this operating system OR/DEV/SHM is not sized correctly Ux.
*action:refer to documentation for alist of supported operating systems. Or, Size/dev/shm to is at least thesga_max_size on the all Oracle instance running on the system.
Error message
In the ASM environment, an error is initiated when the Oracle instance is started
Sql> Startup
Ora-00845:memory_target not supported Onthis system
View Log
Sun Mar 30 14:28:07 2014
Adjusting the default value of Parameterparallel_max_servers
From 640 to 185 due to the value ofparameter processes (200)
Starting ORACLE instance (normal)
Warning:you are trying to use Thememory_target feature. This feature requires THE/DEV/SHM the file system to bemounted for at least 19327352832 bytes. /DEV/SHM is either to not mounted or ismounted with available spaces less than this size. Please fix the so thatmemory_target can work as expected. The current available is 16536903680 and Usedis 288894976 bytes. Ensure that "mount point" Is/dev/shm for this directory.
Memory_target needs LARGER/DEV/SHM
View/DEV/SHM partition conditions
FileSystem Type Size Used avail use% mounted on
Tmpfs tmpfs 16G 14.2G 1.8G 89%/DEV/SHM
Resize the/DEV/SHM partition:
# Vim/etc/fstab
Tmpfs/dev/shm Tmpfs defaults,size=20g 0 0
To view the processes that use the/DEV/SHM partition:
#lsof/DEV/SHM-ASM instance in use
Close ASM Instance (has been confirmed to be closed):
# Sqlplus-s/As Sysasm
--Check the current connected session
Selectusername,status,server,type,program,action,logon_time,state from V$session;
--Confirm that the ASM instance can be closed
Shutdown normal
Reload/DEV/SHM Partition:
# Mount-o REMOUNT/DEV/SHM
To view the/DEV/SHM partition size:
# df-ht |grep SHM
Tmpfs tmpfs 20G 19G 1.8G 92%/DEV/SHM
To start an Oracle instance:
# ID
Oracle
# Sqlplus-s/As Sysdba
Startup
Started successfully.
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/database/Oracle/