ORA-00845: MEMORY_TARGET not supported on this system 失敗的解決方案
ORA-00845: MEMORY_TARGET not supported on this system 失敗的解決方案
Oralce11:startup時報錯:
SQL> 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 SGA的大小超過了系統shm的大小,有兩種解決方案:1.修改shm的大小 .2 修改SGA_MAX_SIZE的大小。
建議修改shm,shm類似於Windows平臺的虛擬記憶體,shm預設自動調節大小,大約是記憶體的一半。我的
記憶體是1G,檢視shm的大小是508M,而oralce預設的SGA大小是422M.因為shm的剩餘空間是隨著應用程式的變化而調節的,當shm小於SAG,啟動oracle就會出現此問題。
解決方案是自定義shm的大小,需要修改/etc/fstab檔案:
[oracle@oracle11g ~]$ vi /etc/fstab
把檔案中:
none /dev/shm tmpfs defaults 0 0
修改為:
none /dev/shm tmpfs defaults,size=1G 0 0
然後儲存退出,重新掛載shm
[oracle@oracle11g ~]$ umount /dev/shm
[oracle@oracle11g ~]$ mount /dev/shm
檢視shm大小
[oracle@oracle11g ~]$ df -h |grep shm
none 1.0G 308M 200M 30% /dev/shm
重新啟動oracle,OK!
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25533574/viewspace-690320/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 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
- ORA-00845: MEMORY_TARGET not supported on this system
- “ORA-00845: MEMORY_TARGET not supported on this system”不完全解決之道
- startup ORA-00845: MEMORY_TARGET not supported on this system
- Oracle報錯:ORA-00845: MEMORY_TARGET not supported on this systemOracle
- ORA-00845: MEMORY_TARGET not supported on this system - Linux ServersLinuxServer
- Oracle11g ORA-00845: MEMORY_TARGET not supported on this systemOracle
- 解決辦法:ORA-00845: MEMORY_TARGET not supported on thi
- ORA-00845 MEMORY_TARGET not supported
- MEMORY_TARGET not supported on this system
- Oracle 11g報錯"ORA-00845: MEMORY_TARGET not supported on this system"Oracle
- oracle 11g報錯ORA-00845: MEMORY_TARGET not supported on this systemOracle
- HugePages與AMM不相容:ORA-00845: MEMORY_TARGET not supported on this system
- Oracle11g啟動報:ORA-00845: MEMORY_TARGET not supported on this systemOracle
- linux下/dev/shm的大小引發ORA-00845: MEMORY_TARGET not supported on this systemLinuxdev
- MEMORY_TARGET not supported on this system for linuxLinux
- ORA-00845 : MEMORY_TARGET not supported on this system(調大資料庫記憶體無法啟動)大資料資料庫記憶體
- npm安裝失敗解決方案NPM
- go get下載包失敗的解決方案Go
- TortoiseSVN 執行清理( cleanUp )失敗的解決方案
- ORA-00845: MEMORY_TARGET
- 解決pytorch-gpu 安裝失敗方案PyTorchGPU
- 【MySQL】mysqldump備份失敗與解決方案合集MySql
- ORA-00845的錯誤與解決方案
- zblog應用中心連線失敗的解決方案
- 阿里雲滑塊驗證失敗解決方案阿里
- Laravel8 Npm-run-dev 失敗解決方案LaravelNPMdev
- oracle 安裝時先決條件檢查失敗的解決方案Oracle
- crontab失敗的解決過程
- npm內網安裝node-sass失敗解決方案NPM內網
- Kali 系統 apt-get update更新失敗解決方案apt-get
- CENTOS 5.5 安裝無線網路卡失敗解決方案CentOS
- Token驗證失敗的解決方法
- 解決方案集錦——Tomcat伺服器啟動失敗Tomcat伺服器
- Android studio 使用ssh方式clone失敗及解決方案Android
- Ubuntu16.04 php5安裝失敗解決方案UbuntuPHP