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

Granting the Lock Pages in Memory user right to the SQL Server service? Expand / Collapse
Author
Message
Posted Tuesday, June 7, 2011 9:27 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 2:24 PM
Points: 168, Visits: 700
I am researching this memory setting and trying to gather as much info as possible. I want to be sure that my sql min/max memory settings are adjusted appropriately for this change. Also, how will this play out with my large paging file that has a dedicated physical disk?

My total used memory on the (SQL only) box is at 99% and SQL uses 92%.

SQL BOX:
Win Server 2008 2008 R2 Enterprise
Memory - 144GB
Pagefile - 300gb
Pagefile local disk - 418gb

SQL Server 2008 Enterprise
SQL min server memory 0 MB
SQL max server memory 143872 MB
Use AWE = no

Lock pages in memory
This security setting determines which accounts can use a process to keep data in physical memory, which prevents the system from paging the data to virtual memory on disk. Exercising this privilege could significantly affect system performance by decreasing the amount of available random access memory (RAM).

http://support.microsoft.com/KB/918483/EN-US

Want to be sure that I am getting the most out of my hardware - Would appreciate any advice...
Post #1121108
Posted Friday, June 17, 2011 7:56 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, November 14, 2014 3:50 AM
Points: 137, Visits: 650
For all things hardware regarding SQL Server, you can't do much better than Glen Berry. Check out his min/max memory settings post: http://www.sqlservercentral.com/blogs/glennberry/archive/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008.aspx

Don't set the max SQL Server can use more than the server has otherwise a runaway query/process could choke the box out by starving the OS of memory which would possibly not let you remote in and fix the issue (while I'm at it, make sure you enable DAC connections on your servers as safeguard).

Another great resource is Brent Ozar, he has tons of performance tuning tips/articles you should read through: http://www.brentozar.com/sql/sql-server-performance-tuning/


=============================================================
/* Backups are worthless, Restores are priceless */

Get your learn on at SQL University!
Follow me on Twitter | Connect on LinkedIn
My blog: http://sqlchicken.com
My book: Pro Server 2008 Policy-Based Management
Post #1127364
Posted Thursday, June 23, 2011 6:17 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, December 16, 2014 2:24 PM
Points: 168, Visits: 700
Sqlchicken (6/17/2011)
For all things hardware regarding SQL Server, you can't do much better than Glen Berry. Check out his min/max memory settings post: http://www.sqlservercentral.com/blogs/glennberry/archive/2009/10/29/suggested-max-memory-settings-for-sql-server-2005_2F00_2008.aspx

Don't set the max SQL Server can use more than the server has otherwise a runaway query/process could choke the box out by starving the OS of memory which would possibly not let you remote in and fix the issue (while I'm at it, make sure you enable DAC connections on your servers as safeguard).

Another great resource is Brent Ozar, he has tons of performance tuning tips/articles you should read through: http://www.brentozar.com/sql/sql-server-performance-tuning/


I have 2GB allocated for the OS and the rest to SQL. I will read up through your links. Thanks for the info...
Post #1130892
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse