现在的位置: 首页 > 综合 > 正文

spotlight soo5072:there was an error reading the tnsnames.ora

2013年02月08日 ⁄ 综合 ⁄ 共 1118字 ⁄ 字号 评论关闭

 我使用spotlight的软件版本是spotlight 4.0.468,可是说版本比较老了。测试数据库为LINUX
AS4.0下10G;红旗LINUX下10G和WINDOWS下10G。

如果将服务器端和spotlight安装在一起,直接新建链接就可以了,没有任何问题。

如果将数据库和spotlight安装在不同的操作系统下,打开spotlight会报“soo5072:There wasan error reading the tnsnames.ora file.Either Oracle is not installed,or the tnanames.ora
file is corrupt.”
错误。起初是以为spotlight不是注册版本的缘故。后来经过努力,才知道我的软件没有问题。需要在安装SPOTLIGHT的客户端安装如下补丁,就可以了:

- MSXML 4.0 SP2   http://www.microsoft.com/downloa
... &DisplayLang=en

- SDK package      http://www.microsoft.com/downloa ... &displaylang=en

使用这个的意义在于图形化的界面更有住于测试和分析数据库的结构。

测试一:经过分析,测试数据库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.

启动数据库:

SQL> alter system set
sga_target=800M scope=spfile;

系统已更改。

重启数据库:

SQL> show parameter sga_target;

NAME                                
TYPE

------------------------------------ ----------------------

VALUE

------------------------------

sga_target                           big integer

800M


抱歉!评论已关闭.