ORA-00845 Raised When Starting Instance (文档 ID465048.1)
admin
2023-05-02 21:23:58
0

ORA-00845 Raised When Starting Instance (文档 ID465048.1)


APPLIESTO:                                                    

 

OracleDatabase - Enterprise Edition - Version 11.1.0.6 and later

OracleDatabase - Standard Edition - Version 11.2.0.1 to 11.2.0.1 [Release 11.2]

Linuxx86

Linuxx86-64

***Checkedfor relevance on 30-Sep-2014***

SYMPTOMS                                                      

 

Duringthe startup of the database instance the following error is raised:

 

SQL>connect sys as sysdba

Enterpassword: *****

Connectedto an idle instance.

 

SQL>STARTUP NOMOUNT

ORA-00845:MEMORY_TARGET not supported on this system

 

Theinstance alert file shows:

 

StartingORACLE instance (normal)

WARNING:You are trying to use the MEMORY_TARGET feature.

Thisfeature requires the /dev/shm file system to be mounted for at Least bytes.The /dev/shm is either not mounted or is mounted withavailable space less than this size.

Pleasefix this so that MEMORY_TARGET can work as expected. Current available is and used is bytes.memory_target needs larger /dev/shm

 

Alsoerror messages like ORA-4031 may be reported and no new connections can beestablished to the database.

 

CHANGES                                                        

 

TheAutomatic Memory Management (AMM) has been implemented by setting parameterslike MEMORY_TARGET and/or MEMORY_MAX_TARGET.

 

CAUSE                                                          

 

Thenew Automatic Memory Management functionality uses /dev/shm on Linux for SGAand PGA management. The errors occur if either MEMORY_TARGET orMEMORY_MAX_TARGET is configured larger than the configured /dev/shm size, or if/dev/shm is mounted incorrectly.

 

SOLUTION                                                       

 

Pleaseconfirm that ORACLE_HOME is set correctly. This error sometimes happens when itis not set correctly.

 

Makesure that the /dev/shm size is configured large enough, like in:

 

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

Inthis case, the size of the shared memory device is configured to be 7GB.

 

Inorder to make the same change persistent across system reboots, add an entryfor this to the /etc/fstab mount table, as in:

 

shmfs/dev/shm tmpfs size=7g 0

 

Note:                                                          

Youshould check with your System Administrator what the "best" size for/dev/shm is, based on what has been reported in the alert file.

 

Also,many best practices now suggest disabling AMM especially in Exa* Engineeredboxes that have larger memory capability and can use Huge / Large pages.

Thisis because AMM and Huge / Large pages are mutually exclusive and overallperformance will be better using Huge pages

 

Makesure that the df output shows the correct /dev/shm configuration when usingOracle on the system:

 

$ df-k

Filesystem1K-blocks Used Available Use% Mounted on

...

shmfs6291456 832356 5459100 14% /dev/shm

REFERENCES                                                     

 

NOTE:361323.1- HugePages on Linux: What It Is... and What It Is Not...


相关内容

热门资讯

冰箱漏电怎么测 1、可以用灯泡检查法来检测冰箱漏电,将36V灯泡的两根导线,一根接冰箱外壳(无漆处)另一根接大地,如...
电饭煲通电就跳闸怎么回事 如果之前电饭煲从未出现过跳闸现象,此现象为新出现的,有可能是插板或者是电饭煲发生故障导致的。首先可以...
空调外机有温度传感器损坏 最可能是温度传感器泄漏导致的这个原因。可以使用热毛巾加热温度检测管,将按钮设置为最低温度,并使用测试...
九阳铁釜电饭煲故障代码种类及解... 故障代码的种类很多,有E0表示电饭煲上盖热敏电阻故障,需要更换上盖的热门电阻;E1是热敏电阻故障,需...
九阳电饭锅的拆卸步骤 先拆锅底的四个小螺丝,然后将暴露出来的底拆开,然后拆卸电饭锅那儿的小盖板,用螺丝刀拆螺丝就行,然后将...
华南理工男生课堂偷拍女生被当场... 据羊城晚报消息,5月13日,一段“华南理工大学男生教室偷拍女生”视频在网络传播,相关事件引发热议。视...
偷税超900万被查的网红白冰:... 刚刚,因偷税超900万元被查的网红白冰发布近60分钟长视频,控诉前员工联合他人侵吞公司资金、设局陷害...
AI人才需求攀升,如何打开就业... 当前正值高校毕业生求职关键期。记者在劳动力市场看到,随着人工智能蓬勃发展,各行业各领域对AI(人工智...
5月14日、15日土星火星上演... 5月14日、15日土星火星上演合月“接力赛” 5月14日、15日日出前,东方低空将接连上演土星合月...
投身具身智能,它石丁文超:知行... 90后、“天才少年”、博导...它石智航首席科学家丁文超身上有不少标签。他曾参与主导真正意义上的第一...