Have Oracle automatically roll back abandoned sessions?

后端 未结 3 1078
旧巷少年郎
旧巷少年郎 2021-01-24 17:57

Is there any way to guarantee that an application won\'t fail to release row locks in Oracle? If I make sure to put commit statements in finally blocks, that handles the case of

3条回答
  •  后悔当初
    2021-01-24 18:49

    I am not a DBA so I am sure you can find a better solution...

    but there are certain deadlock conditions that seem to happen that will not roll back on our own. My last DBA had a process that would run every minute and kill anything that had been running more than 10 minutes.

提交回复
热议问题