|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
Hi,
We have a SQL 2005 instance that's the back end DB for our company helpdesk system. Performance of late has been sluggish and upon investigation i've noticed the sqlservr.exe process is only using 125Mb of memory.
The server has 6GB and sql is configured to use up to 4GB of that so i'm at a loss why it's not growing past 125Mb ?
The process is however clocking a lot of CPU at 50-90%
Any ideas ?
TIA, M
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:18 PM
Points: 38,062,
Visits: 30,359
|
|
Don't use Task Manager to check SQL's memory usage. It doesn't report correctly.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
| Thanks Gail - what's the recommended way ?
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:18 PM
Points: 38,062,
Visits: 30,359
|
|
Performance Monitor. Total Server memory counter (it's a SQL counter)
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
Thanks Gail - it's showing as 4194304 (ie 4Gb) in perfmon
The instance has AWE enabled, is the view this is better to have on than off ?
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
Whilst i was in perform i noticed the pages/sec was quite spiky with peaks of around 1500/sec.
Is this on the high side or normal server performance ?
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:18 PM
Points: 38,062,
Visits: 30,359
|
|
mjwlufc (12/18/2012) The instance has AWE enabled, is the view this is better to have on than off ?
32 bit or 64 bit SQL?
Whilst i was in perform i noticed the pages/sec was quite spiky with peaks of around 1500/sec.
Which pages/sec counter? (there's more than one of them and they mean very, very different things)
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
It's this version
Microsoft SQL Server 2005 - 9.00.5057.00 (Intel X86) Mar 25 2011 13:50:04 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
The VM has 6Gb or RAM with SQL capped at 4GB
The memory objects i'm lookin at are pages /sec and page faults/sec
page faults/sec is spiking up to 15000 - seems very high.
And advise on improving the situation is much appreciated
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:18 PM
Points: 38,062,
Visits: 30,359
|
|
mjwlufc (12/18/2012) The memory objects i'm lookin at are pages /sec and page faults/sec
Which pages/sec? Under which section? There are multiple pages/sec counters in different sections and they mean different things.
Since you're using 32 bit SQL, having AWE on is required to access more than 2 GB of memory.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Tuesday, January 29, 2013 4:07 AM
Points: 26,
Visits: 43
|
|
Gail if i was a little unclear.
Both the paging counters were selected from the 'memory' performance object.
|
|
|
|