ORA-00845: MEMORY_TARGET not supported on this system

系统:一台linux 

内存:1G

数据库1:YANG

数据库2:XU


SYS@YANG>startup
ORA-00845: MEMORY_TARGET not supported on this system

查看手册

ORA-00845: MEMORY_TARGET not supported on this system
Cause: The MEMORY_TARGET parameter was not supported on this operating system or /dev/shm was not sized correctly on Linux.
Action: Refer to documentation for a list of supported operating systems. Or, size /dev/shm to be at least the SGA_MAX_SIZE on each Oracle instance running on the system.
由于在一台虚拟机上装了两台数据库,可能是内存争用得问题

验证:

[oracle@YANG dbs]$ cat spfileYANG.ora 

*.memory_target=847249408

[oracle@YANG dbs]$ df -h
Filesystem                       Size  Used Avail Use% Mounted on
tmpfs                           1012M  272M  740M  27% /dev/shm

实例YANG共享内存需要800M左右,但空闲内存只有740M,导致报错

由于安装XU之前,YANG一直是open状态

[oracle@YANG dbs]$ cat spfileXU.ora 

*.memory_target=445644800


SYS@XU>shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SYS@XU>


[oracle@YANG dbs]$ sqlplus / as sysdba


SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 2 02:40:22 2017


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


Connected to an idle instance.


SYS@YANG>startup
ORACLE instance started.


Total System Global Area  845348864 bytes
Fixed Size                  1339796 bytes
Variable Size             599789164 bytes
Database Buffers          239075328 bytes
Redo Buffers                5144576 bytes
Database mounted.
Database opened.


SYS@XU>startup
ORACLE instance started.


Total System Global Area  447778816 bytes
Fixed Size                  1337128 bytes
Variable Size             297797848 bytes
Database Buffers          142606336 bytes
Redo Buffers                6037504 bytes
Database mounted.
Database opened.
SYS@XU>


调整一下启动顺序,问题解决。




评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值