Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Avoid database deadlock at insert-operations

Former Member
0 Likes
688

hello,

i have a problem with a high-parallelized (200-300 processes) application/transaction. The application insert entries in a customer defined table. At the insert there are often appear deadlocks, because different processes try to access the table simultaneously.

Exits a possibility to avoid deadlocks?

1 REPLY 1
Read only

Former Member
0 Likes
433

Are you locking the entire table? If so, try locking just the row(s) you need to update.

Rob