plsql,做update操作,没有submit,表一直被锁3个小时,请问有没有办法在锁一定时间后自动释放锁?
发布网友
发布时间:2022-05-05 15:59
我来回答
共1个回答
热心网友
时间:2023-10-08 23:40
Oracle 11g has a problem that is session timeout problem. You can add a row to sqlnet.ora file and listener.ora file to resolve session timeout problem.
sqlnet.ora
Note : Add this line to below of sqlnet.ora file.
INBOUND_CONNECT_TIMEOUT=3600
listener.ora
Note : Add this line to below of listener.ora file.
INBOUND_CONNECT_TIMEOUT_LISTENER=2400
基本上这样可以解决 session超时就会被kill掉