Skip to content

Commit 92f4e3b

Browse files
Merge fix/perfcheck-lpim-aws-rds-gate into dev
2 parents e7b555f + f2d3b2a commit 92f4e3b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

sp_PerfCheck/sp_PerfCheck.sql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,8 +1142,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11421142
FROM sys.dm_os_sys_info AS osi;
11431143
END;
11441144

1145-
/* Check if Lock Pages in Memory is enabled (on-prem and managed instances only) */
1145+
/* 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. */
11461150
IF @azure_sql_db = 0
1151+
AND @azure_managed_instance = 0
1152+
AND @aws_rds = 0
11471153
AND @has_view_server_state = 1
11481154
BEGIN
11491155
INSERT INTO

0 commit comments

Comments
 (0)