Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to prevent wait select for update?

ronald_2017Dec 5 2020

Hello All,

Oracle 11gR2.
In our company we use an application that we cannot manipulate. This application connect to our Oracle database. In this application if you want to do any DML, the records are select with FOR UPDATE. The problem is NOWAIT clause is not used in this application. So when people want to manipulate rows simultaneous they have to wait each other. Therefore, sometimes tens of people have to wait the records to be unlocked.

So, I want to prevent these waiting process. If NOWAIT clause used in the app. Users didn't need to wait each other. Is there any way to stop waiting? Is there any parameter that I can set when SELECT FOR UPDATE statement run NOWAIT clause is automatically added?

Thanks in advance.

This post has been answered by Solomon Yakobson on Dec 5 2020
Jump to Answer
Comments
Post Details
Added on Dec 5 2020
7 comments
8,253 views