Skip to Main Content
SQL Server DMVs in Action
book

SQL Server DMVs in Action

by Ian Stirk
May 2011
Intermediate to advanced content levelIntermediate to advanced
352 pages
11h 27m
English
Manning Publications
Content preview from SQL Server DMVs in Action

Chapter 5. Further query improvements

 

This chapter covers
  • Identifying missing statistics and indexes
  • Identifying queries running slower than normal
  • Determining which SQL queries run over a given time period
  • Capturing the relationships between DMV snapshot deltas

 

The previous chapter discussed scripts that allow you to discover information about the worst queries and how you might improve them. I’d now like to discuss a series of scripts that are typically not explicitly concerned with finding the slowest or worst item but rather indicate possible areas of concern and as such deserve to be examined in further detail.

We’ll look at how to search the cached plans for details of missing statistics and missing indexes. Implementing these ...

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

SQL Server Query Performance Tuning,Fourth Edition

SQL Server Query Performance Tuning,Fourth Edition

Grant Fritchey
Pro SQL Server Internals

Pro SQL Server Internals

Dmitri Korotkevitch
SQL Server T-SQL Recipes, Fourth Edition

SQL Server T-SQL Recipes, Fourth Edition

Jason Brimhall, Jonathan Gennick, Wayne Sheffield

Publisher Resources

ISBN: 9781935182733Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link