Get Free Shipping on orders over $79
Dynamic Management Views : High Performance SQL Server - Louis Davidson

Dynamic Management Views

By: Louis Davidson, Tim Ford

Paperback | 1 September 2010

At a Glance

Paperback


$51.75

or 4 interest-free payments of $12.94 with

 or 

Ships in 10 to 15 business days

Dynamic Management Views (DMVs) are a significant and valuable addition to the DBA's troubleshooting armory, laying bare previously unavailable information regarding the under-the-covers activity of your database sessions and transactions. Why, then, aren't all DBAs using them? Why do many DBAs continue to ignore them in favour of "tried and trusted" tools such as sp_who2, DBCC OPENTRAN, and so on, or make do with the "ready made" reports built into SSMS? Why do even those that do use the DMVs speak wistfully about "good old sysprocesses"? There seem to be two main factors at work. Firstly, some DBAs are simply unaware of the depth and breadth of the information that is available from the DMvs, or how it might help them troubleshoot common issues. This book investigates all of the DMVs that are most frequently useful to the DBA in investigating query execution, index usage, session and transaction activity, disk IO, and how SQL Server is using or abusing the operating system. Secondly, the DMVs have a reputation of being difficult to use. In the process of exposing as much useful data as possible, sysprocesses has been de-normalized, and many new views and columns have been added. This fact, coupled with the initially-baffling choices of what columns will be exposed where, has lead to some DBAs to liken querying DMVs to "collecting mystic spells". In fact, however, once you start to write your own scripts, you'll see the same tricks, and similar join patterns, being used time and again. As such, a relatively small core set of scripts can be readily adapted to suit any requirement. This book is here to de-mystify the process of collecting the information you need to troubleshoot SQL Server problems. It will highlight the core techniques and "patterns" that you need to master, and will provide a core set of scripts that you can use and adapt for your own systems, including how to: * Root out the queries that are causing memory or CPU pressure on your system * Investigate caching, and query plan reuse * Identify index usage patterns * Track fragmentation in clustered indexes and heaps * Get full details on blocking and blocked transactions, including the exact commands being executed, and by whom. * Find out where SQL Server is spending time waiting for resources to be released, before proceeding * Monitor usage and growth of tempdb The DMVs don't make existing, built-in, performance tools obsolete. On the contrary, they complement these tools, and offer a flexibility, richness and granularity that are simply not available elsewhere. Furthermore, you don't need to master a new GUI, or a new language in order to use them; it's all done in a language all DBAs know and mostly love: T-SQL.

More in Database Programming

T-SQL Fundamentals : Developer Reference - Itzik Ben-Gan

RRP $87.13

$77.75

11%
OFF
SQL Tuning : O'Reilly Ser. - Dan Tow

RRP $75.99

$39.75

48%
OFF
SQL Essentials For Dummies : For Dummies (Computer/Tech) - Richard Blum
Learning SQL : Generate, Manipulate, and Retrieve Data - Alan Beaulieu
Domain-Specific Small Language Models - Guglielmo Iozzia
Learning Oracle PL/SQL : Learning Ser. - Bill Pribyl

RRP $95.00

$47.75

50%
OFF
Mastering Oracle SQL 2e : O'Reilly Ser. - Sanjay Mishra

RRP $95.00

$47.75

50%
OFF
Transact-SQL Cookbook : Cookbooks Ser. - Ales Spetic

RRP $76.00

$39.75

48%
OFF
Web Database Applications with PHP and MySQL 2e : OREILLY - Hugh E Williams
LINQ Pocket Reference : Pocket Reference (O'Reilly) - Joseph Albahari
Head First PHP & MySQL : A Brain-friendly Guide - Lynn Beighley

RRP $104.75

$51.75

51%
OFF
MySQL in a Nutshell : A Desktop Quick Reference - Russell J. T. Dyer

RRP $66.75

$34.99

48%
OFF
Oracle PL/SQL Best Practices : O'Reilly Ser. - Steven Feuerstein

RRP $57.00

$30.75

46%
OFF
PHP & MySQL : The Missing Manual - Brett Mclaughlin

RRP $76.00

$39.75

48%
OFF
97 Things Every Programmer Should Know : OREILLY - Kevlin Henney

RRP $76.00

$39.75

48%
OFF
Efficient MySQL Performance : Best Practices and Techniques - Daniel Nichter
SQL in a Nutshell : A Desktop Quick Reference - Kevin Kline

RRP $152.00

$73.75

51%
OFF
Perl Programming in easy steps : In Easy Steps - Mike McGrath

RRP $55.99

$46.75

17%
OFF