Book description
Optimize Microsoft SQL Server 2014 queries and applications
Microsoft SQL Server 2014 Query Tuning & Optimization is filled with ready-to-use techniques for creating high-performance queries and applications. The book describes the inner workings of the query processor so you can write better queries and provide the query processor with the quality information it needs to produce efficient execution plans. You’ll also get tips for troubleshooting underperforming queries. In-Memory OLTP (Hekaton), a key new feature of SQL Server 2014, is fully covered in this practical guide.
- Understand how the query optimizer works
- Troubleshoot queries using extended events, SQL trace, dynamic management views (DMVs), the data collector, and other tools
- Work with query operators for data access, joins, aggregations, parallelism, and updates
- Speed up queries and dramatically improve application performance by creating the right indexes
- Understand statistics and how to detect and fix cardinality estimation errors
- Maximize OLTP query performance using In-Memory OLTP (Hekaton) features, including memory-optimized tables and natively compiled stored procedures
- Monitor and promote plan caching and reuse to improve application performance
- Improve the performance of data warehouse queries using columnstore indexes
- Handle query processor limitations with hints and other methods
Table of contents
- Cover Page
- Title Page
- About the Author
- Copyright Page
- Dedication
- Contents at a Glance
- Contents
- Acknowledgments
- Introduction
- Chapter 1 An Introduction to Query Tuning and Optimization
- Chapter 2 Troubleshooting Queries
- Chapter 3 The Query Optimizer
- Chapter 4 Query Operators
- Chapter 5 Indexes
-
Chapter 6 Statistics
- Statistics
- Histogram
- The New Cardinality Estimator
- Cardinality Estimation Errors
- Incremental Statistics
- Statistics on Computed Columns
- Filtered Statistics
- Statistics on Ascending Keys
- UPDATE STATISTICS with ROWCOUNT and PAGECOUNT
- Statistics on Linked Servers
- Statistics Maintenance
- Cost Estimation
- Summary
- Chapter 7 In-Memory OLTP aka Hekaton
- Chapter 8 Plan Caching
- Chapter 9 Data Warehouses
- Chapter 10 Query Processor Limitations and Hints
- Appendix References
- Index
Product information
- Title: Microsoft SQL Server 2014 Query Tuning & Optimization
- Author(s):
- Release date: October 2014
- Publisher(s): McGraw-Hill
- ISBN: 9780071829434
You might also like
book
Microsoft SQL Server 2012 Performance Tuning Cookbook
With this book you’ll learn all you need to know about performance monitoring, tuning, and management …
book
SQL Server 2012 Query Performance Tuning, Third Edition
Queries not running fast enough? Tired of the phone calls from frustrated users? Grant Fritchey's book …
video
SQL Server 70-762: Developing SQL Databases: Required Knowledge for SQL Server 2012 and 2014
More than 19 hours of video instruction to help you learn and master the skills necessary …
book
Query Store for SQL Server 2019: Identify and Fix Poorly Performing Queries
Apply the new Query Store feature to identify and fix poorly performing queries in SQL Server. …