spotlight soo5072:there was an error reading the tnsnames.ora
?我使用spotlight的軟件版本是spotlight 4.0.468,可是說版本比較老了。測試的數(shù)據(jù)庫為LINUX AS4.0下10G;紅旗LINUX下10G和WINDOWS下10G。
如果將服務(wù)器端和spotlight安裝在一起,直接新建鏈接就可以了,沒有任何問題。
如果將數(shù)據(jù)庫和spotlight安裝在不同的操作系統(tǒng)下,打開spotlight會報“soo5072:There wasan error reading the tnsnames.ora file.Either Oracle is not installed,or the tnanames.ora file is corrupt.”錯誤。起初是以為spotlight不是注冊版本的緣故。后來經(jīng)過努力,才知道我的軟件沒有問題。需要在安裝SPOTLIGHT的客戶端安裝如下補丁,就可以了:
- MSXML 4.0 SP2? ?http://www.microsoft.com/downloa ... &DisplayLang=en
- SDK package???? ?http://www.microsoft.com/downloa ... &displaylang=en
使用這個的意義在于圖形化的界面更有住于測試和分析數(shù)據(jù)庫的結(jié)構(gòu)。
測試一:經(jīng)過分析,測試數(shù)據(jù)庫SGA有些偏小,修改SGA的大小:
SQL> startup nomount;
ORACLE instance started.
Total System Global Area? 348127232 bytes
Fixed Size????????????????? 1219328 bytes
Variable Size???????????? 104858880 bytes
Database Buffers????????? 234881024 bytes
Redo Buffers??????????????? 7168000 bytes
SQL> alter system set sga_max_size=800M scope=spfile;
System altered.
啟動數(shù)據(jù)庫:
SQL> alter system set sga_target=800M scope=spfile;
系統(tǒng)已更改。
重啟數(shù)據(jù)庫:
SQL> show parameter sga_target;
NAME???????????????????????????????? TYPE
------------------------------------ ----------------------
VALUE
------------------------------
sga_target?????????????????????????? big integer
800M
總結(jié)
以上是生活随笔為你收集整理的spotlight soo5072:there was an error reading the tnsnames.ora的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ORA-01720: grant opt
- 下一篇: RMAN备份及恢复归档日志的语法