Blogs

Links and Notes from SQL Server Index Formulas, Huntington Beach

Links and Notes from SQL Server Index Formulas, Huntington Beach

on April 5, 2016 • 2 min read

Category: indexing

I gave a day long session, “SQL Server Index Formulas, Problems and Solutions” in Huntington Beach, CA on April 1. The class was a great group of students, and we had a lively discussion and lots of questions.

Here’s a topic we diagrammed in class, as well as links to extra resources.

Continue reading

Can I Force A Hinted Plan with Query Store in SQL Server 2016?

Can I Force A Hinted Plan with Query Store in SQL Server 2016?

By Kendra Little on March 31, 2016 • 4 min read

SQL Server 2016’s Query Store feature promises to be better than Plan Guides ever were. The Query Store lets  you track query performance, collect execution plans, and force a specific plan if you notice that a query is sometimes fast, and sometimes slow.

Continue reading

Training Plan for Junior DBAs Learning SQL Server

Training Plan for Junior DBAs Learning SQL Server

You’re just getting started as a SQL Server Database Administrator – or you’re trying to get there.

Here’s a learning plan and links to free articles and scripts that will equip you to tackle the three most critical skills to for DBAs.

Continue reading

NO_PLAN and NO_INDEX: Breaking a Forced Query Store Plan

NO_PLAN and NO_INDEX: Breaking a Forced Query Store Plan

Whenever you’ve got a new feature, one of the first things to ask is, “What happens when I break it?”

Because we’re going to break stuff.

Continue reading

3 Tricks with STATISTICS IO and STATISTICS TIME in SQL Server

3 Tricks with STATISTICS IO and STATISTICS TIME in SQL Server

When  you need to measure how long a query takes and how many resources it uses, STATISTICS TIME and STATISTICS IO are great tools for interactive testing in SQL Server. I use these settings constantly when tuning indexes and query.

Continue reading

Truncate Table with Partitions Fails if You Have Non-Aligned Indexes

Truncate Table with Partitions Fails if You Have Non-Aligned Indexes

on March 22, 2016 • 2 min read

Category: indexing

SQL Server 2016 brought in a cool new little feature for table partitioning: you can now truncate individual partitions. There’s one little gotcha, though: you can only do this if all the indexes on the tables are “aligned”.

Continue reading

Learn Indexing from Kendra in Huntington Beach on April 1 for $99!

Learn Indexing from Kendra in Huntington Beach on April 1 for $99!

on March 18, 2016 • 2 min read

It’s just two weeks until I’ll be teaching index tuning in Huntington Beach, California.

This day long session is $99 – and it’s a great time of year to plan a quick visit to California, no?

Continue reading