SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 how to deal with blocking processes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sreehari
Starting Member

India
37 Posts

Posted - 06/01/2006 :  12:48:13  Show Profile  Send sreehari a Yahoo! Message  Reply with Quote
Hi

On a huge database, one user is executing update statement.
This process is blocking the other prcesses like select on the same table.


How to handle the situation..

Thanks in advance.

nr
SQLTeam MVY

United Kingdom
12543 Posts

Posted - 06/01/2006 :  13:02:50  Show Profile  Visit nr's Homepage  Reply with Quote
You can release the other processes by killing the blocking one - it will roll back any changes that are in progress.
It's up to you to decide whether that will cause problems.

Add this sp to master and run it regularly - it will show you running processes and commands and blocking commands.
http://www.nigelrivett.net/SQLAdmin/sp_nrInfo.html

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000