May 21, 2011 at 7:08 pm
I am trying to find memory usage for a specific proc when it is ran. I have a test server with literally nothing running on it. I need to know when i am running a specific proc how much much is it using. Is there a way to find using profiler? I would really appreciate if somebody can advice me with the counter names which i can use. Thanks
May 23, 2011 at 1:25 am
Use perfmon and explore "Memory" & "SQL SERVER:Memory Manager" counters.
---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
May 23, 2011 at 3:54 am
im sure that there is a Server Memory Change event class (tick all events when in profiler)
May 23, 2011 at 2:45 pm
arun_sql (5/23/2011)
im sure that there is a Server Memory Change event class (tick all events when in profiler)
Thanks. I selected that event as you said but didn't find anything logged at all. Could it be because the sproc which i was testing on didnt need more memory than assigned? This is from profiler trace definition "Indicates when SQL Server memory usage increases or decreases by 1 megabyte or 5% of the maximum server memory, whichever is greater.". Does it log only when it needs more memory than assigned?
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply