Skip to content

Commit

Permalink
Merge pull request #3417 from erikdarlingdata/issue_3411
Browse files Browse the repository at this point in the history
Add ADR Check
  • Loading branch information
BrentOzar authored Jan 10, 2024
2 parents 4fc0210 + c3c9a7c commit 556a8e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sp_Blitz.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4803,6 +4803,10 @@ AS
FROM sys.all_columns
WHERE name = 'is_memory_optimized_elevate_to_snapshot_on' AND object_id = OBJECT_ID('sys.databases')
AND SERVERPROPERTY('EngineEdition') <> 8; /* Hekaton is always enabled in Managed Instances per https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/1919 */
INSERT INTO #DatabaseDefaults
SELECT 'is_accelerated_database_recovery_on', 0, 145, 210, 'Acclerated Database Recovery Enabled', 'https://www.brentozar.com/go/dbdefaults', NULL
FROM sys.all_columns
WHERE name = 'is_accelerated_database_recovery_on' AND object_id = OBJECT_ID('sys.databases') AND SERVERPROPERTY('EngineEdition') NOT IN (5, 8) ;

DECLARE DatabaseDefaultsLoop CURSOR FOR
SELECT name, DefaultValue, CheckID, Priority, Finding, URL, Details
Expand Down Expand Up @@ -10048,4 +10052,4 @@ EXEC [dbo].[sp_Blitz]
@OutputProcedureCache = 0 ,
@CheckProcedureCacheFilter = NULL,
@CheckServerInfo = 1
*/
*/

0 comments on commit 556a8e7

Please sign in to comment.