Comments (4)
@ReeceGoding I may have not been feeling 100% myself when I wrote that comment 🥴
It should probably be something like:
This looks for queries in the results so far that have multiple plans in Query Store.
The rest of that comment is sort of useless, but at the time I was happy that Query Store logged certain plan attributes in columns, where they had to be parsed out of the plan XML in sp_BlitzCache
. It made doing the checks simpler.
from sql-server-first-responder-kit.
Thanks @erikdarlingdata . While we're on the topic of this code block, is there any chance that the COUNT(qsp.plan_id)
part should be COUNT(DISTINCT qsp.plan_id)
(with whatever syntax tricks are needed to make that valid)? I need to take a closer look at it, but my intuition won't shut up about it.
from sql-server-first-responder-kit.
@ReeceGoding maybe, but I haven't looked at this procedure in about 5 years.
from sql-server-first-responder-kit.
Related Issues (20)
- The Documentation for sp_BlitzQueryStore Seems Confused About its Purpose. HOT 1
- sp_Blitz: remove how-to-contribute-check wording
- sp_BlitzQueryStore prints 'Gathering highest log byte use plans' twice HOT 1
- Latest version of sp_BlitzIndex fails on SQL 2014 HOT 7
- Question: Priority HOT 1
- sp_BlitzIndex can't be created in databases with old compat levels (2008/prior) HOT 4
- sp_BlitzQueryStore: Is the 'Database Level Statistics' check obviously bugged or just ugly? HOT 1
- Stop sp_BlitzQueryStore returning the "rn" column HOT 1
- sp_BlitzIndex - Mode 2 should fail more loudly when BringThePain is needed
- sp_BlitzIndex - Skip missing index details for Modes 1 and 2 HOT 2
- sp_BlitzIndex - The ColumnNamesWithDataTypes common table expression is dog slow sometimes
- CONTRIBUTING.md and README.md don't agree on supported versions HOT 1
- sp_BlitzQueryStore: Let's make the commenting style consistent HOT 1
- sp_BlitzQueryStore: There are lots of user-facing double spaces, missing spaces, typos, and twice-terminated sentences. HOT 1
- sp_BlitzQueryStore: Make the various calls to SERVERPROPERTY less repetitive and capture the current database's compatibility level in a variable HOT 1
- sp_BlitzQueryStore: Replace TOP X with TOP (X) HOT 1
- sp_BlitzQueryStore: Several of the temp tables don't have comments. HOT 1
- sp_Blitz: New security-related checks for SQL Server and Agent running as privileged accounts HOT 2
- sp_BlitzFirst.sql: Incorrect URL for Slow Data File Reads HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sql-server-first-responder-kit.