Oracle 10g錯誤:shared memory realm does not exist
Oracle 10g錯誤:shared memory realm does not exist的分析與解決方案是本文我們主要要介紹的內(nèi)容,情況是這樣的:在連接Oracle 10g時出現(xiàn)了錯誤:“shared memory realm does not exist”,如下圖所示:

上圖就是Sqlplus連接時出現(xiàn)這個錯誤,經(jīng)過分析終于找到了解決問題的方法。
解決方法:
本文一開始提出問題,這里做一解決,為什么會出現(xiàn)那個問題了是因?yàn)镺racle數(shù)據(jù)庫沒有被啟動,解決的方法就是如上面3所示操作打開數(shù)據(jù)庫;
上述問題表現(xiàn)最直接的一個現(xiàn)象:查看任務(wù)管理器下oracle.exe所占內(nèi)存,當(dāng)oracle.exe所占內(nèi)存為幾十兆說明Oracle數(shù)據(jù)庫沒有啟動,正常oracle.exe所占內(nèi)存如下:

現(xiàn)在還原錯誤:關(guān)閉數(shù)據(jù)庫后連接數(shù)據(jù)庫,查看oracle.exe所占內(nèi)存

查看內(nèi)存:

與正常啟動時相差比價大,所以總結(jié)一下解決“shared memory realm does not exist”方法:
(1)任務(wù)管理器中查看oracle.exe所占內(nèi)存,當(dāng)oracle.exe所占內(nèi)存僅為幾十兆,說明問題是數(shù)據(jù)庫沒有啟動
(2)啟動Oracle數(shù)據(jù)庫,管理員登錄,啟動。
Java代碼:
- sqlplus /nolog
- conn USER/PASSWORD as sysdba
- startup
以上就是Oracle 10g錯誤:shared memory realm does not exist的解決方法,本文我們就介紹到這里了,希望本次的介紹能夠?qū)δ兴斋@!
【編輯推薦】

















