Перейти к содержимому

How to Think Like the SQL Server Engine Part 3

Brent Ozar Unlimited

0:00 / 0:00

How to Think Like the SQL Server Engine Part 3

8 422 просмотра · 6 л. назад
Brent Ozar Unlimited
53,6 тыс. подписчиков
8 422 просмотра · 6 л. назад
We finished part 2 by adding a nonclustered index. Now, let's see all the ways that makes our query go faster. Then, we'll add more columns to our query so that the index isn't covering anymore, and we'll force SQL Server to make a tough decision: do lots of key lookups, or just scan the table? Then we'll learn how SQL Server uses statistics to make that decision.