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

When to use Inner join & when to use subquery?

581


What is ms sql server triggers?

542


Which are ddl commands?

549


Does the unique constraint create an index?

574


What are the different types of subquery?

619






Explain the third normal form(3nf)?

527


explain the storage models of olap? : Sql server database administration

527


 Explain what is sql override for a source taLle in a mapping?

581


what are constraints? : Sql server database administration

536


How to generate create procedure script on an existing stored procedure?

518


What is stored in the mssqlsystemresource database? : sql server database administration

596


Can we install sql server 2016 on windows 7?

680


What command is used to rename the database?

531


How can you list all the table constraints in a database?

518


Can You Use A Stored Procedure To Provide Data To An Ssrs Report?

109