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 6. Operating system DMVs

 

This chapter covers
  • Identifying why your queries are waiting
  • Obtaining performance counter information
  • Capturing DMV data periodically

 

SQL Server provides several operating system-related DMVs that allow you to understand, at the server level, why your queries are waiting. Investigating these in conjunction with the SQL queries that are running should enable you to identify the problem areas and provide solutions to improve your SQL queries. I’ll provide a script to show your most common waits, both at the server level and those that occur when you run a given SQL query or batch.

Another DMV allows you to access the Windows internal performance counters for various SQL Server-related objects. 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