首页 > 学院 > 开发设计 > 正文

ORA-00845: MEMORY_TARGET not supported on this system

2019-11-09 13:28:51
字体:
来源:转载
供稿:网友
一次调整Oracle数据库内存参数后,启动数据库时出现ORA-00845:MEMORY_TARGET not supported on this system错误
SQL> startupORA-00845: MEMORY_TARGET not supported on this system

官方解释:

ORA-00845: MEMORY_TARGET not supported onthis system

Cause: The MEMORY_TARGET parameter wasnot supported on this Operating system or /dev/shm was not sized correctly onlinux.

Action: Referto documentation for a list of supported operating systems. Or, size /dev/shmto be at least the SGA_MAX_SIZE on each Oracle instance running on the system.

即oracle SGA的大小超过了系统shm的大小,有两种解决方案:1.修改shm的大小 .2 修改SGA_MAX_SIZE的大小。建议修改shm,shm类似于Windows平台的虚拟内存.因为shm的剩余空间是随着应用程序的变化而调节的,当shm小于SAG,启动oracle就会出现此问题。

Oracle数据库服务器所在主机的/dev/shm的值为32G,小于设定的memory_max_target和memory_target的50G。

解决方法

第一步:修改/dev/shm大小

# cp /etc/fstab /etc/fstab_20170207_bak# vi /etc/fstab

第二步:重新挂载/dev/shm后查看

第三步:重新启库

可以正常启库,问题解决!


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表