What is blocking and how would you troubleshoot it?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

495


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1307


What are the key configuration files for sql server reporting services ?

120


How to create user defined functions with parameters?

647


Explain what is the main purpose of having conversation group?

532






Who is the owner of a schema in ms sql server?

553


What does select 1 mean?

538


How to delete an existing database user?

545


Explain activity monitors

631


If you are given access to a SQL Server, how do you find if the SQL Instance is a named instance or a default instance?

677


what are the important architecture components of SSRS?

94


What are the new features are introduced in sql server 2012 reporting services?

109


What is Transparent Data Encryption?

594


Is the primary key column of a table an index in ms sql server?

545


What are basics of policy management?

618