ITPub博客

首页 > 数据库 > Oracle > ORA-00845: MEMORY_TARGET not supported on this system

ORA-00845: MEMORY_TARGET not supported on this system

原创 Oracle 作者:wenjunheyixiao 时间:2016-01-02 01:43:17 0 删除 编辑

1

呈现问题:

[oracle@ENMO11G Desktop]$ sqlplus / as sysdba

 

SQL*Plus: Release 11.2.0.4.0 Production on Sat Jan 2 01:26:31 2016

 

Copyright (c) 1982, 2013, Oracle.  All rights reserved.

 

Connected to an idle instance.

 

SQL> startup

ORA-00845: MEMORY_TARGET not supported on this system

2

原因:

简单来说就是 MEMORY_MAX_TARGET 的设置不能超过 /dev/shm 的大小:

 

3

解决方法:

[root@ENMO11G ~]# df -h | grep shm

tmpfs           995M  469M  526M  48% /dev/shm

[root@ENMO11G ~]# mount -o remount,size=4G /dev/shm/

[root@ENMO11G ~]# df -h |grep shm

tmpfs           4.0G  469M  3.6G  12% /dev/shm

 

4

再次启动数据库:

SQL> startup

ORA-00845: MEMORY_TARGET not supported on this system

(解决问题之后)

SQL> startup

ORACLE instance started.

 

Total System Global Area  634679296 bytes

Fixed Size                    2255912 bytes

Variable Size                  432014296 bytes

Database Buffers          192937984 bytes

Redo Buffers                    7471104 bytes

Database mounted.

Database opened.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30606702/viewspace-1969722/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: INS-32010;INS-32012
下一篇: OUI-10035;OUI-10033
请登录后发表评论 登录
全部评论

注册时间:2015-12-02

  • 博文量
    117
  • 访问量
    202603