
I live in Aotearoa New Zealand and write about SQL Server internals at https://xitter.cf/t.co/nuZwOWQzHy Microsoft MVP 2011-2022 DBA Stack Exchange Mod 2015-2025
Paraparaumu, New Zealand
Joined April 2010
- Tweets14.1K
- Following158
- Followers5.1K
- Likes65.3K
Paul White retweeted
TRUNCATE TABLE WITH PARTITIONS causes data corruption with non-aligned partitions
feedback.azure.com/d365commu…
Paul White retweeted
Follow-up article showing how to use this technique with updates:
Updating in Batches using an API Cursor
sql.kiwi/2025/03/batch-updat…
Paul White retweeted
Vol:18 No:1 → The Key to Effective UDF Optimization: Before Inlining, First Perform Outlining vldb.org/pvldb/vol18/p1-arch…
Paul White retweeted
if you got that @microsoft email about your 365 account price going up to $99, you can get the old price back by going through the cancel prompt and switching to the classic plan (with no AI).
Paul White retweeted
This is it: The world’s smartest AI, Grok 3, now available for free (until our servers melt).
Try Grok 3 now: xitter.cf/i/grok
X Premium+ and SuperGrok users will have increased access to Grok 3, in addition to early access to advanced features like Voice Mode
Paul White retweeted
Read more about our discovery, and why it matters, here: aka.ms/AAu76rr
Paul White retweeted
Complete hardware + software setup for running Deepseek-R1 locally. The actual model, no distillations, and Q8 quantization for full quality. Total cost, $6,000. All download and part links below:
Paul White retweeted
Get festive with holiday icons!
Update your app and choose your favorite icon now in Premium Hub.
Paul White retweeted
🎥 Two Of My Favorite NOLOCK Demos from Paul White and Aaron Bertrand youtube.com/watch?v=BVTFkQx1… 🎥
Paul White retweeted
Replying to @DimitriFurman
That's missing the point. No one cares whether QDS is required or the intended use (a distinction without a difference). It's useless outside a plan guide, QDS or otherwise.
Regardless, this feature only makes sense as a special case of the wider need we've all been trying to tell you about. Even the name of the hint makes no sense without that context.
Abort query execution (after some time) with zero as a boundary case that also happens to prevent compilation. After all, you can't really abort something that hasn't started. Not every batch or statement is a query. Not everything covered by this hint involves execution.
People have been dealing with runaway statements, compilation storms and the like for decades. That need isn't new. Let's not pretend otherwise.
If it weren't intended as an intro to the wider—much more useful and needed—feature it wouldn't be a hint and it wouldn't have that name.
No, you'd provide something lightweight and more immediately useful for the task at hand. In an emergency, people are not going to want to go fishing around the query store.
They'd want a simple special procedure they can run from the DAC, with friendly syntax options for partial string match, parameterized form, query hash and all the other obvious bits & pieces. A TVF of currently blocked statements and their stats, for example.
Or you'd provide specific knobs and switches to limit compilation time and other resources separately along the resource governor lines. You'd not provide a misnamed query hint.
I sincerely hope this hint is a v1 that will actually be followed through on. Microsoft do not have a great track record in that area, but we all hope for better things, don't we.
I'm not saying your project will be a disaster on the scale of Big Data Clusters or anything like that. It just looks for all the world like one hell of a missed opportunity at this stage.
Paul White retweeted
Replying to @DimitriFurman
The hint does not require QS? But the opening paragraph of the post says:
"The hint is intended to be used as a Query Store hint to let administrators block future execution of known problematic queries, for example non-essential ad hoc queries impacting application workloads."
The choice is only between doing something narrow or nothing at all if you make it so.
SQL Server 2025 may not be far away, but why only start this work recently? Also, it's not as if new USE HINTS have never been released in a CU before.
If you've done the design work and realised this feature makes sense to address the broader use, why not say so and commit to delivering it sometime next year? Or at least say in the post you would like to do that?
There have been signs this change has been coming in released versions of SQL Server for a while (new error messages and whatnot), so it's not like it was only thought of last week.
You're getting frank feedback because I want to be clear how much of a missed opportunity I think this is.
Paul White retweeted
Replying to @DimitriFurman @SQLMCT
Like I l said, it's such a narrow use. I've never encountered that need. I don't deny it exists, but then so do many edge cases.
Just seems so obvious to expand it to a specified time limit and beyond QS.
It's a bit like v1 of STRING_SPLIT not having the ordinal, but less useful. Many of us told Microsoft about that before release, but weren't listened to. Eventually, the ordinal was added, but it fails under forced parameterization. Slightly depressing all around.
Query Governor Cost Limit was never useful or extended as you propose, despite things like Parameter Sensitivity being such a common problem.
People want a guarantee on maximum execution time in all sorts of scenarios. No one loves a long running transaction blowing things up (including the version store).
Yes, people can write jobs and other monitoring to fix things up in an ad hoc way, but this is an expensive enterprise product we're taking about here, not Postgres or DuckDB.
By all means include zero time as an option and make the query hint also available to work in QS, but releasing the feature as-is in a major box release is just embarrassing, frankly.
It shows a lack of thought or familiarity with the issues people actually encounter day to day. It's really not good enough.
People put up with the lack of investment in e.g. T-SQL because the core engine is strong. This sort of quarter-baked addition undermines that position.
Unless some large and loud customer is directly funding this work, I can see no reason to release it in such a limited form.
Paul White retweeted
Replying to @SQLMCT @DimitriFurman
This seems like a huge missed opportunity.
A really narrow use case when what is really needed is a query hint to limit a statement's total execution time.
Not only to zero seconds! Not just for Query Store.
ABORT_QUERY_EXECUTION AFTER x SECONDS for example.
Paul White retweeted
At 3:45 pm PST @PASSDataSummit will be live-streaming my session, Everything You Know About Isolation Levels Is Wrong. Sign up here! passdatacommunitysummit.com/…
Paul White retweeted
I had to get this off my chest
Blog post: Why is fn_xe_file_target_read_file the worst SQL function? straightforwardsql.com/posts…
Paul White retweeted
I found columnstore key lookups were a lot slower than regular key lookups, and wanted to figure out why:
forrestmcdaniel.com/2024/08/…
Paul White retweeted
if i did live streams on tw𝕏tter, would you attend?
44%y
56%n
43 votes • Final results Paul White retweeted
🎥 Why You Should Avoid People Who Tell You To Avoid Subqueries In SQL Server youtube.com/watch?v=QAg2Q5vy… 🎥
Paul White retweeted
📬 Actual Execution Plans Finally Show Lock Waits!: ift.tt/AoJh5ZI 📬











