IDLE timeout parameter in Oracle

前端 未结 4 596
再見小時候
再見小時候 2020-12-20 15:44

We are stuck in a situation where one of our processes is taking 3 hours of computing without touching the database. The connection that was taken before calling the process

4条回答
  •  伪装坚强ぢ
    2020-12-20 16:17

    What is the error you get when you try to use the connection?

    Oracle by default will not close a connection due to inactivity. You can configure a profile with an IDLE_TIME to cause Oracle to close inactive connections, but it doesn't sound like you've done that. You can also configure Oracle to detect dead connections and close the connection if the client doesn't respond-- if the client is buried for three hours, it's possible that it's not responding in a timely fashion. But that seems less likely ad requires additional configuration steps.

    The more likely situation in my experience is that your network is dropping the connection. If you are connecting via a firewall, for example, the firewall will frequently close connections that have been idle too long.

    The actual Oracle error message you are receiving will indicate which of these alternatives is causing your problem.

提交回复
热议问题