TNS-12535、TNS-00505、ns main err code: 12535、ns secondary err code: 12560
2464 단어 EXPDPIMPDP
alert log의 오류는 다음과 같습니다.
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.4.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.4.0 - Production
Time: 28-FEB-2019 23:48:47
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 0
nt OS err code: 0
Client address:
Thu Feb 28 23:49:47 2019
***********************************************************************
Fatal NI connect error 12170.
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.4.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.4.0 - Production
Time: 28-FEB-2019 23:49:47
Tracing not turned on.
Tns error struct:
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 0
nt OS err code: 0
Client address:
[oracle@host01 trace]$ date
Thu Feb 28 23:55:25 EST 2019
[oracle@host01 trace]$ tail -f alert_rac1.log
ns main err code: 12535
TNS-12535: TNS:operation timed out
ns secondary err code: 12560
nt main err code: 505
TNS-00505: Operation timed out
nt secondary err code: 0
nt OS err code: 0
Client address:
Thu Feb 28 23:55:49 2019
그리고 데이터 펌프의 인터페이스를 보니 alert procedure와 alert trigger에 걸렸습니다.시간이 많이 걸립니다.아래와 같다
ALTER PROCEDURE "XXX"."MOVE_HIS_DATA_XXX_2" COMPILE PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE_TYPE= INTERPRETED PLSQL_DEBUG= FALSE PLSCOPE_SETTINGS= '' REUSE SETTINGS TIMESTAMP '2015-07-02 10:33:41'
ORA-39083: Object type ALTER_PROCEDURE failed to create with error:
ORA-04052: error occurred when looking up remote object XXX.XXX@XXX
ORA-00604: error occurred at recursive SQL level 3
ORA-12170: TNS:Connect timeout occurred
Failing sql is:
원인은 기본적으로 명확해졌다.
카드에 대한 이유는 alert 문장을 실행하려면dblink를 원격 라이브러리에 사용하지만 dblink는 마침 통하지 않기 때문이다. (사실은 dblink가 있지만 네트워크가 통하지 않기 때문이다.) 그래서 시간이 많이 걸린다.나중에 exclude가procedure와trigger를 제거한 후에 다시 Impdp를 가져왔는데 속도가 매우 빠르다.2분 전에 끝내고 40분 전.
end.