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...


相关内容

热门资讯

卖“毒蛋”的人,抓到了 作者 | 何国胜 编辑 | 向现“(人)抓到了,目前案件正在侦办中。”7月28日晚间,苏州禁毒部门有...
尺素金声丨实施零关税国家达63... 海关总署发布的数据显示,今年5月1日起,我国对53个非洲建交国全面实施零关税举措,目前,我国实施零关...
职业索赔盯上基层诊所,倒逼用药... 文 | 布丁基层诊所正在被职业索赔盯上。据新京报,去年夏天,一男子走进河南南阳一家诊所,要求购买三瓶...
“西瓜我全买了”就可以肆意妄为... 拿西瓜砸了人,把瓜都买了,就能一走了之吗?事实证明,这套逻辑在法治社会行不通。7月28日晚,据海峡都...
科学家在日本广岛发现新物质,系... 在美国对日本广岛进行原子弹轰炸近81年后,科学家们在广岛的沙滩上发现了一种奇异且从未被发现过的新物质...
AI失控,反噬开始 作者 | 贺一 编辑 | 阿树近期,中国开源模型在美国频繁引发热议。7月28日,月之暗面发布Kimi...
“总统千金天价离婚”,分到43... 2026年7月24日下午,首尔高等法院,一场持续近十年的司法拉锯战终于接近尾声。法庭裁定SK集团会长...
巴基斯坦,又拿下一个历史性协议 全世界都没想到,接连的中东大战,巴基斯坦正成为最大赢家。去年以色列追杀哈马斯,空袭卡塔尔首都,阿拉伯...
汇正财经贺峰的一对一指导服务怎...   对于考虑购买证券投资顾问服务的投资者来说,'一对一指导服务怎么样'是一个重要的考量维度。需要首先...
重庆失联00后网格员龚宝冬确认...   重庆失联00后网格员龚宝冬确认遇难  【重庆失联00后网格员龚宝冬确认遇难】2026年7月29日...