You are here: sysprocesses memusage sleeping « MsSQL Server « IT news, forums, messages
sysprocesses memusage sleeping

Posted by Dave on 11/04/05 00:06

I was trying to find the bottle neck on our server while we were
running a couple very large updates.

I ran the following query and noticed there were a couple sleeping
spid's that were really eating up the memory. One had a value of
16000.

I guess my question is was this query still holding on to that memory
even though the query had finished? Why didn't SQL Server clean it up?


select spid
,substring(Loginame,1,10) Login
,memusage
,substring(hostname,1,15) Host
,program_name
,cmd
,status
from master..sysprocesses
order by memusage desc

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация