-
在检查dblink采集结果时发现,有一个库的dblink没有查询到结果(LINK_106_132_TO_PMSDB132_TAB_COMPRESS),经实际检查,发现该dblink在使用时发生ORA-12537错误
-
dblink名称:
-
-
LINK_106_132_TO_PMSDB132_TAB_COMPRESS
-
LINK_106_159_TO_OBIDB3_TAB_COMPRESS
-
LINK_106_159_TO_PMSDB_TAB_COMPRESS
-
-
下面是分析思路
-
检查数据库监听状态
-
LSNRCTL> status
-
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zj25k2)(PORT=1521)))
-
STATUS of the LISTENER
-
------------------------
-
Alias LISTENER
-
Version TNSLSNR for Solaris: Version 11.2.0.4.0 - Production
-
Start Date 10-AUG-2016 17:06:57
-
Uptime 4 days 18 hr. 22 min. 53 sec
-
Trace Level off
-
Security ON: Local OS Authentication
-
SNMP OFF
-
Listener Parameter File /opt/oracle/product/network/admin/listener.ora
-
Listener Log File /opt/oracle/diag/tnslsnr/zj25k2/listener/alert/log.xml
-
Listening Endpoints Summary...
-
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=zj25k2)(PORT=1521)))
-
Services Summary...
-
Service "pmsdb132" has 1 instance(s).
-
Instance "pmsdb132", status READY, has 1 handler(s) for this service...
-
Service "pmsdb132XDB" has 1 instance(s).
-
Instance "pmsdb132", status READY, has 1 handler(s) for this service...
-
The command completed successfully
-
从这里看监听的最近一次启动时间是8月10日17:06与dblink采集日志中,8月10日05点执行正常,以后均为执行的情况复合,初步怀疑与监听重启又关联
dblink采集日志:
SELECT_TIME
-------------------
2016-08-15 05:00:02
2016-08-15 05:00:02
2016-08-14 05:00:01
2016-08-14 05:00:01
2016-08-13 05:00:02
2016-08-13 05:00:02
2016-08-12 05:00:02
2016-08-12 05:00:02
2016-08-10 05:00:03
2016-08-10 05:00:03
2016-08-10 05:00:02
2016-08-10 05:00:02
2016-08-10 05:00:02
2016-08-10 05:00:01