We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e7b555f + f2d3b2a commit 92f4e3bCopy full SHA for 92f4e3b
1 file changed
sp_PerfCheck/sp_PerfCheck.sql
@@ -1142,8 +1142,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1142
FROM sys.dm_os_sys_info AS osi;
1143
END;
1144
1145
- /* Check if Lock Pages in Memory is enabled (on-prem and managed instances only) */
+ /* Check if Lock Pages in Memory is enabled.
1146
+ Only on-prem can change LPIM. Azure Managed Instance and AWS RDS
1147
+ both run SQL Server on platforms that don't expose the
1148
+ LockPagesInMemory user right, so flagging them is unactionable
1149
+ noise. Matches the IFI check gate below for consistency. */
1150
IF @azure_sql_db = 0
1151
+ AND @azure_managed_instance = 0
1152
+ AND @aws_rds = 0
1153
AND @has_view_server_state = 1
1154
BEGIN
1155
INSERT INTO
0 commit comments