Oracle connection/query timeout

前端 未结 4 1040
鱼传尺愫
鱼传尺愫 2021-01-18 13:57

Is it possible to specify connection/query timeout for the Oracle database queries? Either on Oracle side or in Oracle\'s JDBC driver (10.2.0.4)? So, that Java client just g

4条回答
  •  醉话见心
    2021-01-18 14:21

    Have a look at Oracle profiles. This allows you to specify several limits at the database level. One of them is a maximum CPU time per query.

    If you have queries running for more than 2 minutes on a regular basis you might want to do some tuning of your queries first.

提交回复
热议问题