BizTalk Wcf_Custom - SQL Deadlock Issue -
i have db sp updateclientid below. takes client id parameter.
i'm calling updateclientid
sp 50 times in 1 second, wcf custom adapter. i'm seeing sql deadlock issue.
in scenario, have call updateclientid sp 50 times in 1 second. how resolve sql deadlock issue?
create procedure [dbo].[updateclientid] @clientid varchar(50) = null begin set nocount on; update cleintdetails set status = 'y' clientid = @clientid end
do have to call stored procedure 50 time in 1 second or case happen call 50 times per second?
some options:
- set ordered delivery on send port. serialize requests. several orders of magnitude slower.
- optimize statement lock hints, rowlock example.
Comments
Post a Comment