What is blocking and how would you troubleshoot it?
Answer Posted / monal
BLOCKING MEANS ONE PROCESS HAS LOCKS ON ONE OR MORE RECORDS
AND ANOTHER PROCESS TRIES TO ACQUIRE LOCK ON THE SAME SET OF
ROWS. SO BASICALLY SECOND PROCESS HAS TO WAIT TILL FIRST
PROCESS FINISH WORKING ON THE RECORDS AND THEN SECOND
PROCESS CAN TAKE OVER AND FINISH IT'S TASK. BLOCKING IS
DIFFERENT THEN DEADLOCK. BLOCKING CAN LAST LONGER AS IT IS
NOT AUTOMATICALLY STOPPED BY SQL SERVER LIKE DEADLOCK.
HERE'S GOOD SITE WHERE YOU CAN FIND INFO ABT BLOCKING.
http://www.builderau.com.au/program/sqlserver/soa/Find-blocking-processes-using-recursion-in-SQL-Server-2005/0,339028455,339286600,00.htm
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
what is ora 24313?what is the procedure to exclude that error?
how can you schedule a job in database?
A table is classified as a parent table and you want to drop and re-create it. How would you do this without affecting the children tables?
What happens on checkpoint? : sql server DBA
Oracle client is not able to connect to Oracle server although tnsnames.ora file has valid enteries. Oracle error message is “ cannot resolve net service name”. Mention any three reasons.
What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA
what is logical system in sap basis
How to craeate the New Database Schema in Oracle and mysql? Please tell me with Example?
what do you understand by flashback feature of oracle?
You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?
List out some of the requirements to setup a sql server failover cluster.? : sql server DBA
what is the use of recording information about current session?
what is a crs resource?
How can you control the amount of free space in your index pages? : sql server DBA
how can you record information about current session?