December 5, 2006 at 7:57 am
Hi,
Where can I find good, detail explanation or a tutorial about all fields in sysprocesses table, especially WaitType and LastWaitType? B.O.L is very poor about that.
Thanks
December 5, 2006 at 11:35 am
December 5, 2006 at 2:30 pm
That's good article, but they don't answer to my question what type of wait is CXPACKET.
December 5, 2006 at 2:38 pm
December 5, 2006 at 3:29 pm
It is related to parallalism...
Read the following threads...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=5&messageid=183243
http://www.sqlblogs.com/top/ng/group~2/~138495~__CXPACKET-and-max-degree-of-parallelism/index.aspx
http://support.microsoft.com/kb/293232
MohammedU
Microsoft SQL Server MVP
December 5, 2006 at 10:47 pm
In 2005 it's better to use the dm views sys.dm_exec_sessions and sys.dm_exec_requests than sysprocesses. They're a lot better documented for starts
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 20, 2008 at 4:40 pm
I'm still coming back to sysprocesses, for only one reason: it's easy to view which database a spid is connecting to.
But I couldn't find a way to get this info with _sessions and _connections dmv's. The _requests dmv doesn't seem to return any inactive connections, hence, the database_id it returns is not complete.
Is there any other way to get this info using dmv's?
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply