-
Notifications
You must be signed in to change notification settings - Fork 10
Windows Memory Rights
Previous Windows Memory Switches | SQL Server Memory Startup Switches Next |
---|
This section describes the Windows Rights that affect SQL Server memory management.
This section covers the following items:
A number of other Windows Rights exist that are not relevant for SQL Server memory management.
The Lock Pages in Memory Right will let Windows honour an API call from a program to reserve a range of memory for its exclusive use.
If Windows runs short of memory, it uses something like the following multi-stage process to reclaim memory from programs. If enough memory is reclaimed at the end of a given stage, the following stages are not processed:
-
Non-essential program and Windows memory is moved to the Windows Page File
-
Programs with locked memory are asked to release it, but each program can decide if it will honour the request
-
Locked memory is reclaimed by Windows, regardless of if a program wishes to release it
-
In-use program memory is reclaimed by Windows
-
Private Work Set memory is reclaimed by Windows
-
Snap Dump and Reboot process starts
When memory is reclaimed by Windows, this can severely slow down or even stop the affected program from processing. It is therefore important to avoid over-committing memory, so that the performance of SQL Server is not put at risk by memory stortages.
The recommended settings for the Windows Memory Rights described on this page are given below:
- The Lock Pages in Memory Right should always be granted to the account running the SQL Server database engine. SQL FineBuild will always grant this right.
Copyright FineBuild Team © 2013 - 2021. License and Acknowledgements
Previous Windows Memory Switches | Top | SQL Server Memory Startup Switches Next |
---|
Key SQL FineBuild Links:
SQL FineBuild supports:
- All SQL Server versions from SQL 2019 through to SQL 2005
- Clustered, Non-Clustered and Core implementations of server operating systems
- Availability and Distributed Availability Groups
- 64-bit and (where relevant) 32-bit versions of Windows
The following Windows versions are supported:
- Windows 2022
- Windows 11
- Windows 2019
- Windows 2016
- Windows 10
- Windows 2012 R2
- Windows 8.1
- Windows 2012
- Windows 8
- Windows 2008 R2
- Windows 7
- Windows 2008
- Windows Vista
- Windows 2003
- Windows XP