How can I keep Oracle SQL Developer from closing the DB connection?

后端 未结 8 1715
情话喂你
情话喂你 2021-02-03 19:26

Is there any way to keep Oracle SQL Developer from closing my DB connections, or to increase the timeout? Sometimes during a long-running query SQL Dev will just close the conne

8条回答
  •  迷失自我
    2021-02-03 19:39

    Also sounds like a firewall problem to me.

    You may have some luck with setting EXPIRE_TIME parameter in the server's SQLNET.ORA file. From the documentation:

    Use parameter SQLNET.EXPIRE_TIME to specify a the time interval, in minutes, to send a probe to verify that client/server connections are active. Setting a value greater than 0 ensures that connections are not left open indefinitely, due to an abnormal client termination. If the probe finds a terminated connection, or a connection that is no longer in use, it returns an error, causing the server process to exit. This parameter is primarily intended for the database server, which typically handles multiple connections at any one time.

    10g Documentation on EXPIRE_TIME

提交回复
热议问题