Conclusion

This chapter explained the basics of query processing in SQL Server. It introduced iterators—the fundamental building blocks of query processing—and discussed how to view query plans in three different formats: text, graphical, and XML. You learned about many of the most common iterators, including the iterators that implement scans and seeks, joins, and aggregation. You looked at more complex query plans including dynamic index seeks, index unions and intersection, and various subquery examples. You also explored how the query processor implements parallel query execution. All the query plans that SQL Server supports are built from these and other basic operators. The chapter closed with a section explaining data warehousing, optimized ...

Get Microsoft SQL Server 2012 Internals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.