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.
@ReeceGoding closing this since it's more of a question. If you run into an issue that's reproducible and you can show code for it, let's go from there. Thanks!
from sql-server-first-responder-kit.
Related Issues (20)
- sp_BlitzFirst: "Garbage Collection in Progress" warning can be triggered by memory-optimized TempDB
- sp_BlitzFirst: add analysis of sys.dm_os_memory_clerks usage HOT 1
- sp_BlitzFirst: add warning about approaching max worker threads
- sp_BlitzFirst: plan cache results show up when they shouldn't
- sp_Blitz_who : transaction_isolation_level wrongly reported HOT 8
- Installing sp_DatabaseRestore produces a ton of warnings about CommandExecute
- Deprecating sp_AllNightLog, sp_BlitzInMemoryOLTP, and sp_BlitzQueryStore
- sp_BlitzFirst: better Azure SQL DB start time detection
- Missing entry in master.dbo.SqlServerVersions table HOT 1
- sp_BlitzFirst: Wait Stats Details does not display correct number of seconds that the server spent waiting HOT 4
- Inserted columns are incorrect (probably just swapped) in a couple of places HOT 1
- Name column from sys.schemas accessed using [NAME] rather than [name] HOT 1
- Database count does not exclude all databases that will be excluded HOT 1
- Can DB_NAME() ever return a different value to sys.databases.name? HOT 1
- Typos in the index script HOT 1
- DROP TABLE IF EXISTS is use, but Blitzindex should be compatibel with SQL Server 2014 and below HOT 1
- sp_BlitzIndex fails if you don't have permissions to query sys.sql_expression_dependencies
- sp_BlitzLock - Add the ability to filter to a specific type of deadlock
- sp_Blitz: Add more Query Store best practice checks. HOT 3
- sp_BlitzIndex has dependency on depricated procedure sp_BlitzInMemoryOLTP 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.