gc0626
asked on
DBLINK session can't be automatically closed ?
SAP program(DB: ORACLE 9.2.0.7) using DBLINK to access remote ORACLE DB(10.2.0.1).
After SAP progarm end, the dblink session (in remote db) is still alive.
Why? How to correct it ?
Please help ,thanks a lot!
After SAP progarm end, the dblink session (in remote db) is still alive.
Why? How to correct it ?
Please help ,thanks a lot!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi will Dead Connection detection would be helpful?
Try setting sqlnet.expire_time ( in sqlnet.ora) and try
Try setting sqlnet.expire_time ( in sqlnet.ora) and try
i think i have given the correct solution but no response.
ALTER SESSION CLOSE DATABASE LINK <name>;
or
DBMS_SESSION.CLOSE_DATABAS
Refer to the url below :
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_sessi2.htm#1002316
in this url , search for 'This procedure closes an open database' and read the information given there.
Thanks