Home > Archive > MS SQL Server > November 2006 > Interpreting WaitResource on SysProcesses









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Interpreting WaitResource on SysProcesses
cbrichards via SQLMonster.com

2006-11-08, 7:12 pm

I have a blocking issue, running SQL 2000, SP4, on Windows 2003.

The SPID at the head of the blocking chain = 226. SPID 226 has the following
from SYSPROCESSES:
Open_Tran = 2
WaitResource = 40:1:41356
WaitType = 0x0000
cmd = INSERT
LastWaitType = PAGELATCH_SH

The SPID getting blocked = 394. SPID 394 has the following from SYSPROCESSES:
Open_Tran = 2
WaitResource = TAB: 40:514100872
WaitType = 0x0008
cmd = INSERT
LastWaitType = LCK_M_IX


From the above, do I interpret:
The WaitResource on SPID 226 to be & #91;DBID:INDEXID:PAG
EID]?
The WaitResource on SPID 394 to be [DBID:OBJECTID]?
If the WaitResource on SPID 394 is [DBID:OBJECTID], is the object in this
case the locked object?

--
Message posted via webservertalk.com
http://www.webservertalk.com/Uwe/Fo...server/200611/1

cbrichards via SQLMonster.com

2006-11-09, 7:13 pm

Does anyone want to take a stab at this?

cbrichards wrote:
>I have a blocking issue, running SQL 2000, SP4, on Windows 2003.
>
>The SPID at the head of the blocking chain = 226. SPID 226 has the following
>from SYSPROCESSES:
>Open_Tran = 2
>WaitResource = 40:1:41356
>WaitType = 0x0000
>cmd = INSERT
>LastWaitType = PAGELATCH_SH
>
>The SPID getting blocked = 394. SPID 394 has the following from SYSPROCESSES:
>Open_Tran = 2
>WaitResource = TAB: 40:514100872
>WaitType = 0x0008
>cmd = INSERT
>LastWaitType = LCK_M_IX
>
>From the above, do I interpret:
>The WaitResource on SPID 226 to be & #91;DBID:INDEXID:PAG
EID]?
>The WaitResource on SPID 394 to be [DBID:OBJECTID]?
>If the WaitResource on SPID 394 is [DBID:OBJECTID], is the object in this
>case the locked object?


--
Message posted via webservertalk.com
http://www.webservertalk.com/Uwe/Fo...server/200611/1

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2009 droptable.com