Category: SQL Server 2017

Performance Tuning

Breaking: SQL Server 2016 SP1 CU2 Supports ENABLE_PARALLEL_PLAN_PREFERENCE Hint

Hot Diggety!
After reading an excellent tip by Dmitry Pilugin about the new hint for forcing a parallel plan in SQL Server 2017, I figured I'd test it out on SQL Server 2016's latest CU to see if it had been back ported yet.

Good news! It has. Obviously. That's the title of the blog post.
Puddin'
Here are the test queries I ran.
[crayon-6a883c656b283990642328/]
And here are the boring results!

Read more about Breaking: SQL Server 2016 SP1 CU2 Supports ENABLE_PARALLEL_PLAN_PREFERENCE Hint 7 comments — Join the discussion

Anatomy Of An Adaptive Join

I don't like it unless it's brand new
When new features drop, not everyone has time to jump on top of them and start looking at stuff. That's what consultants with nothing better to do are for.

I've been excited about this feature since talking to The Honorable Joseph Q. Sack, Esq. about it at PASS last October. My pupils dilated like I just found the bottom of a bottle of Laphroaig 18.

Read more about Anatomy Of An Adaptive Join 4 comments — Join the discussion

Hidden in SQL Server 2017 CTP v1.1: sys.dm_db_stats_histogram

It's Friday night, so I'm waiting for new CTP Releases
As soon as I got the email, I started reading the release notes. Some interesting stuff, of course.

Batch mode queries now support “memory grant feedback loops,” which learn from memory used during query execution and adjusts on subsequent query executions; this can allow more queries to run on systems that are otherwise blocking on memory.

Read more about Hidden in SQL Server 2017 CTP v1.1: sys.dm_db_stats_histogram 5 comments — Join the discussion