Deadlock during Bulk operations

  • Hi,

    I am working on production environment of SQL Server 2012. .Net is used as front end apllication. Bulk operations are done via .net application i.e. fn_RegexMatch which calls external CLR. In short the bulk operations are done via .net coding which is hidden

    During bulk operations most of times deadlocks occurs. I have captured the deadlock in errorlog file As per analysis deadlock occurs when two different stored procedure are executed and both of them uses same table and same primary clustered index (cluster index on only one cloumn). Both spids are waiting for each other on same object using exclusive lock

    Also when I executed sp_lock I have observed lock type as HBT and Resource as BULK_OPERATION with mode as Shared and Status as Grant.

    Can you please suggest any other analysis I should do to overcome this type of deadlock because more than 50 deadlocks occurs during bulk operations

    Thanks and Regards,

    Nikhil P Desai

  • Can you post the deadlock graph?

    -- Gianluca Sartori

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply