Blogs

New Course:  Why Table Partitioning Does Not Speed Up Query Performance – With One Exception

New Course: Why Table Partitioning Does Not Speed Up Query Performance – With One Exception

By Kendra Little on March 15, 2018 • 1 min read

Table Partitioning is Tricky Business

In this new course you will learn why SQL Server’s table partitioning feature won’t make your queries against disk-based rowstore indexes faster– and may even make them slower.

Continue reading

The Case of MAX() Requiring an Index Scan, While TOP(1)/ORDER BY  DESC Does Not

The Case of MAX() Requiring an Index Scan, While TOP(1)/ORDER BY DESC Does Not

By Kendra Little on March 14, 2018 • 10 min read

Most of the time in SQL Server, the MAX() function and a TOP(1) ORDER BY DESC will behave very similarly.

If you give them a rowstore index leading on the column in question, they’re generally smart enough to go to the correct end of the index, and – BOOP! – just pluck out the data you need without doing a big scan.

Continue reading

SQL Server 2026: BAGI Edition (#TSQL2SDAY 100!)

SQL Server 2026: BAGI Edition (#TSQL2SDAY 100!)

By Kendra Little on March 13, 2018 • 3 min read

It’s T-SQL Tuesday’s 8 year birthday (or close enough), and Adam Machanic has challenged us with the question: what will the world be like when T-SQLTuesday turns 16?

Continue reading

New Free Webinars! Index Tuning, Free Q&A, and Isolation Levels

New Free Webinars! Index Tuning, Free Q&A, and Isolation Levels

on March 12, 2018 • 1 min read

I’ve got a whole slew of free webcasts and events coming this spring. I’m excited about each and every one of them!

Continue reading

What is a Morally Equivalent Execution Plan, and Why Is It Useful?

What is a Morally Equivalent Execution Plan, and Why Is It Useful?

on March 12, 2018 • 5 min read

I recently wrote a fairly complicated post, called “Forced Plan Confusion: Is_Forced vs Use Plan = True.”

You do NOT need to go read that post to understand this one. I think I’ve found simpler way to explain the most important part of that post - and why it’s A Very Good Thing.

Continue reading

New Free Posters & Desktop Backgrounds for Download

New Free Posters & Desktop Backgrounds for Download

on March 8, 2018 • 1 min read

I love fun desktop wallpapers

You may have noticed that there’s something about cartoons combined with SQL Server that makes me happy. Having those images on my desktop inspires me and helps me feel creative. Work should involve fun.

Get the download on GitHub

Continue reading