I insert in one table with many concurrent threads, in this Table is a AFTER INSERT Trigger which updates one field on the inserted Row.
When this is executed in one thread everything is fine, but with many ones I got a Deadlock.
Is there something I can do?
I insert in one table with many concurrent threads, in this Table is a
Share
Either don’t use multiple threads for this process – which I assume is not a reasonable option – or don’t use the trigger, rather use a post-processing stored procedure to update all of the records at once.