首页 > 其他 > 详细

ORA-00845-MEMORY_TARGET not supported on this system

时间:2014-03-30 20:36:23      阅读:641      评论:0      收藏:0      [点我收藏+]

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 was not sized correctly onLinux.

// *Action: Refer to documentation for alist of supported operating systems. Or, size /dev/shm to be at least theSGA_MAX_SIZE on each Oracle instance running on the system.

 

报错信息

在ASM环境中,启动oracle实例的时候报错

SQL> startup

ORA-00845: MEMORY_TARGET not supported onthis system

 

查看日志

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 file system to bemounted for at least 19327352832 bytes. /dev/shm is either not mounted or ismounted with available space less than this size. Please fix this so thatMEMORY_TARGET can work as expected. Current available is 16536903680 and usedis 288894976 bytes. Ensure that the mount point is /dev/shm for this directory.

memory_target needs larger /dev/shm

 

查看/dev/shm分区情况

Filesystem    Type   Size  Used Avail Use% Mounted on

tmpfs       tmpfs     16G   14.2G 1.8G  89% /dev/shm

 

调整/dev/shm分区大小:

# vim /etc/fstab

tmpfs                                    /dev/shm                tmpfs   defaults,size=20G        0 0

 

查看使用/dev/shm分区的进程:

#lsof /dev/shm  -- ASM实例在使用

 

关闭ASM实例(已经确认可以关闭):

# sqlplus -S / as sysasm

-- 检查当前连接的会话

selectusername,status,server,type,program,action,logon_time,state from v$session;

-- 确认可以关闭ASM实例

shutdown normal

 

重新加载/dev/shm分区:

# mount -o remount /dev/shm

 

查看/dev/shm分区大小:

# df -hT |grep shm

tmpfs       tmpfs     20G   19G 1.8G  92% /dev/shm

 

启动Oracle实例:

# id

oracle

# sqlplus -S / as sysdba

startup

启动成功。

 

ORA-00845-MEMORY_TARGET not supported on this system,布布扣,bubuko.com

ORA-00845-MEMORY_TARGET not supported on this system

原文:http://blog.csdn.net/jason_asia/article/details/22589801

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!