What is blocking and how would you troubleshoot it?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain the disadvantages/limitation of the cursor?

500


What is Fragmentation and Defragmentation? For 32GB Table,How can we do the fragmentation?

3750


What is a natural primary key?

519


explain databases and sql server databases architecture? : Sql server database administration

512


what is the difference in login security modes between v6.5 and 7.0? : Sql server database administration

643






How to insert multiple rows with a subquery?

528


Different types of keys in SQL?

620


What are different types of join?

756


What is difference between equi join and inner join?

476


What is sleeping status in sql server?

515


What to check if a User database is locked?

583


What is Lock table in SQL?

998


What are sql servers used for?

503


How to list all schemas in a database?

569


How to copy data from one table to another table?

538