Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

sysprocesses Expand / Collapse
Author
Message
Posted Monday, June 9, 2008 12:30 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 8:26 AM
Points: 537, Visits: 1,923
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.
Post #513925
Posted Monday, June 9, 2008 2:17 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, May 22, 2014 7:04 AM
Points: 1,688, Visits: 8,766
Hope this helps for CPU question:

http://www.sqlservercentral.com/articles/Performance+Tuning+and+Scaling/detectingperformanceissueswithsysprocesses/2180/


Manu
Post #513998
Posted Monday, June 9, 2008 2:27 PM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Thursday, May 22, 2014 7:04 AM
Points: 1,688, Visits: 8,766
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
Post #514008
Posted Tuesday, June 10, 2008 7:17 AM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 8:26 AM
Points: 537, Visits: 1,923
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?





Post #514389
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse