June 9, 2008 at 12:30 pm
hi guys in the master..sysprocesses, how is the CPU column measured? and the Memusage? i see high numbers in the CPU (around 20k) and fo rthe memusage is 2.
June 9, 2008 at 2:17 pm
Hope this helps for CPU question:
Manu
June 9, 2008 at 2:27 pm
Regarding memusage column I found this:
Pls note that BOL states that MEMUSAGE is only for backward compatibility and should not be relied upon.
The suggestion is to use perfmon counters such as what is listed below, agreed it does not answer your question in terms of finding out what table is in memory and which one is not.
SQL Server: Buffer Manager Object
Procedure Cache Pages In Use
Procedure Cache Size (pages)
SQL Server: Cache Manager Object
Procedure Cache Hit Ratio
Procedure Cache Pages
Procedure Cache Object Counts*
(http://sqlforums.windowsitpro.com/web/forum/messageview.aspx?catid=60&threadid=85706&enterthread=y)
Hope it answers your question.
Manu Jaidka
June 10, 2008 at 7:17 am
thank you Manu, that's exactly where i got it from. My question is , in the article it says to check for values in the thousands for the CPU, i just wanted to find out how it is counted KB? Another thing, when i run this
select * from master..sysprocesses
where status = 'runnable'
order by CPU
desc
I get a lot of lastwaittypes SOS_SCHEDULER_YIELD
with cpus from 8k-10k, when i run the
DBCC INPUTBUFFER (spid)
then i get that is an rpc events, so these indicated that these stored procedures are taking high CPU Processor%?
Another question,
yesterday we were having slowness issues in the server and i run this
select * from master..sysprocesses
order by CPU
desc
*without the status filter
this is what i got:
CPU :127743
Status: sleeping
lastwaittype: MISCELLANEOUS
programn name: Replication-LogReader
cmd:AWAITING COMMAND
Could this be the problem? or should i ignore it since the status is sleeping?
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply