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 |
how we use window authentication connection with sql server.?
what is trigger
1 Answers CarrizalSoft Technologies, NIIT,
Explain about merge replications?
What are the essential components of sql server service broker?
How do I find the port number for sql server?
What is multi-statement table-value user-defined function?
can you any body tell me while running BCP Out in instance in sql server 2000 is getting error. Error = [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.?
How to write a query with a left outer join in ms sql server?
Why and when do stored procedure recompile?
how to dispaly a particular row details from a given table
Can some one please help with a query which will take only max value of a column in a join.
Diffrence between DTS vs SSIS