Jump to ratings and reviews
Rate this book

Inside the SQL Server Query Optimizer

Rate this book
The SQL Server Query Optimizer is perceived by many to be a magic black box, transforming SQL queries into high performance execution plans in the blink of an eye through some unknowable process. The truth is that, while the Query Optimizer is indeed the highly-complex result of decades of research, learning how it works its magic is not only possible, but immensely useful to database developers and administrators alike. A better understanding of what the Query Optimizer does behind the scenes can help you to improve the performance of your databases and applications, and this book explains the core concepts behind how the SQL Server Query Optimizer works. With this knowledge, you'll be able to write superior queries, provide the Query Optimizer with all the information it needs to produce efficient execution plans, and troubleshoot the cases when the Query Optimizer is not giving you the best plan possible. With over 15 years of experience in the use of Relational Databases (including SQL Server since version 6.5), Benjamin has watched the SQL Server Relational Engine grow and evolve. His insight will leave you with an excellent foundation in the practicalities of the Query Optimizer, and everything you need to know to start tuning your queries to perfection.

272 pages, Paperback

First published March 7, 2011

5 people are currently reading
13 people want to read

About the author

Benjamin Nevarez

9 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (50%)
4 stars
4 (33%)
3 stars
2 (16%)
2 stars
0 (0%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Tim.
78 reviews3 followers
April 4, 2020
I was looking for a book with an in-depth coverage of the SQL Server Query Optimizer, and, sadly, this one is not it. It starts out promisingly enough, but just when you start getting a hang of what the optimization algorithms are and how they work, and are ready to dive into more details, the chapter ends abruptly and the author has moved on to other topics. Every chapter covers a different aspect of the optimizer, and while they are all a great introduction to that topic, ultimately that's all they are--an introduction. I found the overall coverage to be rather perfunctory, but if all you are looking for is to get your feet wet, the book will probably work out for you alright.

Writing is a little dry, which is something the author himself admits, and which is due to the fact that it is based mostly on the technical papers he studied to write this book. There's nothing wrong with that approach, but you can't really read more than a few pages at a time before starting to get sleepy :) But it also paces you, so this isn't really a complaint.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.