Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Wrangler
Starting Member
35 Posts |
Posted - 2012-04-17 : 16:09:52
|
Hi, the query "select * from tempdb.dbo.sysindexes" runs for days and never finishes. The wait type is: (1x: 4110ms)LCK_M_S What could be going on?Thanks,Darcy |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-04-17 : 16:14:48
|
see if there's another open transaction. run sp_who2 and look for BlkBy column to see blocking------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
Wrangler
Starting Member
35 Posts |
Posted - 2012-04-17 : 16:30:40
|
I found about 20 open transactions from about 5 days ago. Killed them all and the query runs fine now.Thanks. |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2012-04-17 : 16:36:46
|
ok...great------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/ |
|
|
|
|
|