Commit f2d3b2a
Gate sp_PerfCheck LPIM recommendation off Azure MI and AWS RDS
The LPIM check (check_id 4105) only excluded @azure_sql_db from its
firing condition. Azure Managed Instance and AWS RDS both run SQL
Server on managed platforms that don't expose the
LockPagesInMemory user right, so telling the operator to enable LPIM
on those edition/platforms is unactionable noise. The IFI check
immediately below this one (line ~1177) already excludes all three,
so LPIM is just catching up.
Added AND @azure_managed_instance = 0 AND @aws_rds = 0 to the outer
IF gate. On-prem check still fires under the same conditions as before
(memory model = CONVENTIONAL, physical RAM >= 32 GB). Verified the
sproc installs clean and the LPIM finding does not appear on the
test SQL 2022 instance (which has memory model = LOCK_PAGES, so the
check correctly suppresses).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ca2dbd8 commit f2d3b2a
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1134 | 1134 | | |
1135 | 1135 | | |
1136 | 1136 | | |
1137 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1138 | 1142 | | |
| 1143 | + | |
| 1144 | + | |
1139 | 1145 | | |
1140 | 1146 | | |
1141 | 1147 | | |
| |||
0 commit comments