1 parent 6a05365 commit 9d7f7eaCopy full SHA for 9d7f7ea
1 file changed
sp_BlitzCache.sql
@@ -1620,6 +1620,7 @@ WITH total_plans AS
1620
ON qs.sql_handle = ps.sql_handle
1621
CROSS APPLY sys.dm_exec_plan_attributes(qs.plan_handle) pa
1622
WHERE pa.attribute = N'dbid'
1623
+ AND pa.value <> 32767 /*Omit Resource database-based queries, we're not going to "fix" them no matter what. Addresses #3314*/
1624
AND qs.query_plan_hash <> 0x0000000000000000
1625
GROUP BY
1626
/* qs.query_plan_hash, BGO 20210524 commenting this out to fix #2909 */
0 commit comments