ORA-00845: MEMORY_TARGET not supported on this system??????

OS version : Red Hat Enterprise Linux Server release 5.5 (Tikanga)

database version :

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production

PL/SQL Release 11.2.0.1.0 - Production

CORE    11.2.0.1.0      Production

TNS for Linux: Version 11.2.0.1.0 - Production

NLSRTL Version 11.2.0.1.0 -  Production

现象:修改了spfile文件后,启动数据库报错

oracle#sqlplus  / as sysdba

SQL>startup

ORACLE instance started.

Total System Global Area  945786880 bytes

Fixed Size                  1340468 bytes

Variable Size             553651148 bytes

Database Buffers          385875968 bytes

Redo Buffers                4919296 bytes

ORA-00845 :MEMORY_TARGET not support on this system

查资料得知:

在oracle 11g中新增的内存自动管理的参数MEMORY_TARGET,它能自动调整SGA和PGA,这个特性需要用到/dev/shm共享文件系统,而且要求/dev/shm必须大于MEMORY_TARGET,如果/dev/shm比MEMORY_TARGET小就会报错

解决方案:

1.初始化参数MEMORY_TARGET或MEMORY_MAX_TARGET不能大于共享内存(/dev/shm),为了解决这个问题,可以增大/dev/shm

如:

# mount -t tmpfs shmfs -o size=7g /dev/shm

2.为了确保操作系统重启之后能生效,需要修改/etc/fstab文件

shmfs /dev/shm tmpfs size=7g 0

3.如果/dev/shm没有挂载也会报上面的错,所认需要确保已经挂载

[email protected] ~]$ df -h

……

tmpfs                16G 8.9G 7.2G 56% /dev/shm

在此启动就ok

SQL> startup

ORACLE instance started.

Total System Global Area 9420095488 bytes

Fixed Size                2236248 bytes

Variable Size          2315255976 bytes

Database Buffers        7046430720 bytes

Redo Buffers              56172544 bytes

Database mounted.

Database opened.

SQL> exit

ORA-00845: MEMORY_TARGET not supported on this system??????,码迷,mamicode.com

时间: 2024-10-14 07:29:50

ORA-00845: MEMORY_TARGET not supported on this system??????的相关文章

ORA-00845 : MEMORY_TARGET not supported on this system(调大数据库内存无法启动)

问题描述:调大数据库内存后,启动数据库报 ORA-00845 : MEMORY_TARGET not supported on this system . -- 调大数据库内存后,数据库启动报错[[email protected] bin]# ./srvctl start database -d jcdydbPRCR-1079 : Failed to start resource ora.jcdydb.dbCRS-5017: The resource action "ora.jcdydb.db

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system解决办法

oracle启动报错ORA-00845: MEMORY_TARGET not supported on this system 原因可能:ORACLE MEMORY_TARGET参数设置超过了oracle服务器本身内存.或超过了现在服务器空闲内存(就是oracle启动时无法获取设置的内存) eg: oracle version:11gR2 OS version:RedHat 6.4企业版 服务器:虚拟机 分析步骤: 1.查看当前 MEMORY_TARGET参数的值为*.memory_target

Oracle11g 启动报错ORA-00845: MEMORY_TARGET not supported on this system报错解决

ORA-00845: MEMORY_TARGET not supported on this system报错解决 Oracle启动报错 ORA-00845: MEMORY_TARGET not supported on this system报错解决 SQL> startup ORA-00845: MEMORY_TARGET not supported on this system 查看原本大小 [[email protected] oracle]# df -h|grep shm tmpfs

再说ORA-00845: MEMORY_TARGET not supported on this system

网上很多关于这个错误的文章,有些还引用了Oracle文档中的说明. Setting Memory Target at Instance Startup on Linux Starting with Oracle Database 11g Release 1 (11.1), Oracle provides the option of automatically managing SGA and PGA with a combined MEMORY_TARGETparameter without h

ORA-00845: MEMORY_TARGET not supported on this system报错解决

数据库版本:11.2.0.2 现象 Oracle 11g数据库修改pfile参数后启动数据库报错ora-00845 SQL> startup ORA-00845: MEMORY_TARGET not supported on this system 查找资料后发现问题如下,见metalinikID 460506.1 在oracle 11g中新增的内存自动管理的参数MEMORY_TARGET,它能自动调整SGA和PGA,这个特性需要用到/dev/shm共享文件系统,而且要求/dev/shm必须大于

Oracle study之--“ORA-00845: MEMORY_TARGET not supported on this system"错误

Oracle study之--"ORA-00845: MEMORY_TARGET not supported on this system"错误 系统环境:    操作系统:RedHat EL6(64)    Oracle:    Oracle 11g R2 故障案例: 在Oracle 11gR2下调整内存参数:memory_target SQL> show parameter mem NAME TYPE VALUE -------------------------------

startup ORA-00845: MEMORY_TARGET not supported on this system

一台虚拟机跑多个实例时,由于/dev/shm空间不够导致如下报错> startupORA-00845: MEMORY_TARGET not supported on this system解决方法:修改/etc/fstab中为tmpfs                   /dev/shm                tmpfs   defaults,size=2048m        0 0 重新mount mount -o remount /dev/shm

Oracle 11g ORA-00845: MEMORY_TARGET not supported on this system

启动Oracle 11gR2后报错:ORA-00845 rac1:/home/oracle> sqlplus / as sysdba; SQL*Plus: Release 11.2.0.3.0 Production onTue Feb 14 09:11:41 2012 Copyright (c) 1982, 2011, Oracle.  All rights reserved. Connected to an idle instance. SQL> startup ORA-00845: MEM

ORA-00845: MEMORY_TARGET not supported

Enabling Automatic Memory Management alter system set memory_max_target=50G scope=spfile; alter system set memory_target=50G scope=spfile; alter system set sga_max_size=50G  scope=spfile; alter system set pga_aggregate_target=0 scope=spfile; alter sy