Note about SQL Server 2008 R2 Standard Edition (64-bit): Microsoft SQL Server 2008 R2 Standard Edition (64-bit, all versions RTM and later) also requires trace flag 845 to be added as a startup parameter so that SQL Server can use locked pages for the Buffer Pool when the SQL Server service account is granted the Lock Pages in Memory security privilege. You should carefully consider any potential effects before you use Locked Pages, even on Enterprise editions and Developer editions. For more information, visit the following MSDN Web site:Įnabling Locked Pages may have a negative performance impact on your system. You do not have to set these permissions if the SQL Server Service Account is the LOCAL SYSTEM account. Make sure that the service account for SQL Server has the Lock Pages in Memory privilege enabled.
Trace flags that are set as startup options are printed at the top of the error log file. Make sure that you have trace flag 845 set correctly. If you do not see this message in the error log file, do the following: To make sure that the trace flag has enabled Locked Pages in 64-bit editions of SQL Server, verify that the following message is written in the SQL Server error log file at startup:
For more information about how to enable a trace flag as a startup option, visit the following MSDN Web site: To use this trace flag, you must set the flag as a startup option for SQL Server by using the –T parameter. Enabling this trace flag on these editions has no effect. Note This trace flag is not required for customers who use Enterprise 64-bit editions or Developer 64-bit editions of SQL Server. The cumulative updates introduce trace flag 845 and allow SQL Server 2008 64-bit Standard Edition and SQL Server 2005 64-bit Standard Edition to enable Locked Pages if the Lock Pages in Memory privilege is set for the service account of the SQL Server Engine Service. For more information, see the following Microsoft Developer Network (MSDN) Web site:
Note By default, Enterprise and Developer 64-bit editions of SQL Server 2005 and later versions support Locked Pages.
Cumulative Update package 2 for SQL Server 2008 Service Pack 1 and cumulative update package 4 for SQL Server 2005 Service Pack 3 provide support for Locked Pages. The use of AWE APIs on 64-bit editions of SQL Server for buffer pool memory allocation is known as Locked Pages.
The Standard 64-bit editions of Microsoft SQL Server 2005 and later versions that have the Lock Pages in Memory privilege set for the service account of the SQL Server Engine do not use Address Windowing Extensions (AWE) APIs for buffer pool memory allocation. SQL Server 2012 Standard SQL Server 2008 R2 Standard SQL Server 2008 Standard Microsoft SQL Server 2005 Standard Edition More.