Skip to Main Content
Learn T-SQL Querying
book

Learn T-SQL Querying

by Pedro Lopes, Pam Lahoud
May 2019
Intermediate to advanced content levelIntermediate to advanced
484 pages
11h 23m
English
Packt Publishing
Content preview from Learn T-SQL Querying

Tracking expensive queries

The Query Store only collects plans for data manipulation language (DML) statements, such as SELECT, INSERT, UPDATE, DELETE, MERGE, and BULK INSERT, as these are the T-SQL statements that will be responsible for most of our SQL Server's resource usage. Most database administrators (DBAs) are constantly looking for ways to optimize resource usage—after all, if T-SQL queries are using just the amount of resources they need (CPU, I/O, and memory), then SQL Server is operating at peak efficiency and allows for maximum concurrency with its current hardware resources.

This brings us to one of the main benefits of Query Store: tracking our workload heavy hitters—the most resource consuming queries. With this exercise, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn T-SQL Querying - Second Edition

Learn T-SQL Querying - Second Edition

Pedro Lopes, Pam Lahoud
SQL Server T-SQL Recipes, Fourth Edition

SQL Server T-SQL Recipes, Fourth Edition

Jason Brimhall, Jonathan Gennick, Wayne Sheffield

Publisher Resources

ISBN: 9781789348811Supplemental Content