SQL Server - Tracking blocking
Asked By LeonShargorodsk
06-Sep-07 11:06 AM
What is the best way to track blocked/blocking processes in SQL 2005?
I do not want to use Profiler because it needs to be running all the time.
Thank you in advance for your help,
Leon
SQL Server 2005
(1)
SQL Server 2000
(1)
SQL Server
(1)
Inputbuffer
(1)
Lock
(1)
Dbcc
(1)
Report
(1)
Shargorodsky
(1)
Dave Ballantyne replied...
I use a modified version of sp_who which excludes all sleeping tasks,
so i can easily see which tasks are blocked / blocking.
Then you have to be quick to dbcc inputbuffer and sp_lock to find out
which procedures/sql and tables are blocking.
Dave
Tibor Karaszi replied...
You might want to check out event notifications. You should be able to have a notification on the
blocked process report event.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi
AlejandroMes replied...
Leon Shargorodsky,
How to monitor blocking in SQL Server 2005 and in SQL Server 2000
http://support.microsoft.com/kb/271509
Transactions and Locking
http://www.microsoft.com/technet/scriptcenter/scripts/sql/sql2005/trans/default.mspx?mfr=true
aba_lockinfo
http://www.sommarskog.se/sqlutil/aba_lockinfo.html
AMB
replication sql 2000 - -> sql 2005 SQL Server , sql, 2005" / > Is it possible to replicate a db from sql server 2000 to sql server 2005? When I set the publications, I look this "select
Cannot open server 2000 file in SQL SERVER 2005 SQL Server I installed SQL SERVER 2005 replacing SQL SERVER 2000 and now I cannot open the 2000 database file. Do
SSIS for SQL Server 2005? SQL Server How do I download SSIS for SQL Server 2005? SQL Server Programming Discussions SQL Server 2005 (1) Distributed (1) Imp (1) Exp (1) E5C6F1F60688
DTS in SQL Server 2005 SQL Server With the SQL server 2005, how can I invoke DTS? Should I install 'SQL Server Business Intelligence Development Studio'? If
Where is my SQL Server 2005 ? SQL Server I installed SQL Server 2005 on my machine, but when I go to the SQL Server Management Studio and connect