What is blocking and how would you troubleshoot it?
Answers were Sorted based on User's Feedback
Answer / swapna
Blocking happens when one connection from an application
holds a lock and a second connection requires a conflicting
lock type. This forces the second connection to wait,
blocked on the first.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / rajkumar
Blocking happens when one connection from an application
holds a lock and a second connection requires a conflicting
lock type. This forces the second connection to wait,
blocked on the first.
sp_who2 will give the list of blocking sessions. From that
we can find the objects using dbcc command.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / harikrishna
Blocks will occur when one processes holds a lock and
second processes requires a conflicting
lock type, then it blocks, check weather the I/O is moving
or not for the blocked processes.
use the below command to know the route block.
select spid,blocked from sysprocesses where blocked>0
Is This Answer Correct ? | 2 Yes | 0 No |
What is postgresql server?
Explain about service Broker functions?
How to delete multiple rows with one delete statement in ms sql server?
What is wide table?
What is the use of CASCADE CONSTRAINTS?
What is index in an assignment?
What is a join and their types?
2 Answers Challenger Financial,
What are commit and rollback in sql?
How to populate a table in sql server?
Why functions are used in sql server?
How much does sql server 2016 cost?
Define right outer join in sql server joins?