Get well versed with ready-to-use techniques for creating high-performance queries and applications
Key Features
- Speed up queries and dramatically improve application performance by creating the right indexes
- Improve OLTP performance through memory-optimized tables and natively compiled stored procedures
- Design SQL Server databases in support of line-of-business and data warehousing applications
Book Description
SQL Server is a relational database management system developed by Microsoft. As a database server, it is a software product with the primary function of storing and retrieving data as requested by other software applications
The book describes the inner workings of the query optimizer and you can use this knowledge to write better queries and provide the query engine with all the required information it needs to produce efficient execution plans. You will also get tips for troubleshooting underperforming queries. Query performance topics such as In-Memory OLTP, the Query Store, and Intelligent Query Processing are covered as well. You will understand how the query optimizer works and how this knowledge can help you optimize your queries and applications
By the end of this book, you will be able to get the best possible performance for your queries and applications
What you will learn
- Learn how SQL Server query optimizer works
- Troubleshoot queries using extended events, SQL Trace, dynamic management views and Query Store
- Learn how execution engine and query operators work
- Detect and fix cardinality estimation errors by examining query optimizer statistics
- Monitor and promote plan caching and reuse to improve application performance
- Improve performance of queries using Intelligent Query Processing features
- Improve performance of data warehouse queries using columnstore indexes
- Handle query processor limitations with hints and other methods
Who This Book Is For
SQL Server developers who are struggling with slow query execution, Database Administrators who are tasked with troubleshooting slow application performance, Database Architects who design SQL Server databases in support of line-of-business and data warehousing applications
Table of Contents
- An Introduction to Query Tuning and Optimization
- Troubleshooting Queries
- The Query Optimizer
- Query Operators
- Indexes
- Statistics
- In Memory OLTP
- Plan Caching
- The Query Store
- Intelligent Query Processing
- Data Warehouses
- Query Processor Limitations and Hints