GoldenGate進程 abend,報錯為OGG-00868 ORA-02396: Exceeded Maximum Idle Time, Please Connect Again
參考原文:
GoldenGate Processes Abend with OGG-00868 ORA-02396: Exceeded Maximum Idle Time, Please Connect Again (Doc ID 1393647.1)
適用於:
Oracle GoldenGate - Version: 11.1.1.0.0 to 11.1.1.1.20 - Release: 11.1.1 to 11.1.1.1
Information in this document applies to any platform.
症狀:
Oracle GoldenGate (OGG) 進程abend,其報錯為:
Extract (or replicat)進程
ERROR OGG-00868 ORA-02396: exceeded maximum idle time, please connect again.
Manager 進程
ERROR OGG-00665 OCI Error describe for query (bad syntax) (status = 2396-ORA-02396: exceeded maximum idle time, please connect again), SQL<SELECT 1 FROM DUAL WHERE EXISTS ( SELECT 'x' FROM GGS_OWNER.GGS_MARKER WHERE OPTIME < '...')>.
ERROR OGG-01668 PROCESS ABENDING.
原因:
用戶連接超時會發生該問題。檢查 該用戶是否設置了time out。
解決方案:
SQL> select USERNAME,USER_ID,ACCOUNT_STATUS,PROFILE from dba_users where USERNAME='ggs_owner';
確認profile是用的哪個,然後再檢查 gg user的 idle timeout情況:
SQL> select * from dba_profiles where resource_name='IDLE_TIME';
若是查詢結果中有gg user使用的profile,請檢查該profile是否有限制,或者設置為UNLIMITED
若是 UNLIMITED 不可行,那就加大time out的 時間到一個合適的值。