SQL Server 2005 Memory

  • Hi All,

    As our server started showing less than 300 sec as page life expectancy performance counter, we increased the physical memory from 2GB to 4GB and allocated 2560 MB to sql server 2005. Min and max both increased to 2560MB.

    I expected to see the performance counter to show "total sql server memory" as 2560 MB, but it is still showing 1621376 KB.

    The page life expectancy never go beyond 200 secs, expected to be atleast 300.

    The server was restarted after installing the RAM

    How can I make sure that the SQL server is using the allocated 2.5 GB RAM ? and How to increase the life page expectancy counter ?

    Any help is appreciated.

    Thayal

  • SQL server only uses the memory as it needs it. So even though you are setting the minimum value to 2.5 Gs it will only use the memory as it needs it, once it does and gets it. It will hold onto it and not release it. However if it does not need the memory then it will not use it.

  • Which OS and SQL Server version are you using?

    [font="Verdana"]Markus Bohse[/font]

  • I am using Windows 2003 with SP1 and SQL server 2005. My worry is page life expectancy is still showing below 100.

    There are articles suggesting the value should be above 300 and recommended above 1000 secs.

    Please help.

    Thayal

  • Thayal Muhunthan (11/27/2007)


    I am using Windows 2003 with SP1 and SQL server 2005.

    Thayal

    Standard or Enterprise Edition ??? 32 or 64-bit???

    [font="Verdana"]Markus Bohse[/font]

  • standard 32 bit edition.

  • With Windows 2003 Standard edition 32-bit you need to add the 3Gb switch to the boot.ini file, otherwise SQL Server (or any other application) can't use more than 2 Gb.

    [font="Verdana"]Markus Bohse[/font]

  • How do I add a 3GB swithch .. I have installed 2.5 and the Total memeory showing as 1.6 GB, not even 2.0 GB ..

    Could please let me know how to add the switch ?

    Thayal

  • Thayal Muhunthan (11/27/2007)


    How do I add a 3GB swithch .. I have installed 2.5 and the Total memeory showing as 1.6 GB, not even 2.0 GB ..

    Could please let me know how to add the switch ?

    Thayal

    http://technet.microsoft.com/en-us/library/e834e9c7-708c-43bf-b877-e14ae443ecbf.aspx

    About the 1,6 Gb do you use Task manager or Performance Monitor? Task Manger usualy shows no more than 1,67 Gb even though the real number is higher. Better use performance monitor it's more reliable.

    [font="Verdana"]Markus Bohse[/font]

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply