Skip to content

Commit 6313ae3

Browse files
CopilotBrentOzar
andauthored
Revert auto-generated Install scripts from this PR
Agent-Logs-Url: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/sessions/0c52e181-ae8b-498d-b355-4c93c3c4d663 Co-authored-by: BrentOzar <245462+BrentOzar@users.noreply.github.com>
1 parent c774ea3 commit 6313ae3

2 files changed

Lines changed: 0 additions & 56 deletions

File tree

Install-All-Scripts.sql

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -41396,34 +41396,6 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
4139641396
AND ps.counter_name = 'Transactions aborted/sec'
4139741397
AND ps.value_delta > (10 * @Seconds); /* Ignore servers sitting idle */
4139841398

41399-
IF EXISTS
41400-
(
41401-
SELECT 1/0
41402-
FROM #PerfmonStats AS ps
41403-
WHERE ps.Pass = 2
41404-
AND ps.object_name = @ServiceName + ':Databases'
41405-
AND ps.counter_name = 'XTP Memory Used (KB)'
41406-
AND ps.instance_name = 'tempdb'
41407-
AND ps.cntr_value > 0
41408-
)
41409-
AND NOT EXISTS
41410-
(
41411-
SELECT 1/0
41412-
FROM #PerfmonStats AS ps
41413-
WHERE ps.Pass = 2
41414-
AND ps.object_name = @ServiceName + ':Databases'
41415-
AND ps.counter_name = 'XTP Memory Used (KB)'
41416-
AND ps.instance_name NOT IN ('tempdb', '_Total')
41417-
AND ps.cntr_value > 0
41418-
)
41419-
BEGIN
41420-
UPDATE bfr
41421-
SET bfr.Priority = 210
41422-
FROM #BlitzFirstResults AS bfr
41423-
WHERE bfr.FindingsGroup = 'In-Memory OLTP'
41424-
AND bfr.Priority < 210;
41425-
END;
41426-
4142741399
/* Query Problems - Suboptimal Plans/Sec High - CheckID 33 */
4142841400
IF (@Debug = 1)
4142941401
BEGIN

Install-Azure.sql

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -25843,34 +25843,6 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
2584325843
AND ps.counter_name = 'Transactions aborted/sec'
2584425844
AND ps.value_delta > (10 * @Seconds); /* Ignore servers sitting idle */
2584525845

25846-
IF EXISTS
25847-
(
25848-
SELECT 1/0
25849-
FROM #PerfmonStats AS ps
25850-
WHERE ps.Pass = 2
25851-
AND ps.object_name = @ServiceName + ':Databases'
25852-
AND ps.counter_name = 'XTP Memory Used (KB)'
25853-
AND ps.instance_name = 'tempdb'
25854-
AND ps.cntr_value > 0
25855-
)
25856-
AND NOT EXISTS
25857-
(
25858-
SELECT 1/0
25859-
FROM #PerfmonStats AS ps
25860-
WHERE ps.Pass = 2
25861-
AND ps.object_name = @ServiceName + ':Databases'
25862-
AND ps.counter_name = 'XTP Memory Used (KB)'
25863-
AND ps.instance_name NOT IN ('tempdb', '_Total')
25864-
AND ps.cntr_value > 0
25865-
)
25866-
BEGIN
25867-
UPDATE bfr
25868-
SET bfr.Priority = 210
25869-
FROM #BlitzFirstResults AS bfr
25870-
WHERE bfr.FindingsGroup = 'In-Memory OLTP'
25871-
AND bfr.Priority < 210;
25872-
END;
25873-
2587425846
/* Query Problems - Suboptimal Plans/Sec High - CheckID 33 */
2587525847
IF (@Debug = 1)
2587625848
BEGIN

0 commit comments

Comments
 (0)