Performance Tuning with SQL Server Dynamic Management Views and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $3.18 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Start reading Performance Tuning with SQL Server Dynamic Management Views on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Performance Tuning with SQL Server Dynamic Management Views (High Performance Sql Server) [Paperback]

Louis Davidson , Tim Ford
5.0 out of 5 stars  See all reviews (3 customer reviews)

List Price: $29.99
Price: $19.89 & FREE Shipping on orders over $25. Details
You Save: $10.10 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Usually ships within 2 to 3 weeks.
Ships from and sold by Amazon.com. Gift-wrap available.

Formats

Amazon Price New from Used from
Kindle Edition $9.99  
Paperback $19.89  
Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

September 1, 2010 High Performance Sql Server
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.

Frequently Bought Together

Performance Tuning with SQL Server Dynamic Management Views (High Performance Sql Server) + SQL Server Execution Plans + Inside the SQL Server Query Optimizer
Price for all three: $59.96

Buy the selected items together


Editorial Reviews

About the Author

Louis Davidson has been in the IT industry for 15 years as a corporate database developer and data architect. Currently he is the Data Architect for Compass Technology in Chesapeake, Virginia, supporting the Christian Broadcasting Network and NorthStar Studios in Nashville, Tennessee. Louis has been a Microsoft MVP since 2004, and is an active volunteer for the Professional Association for SQL Server working in their Special Interest Groups. He is the author of SQL Server 2005 Database Design and Optimization.

Tim Ford is a senior database administrator with Spectrum Health in Grand Rapids, Michigan. He has been an active volunteer with The Professional Association for SQL Server (PASS) since 2002 and a certified solutions developer (MCSD) since 2001. Currently he is attempting to teach himself web development at Ford-it.com. In his free time he usually has a camera, game controller, spatula, guitar, handlebars, book, or beer in his hands. His wife and two young sons, Austen and Trevor keep him sane when not driving him completely crazy.

Louis Davidson has been in the IT industry for 15 years as a corporate database developer and data architect. Currently he is the Data Architect for Compass Technology in Chesapeake, Virginia, supporting the Christian Broadcasting Network and NorthStar Studios in Nashville, Tennessee. Louis has been a Microsoft MVP since 2004, and is an active volunteer for the Professional Association for SQL Server working in their Special Interest Groups. He is the author of SQL Server 2005 Database Design and Optimization.

Tim Ford is a senior database administrator with Spectrum Health in Grand Rapids, Michigan. He has been an active volunteer with The Professional Association for SQL Server (PASS) since 2002 and a certified solutions developer (MCSD) since 2001. Currently he is attempting to teach himself web development at Ford-it.com. In his free time he usually has a camera, game controller, spatula, guitar, handlebars, book, or beer in his hands. His wife and two young sons, Austen and Trevor keep him sane when not driving him completely crazy.



Louis Davidson has been in the IT industry for 15 years as a corporate database developer and data architect. Currently he is the Data Architect for Compass Technology in Chesapeake, Virginia, supporting the Christian Broadcasting Network and NorthStar Studios in Nashville, Tennessee. Louis has been a Microsoft MVP since 2004, and is an active volunteer for the Professional Association for SQL Server working in their Special Interest Groups. He is the author of SQL Server 2005 Database Design and Optimization.

Tim Ford is a SQL Server MVP, and has been working with SQL Server for over ten years. He is the co-founder of SQL Cruise, LLC, a training company for SQL Server specializing in deep-dive sessions for small groups, hosted in exotic and alternative locations throughout the world. He is also a Senior SQL Server Professional for Next Wave Logistics, Inc. and is the owner and Lead Consultant for B-Side Consulting, LLC. He's been writing about technology since 2007 for a variety of websites and maintains his own blog covering SQL as well as telecommuting and professional development topics. Tim is an established SQL Server Community Speaker and long-term volunteer in the technical community, having held positions in the Professional Association for SQL Server (PASS) since 2002.He has also been leading the West Michigan SQL Server User Group (WMSSUG) since 2008. When not neck-deep in technology, Tim spends his time travelling with his wife, Amy and sons, Austen and Trevor, be it to Alaska or simply to one of Trevor's tennis practices or Austen's Boy Scout meetings. Tim is passionate about photography, cooking, music, gaming, and exercise, and either experiences or writes about them often.


Product Details

  • Paperback: 344 pages
  • Publisher: Red gate books (September 1, 2010)
  • Language: English
  • ISBN-10: 1906434476
  • ISBN-13: 978-1906434472
  • Product Dimensions: 7.5 x 0.7 x 9.2 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (3 customer reviews)
  • Amazon Best Sellers Rank: #278,249 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

Customer Reviews

5.0 out of 5 stars
(3)
5.0 out of 5 stars
4 star
0
3 star
0
2 star
0
1 star
0
Share your thoughts with other customers
Most Helpful Customer Reviews
18 of 19 people found the following review helpful
5.0 out of 5 stars A Necessary and Important Reference Manual October 18, 2010
Format:Paperback|Amazon Verified Purchase
You know those technical manuals that sit on your desk, slowly collecting little post-it tabs with notes on them, the spines are cracked, the covers are wrinkled, when people come to borrow them you snatch it from their hands? You know those books? Yeah, well, this is one of them. I've only owned it for a few days, but I've already opened it several times to look stuff up, even stuff I had just finished reading.

I really like the approach the authors, Louis Davidson & Tim Ford, took to the book. Instead of just laying out a bunch of Dynamic Management Objects (DMO) in alphabetical order or something, they focused on the DMOs associated with Performance Tuning. Then, they took the trouble to break the DMOs apart into different areas of data and performance metrics like "Query Plan MetaData" and "Transactions." They introduced each topic with an overview of the topic, why DMOs are useful to gathering data on that topic and then dived into which DMO did what to help you with the information you need to do performance tuning on your system.

The writing is very clear and to the point. Also, I wasn't able to detect different "voices" as I read through the book. Despite more than one author, there's not that disjointed feeling you can get as you hop from one chapter to another and switch authors at the same time. I really liked the sample queries and the way they built on each other, showing you the true strength available in DMOs, which is combining them to put together extremely useful views on the data in the system. I also liked the fonts used and the layout of the book, the way important code was called out through bolding & font changes. I did think that the screen captures were a bit fuzzy, but not to the degree that it detracted from the book in any way.

The argument can be made that books like this just rewrite the Books Online (BOL). But, in addition to extremely clear explanations, and a focused methodology showing you not just how to use the DMOs but where and why to use the DMOs, you also get the unique code samples. The thing about DMOs is that in isolation, they're useful. But it's in combination that they become powerful. The examples emphasize how these building blocks can be put together to create new, interesting and useful reports. Examples such as these are just not available in BOL.

For all these reasons, I highly recommend this book. If you're responsible for maintaining or developing SQL Server systems, you'll find something useful in this book that you can put to work, right away.
Was this review helpful to you?
12 of 12 people found the following review helpful
5.0 out of 5 stars It's like reading two useful books at once October 13, 2010
Format:Paperback|Amazon Verified Purchase
Reading this was like absorbing the knowledge of two books at the same time, with one book on performance tuning and the other on dynamic management objects. I bought this book primary to learn more about dynamic management objects, but was surprised by the high coverage of performance tuning in general (and not just as pertains to dynamic management objects). The focus is still on use of dynamic management objects, but you can learn much about the goals of performance tuning from this book.

Performance Tuning with SQL Server Dynamic Management Views is not a beginner level book, and it assumes knowledge of SQL Server and RDBMS technologies. Along the way there are recommendations for online articles to read for more in-depth information, or for background coverage of concepts that you may not have seen in a while and need to review. Unlike some technical books on SQL Server, this is not a regurgitation of SQL Server Books Online, however it does point you there for more information when appropriate.

This book works in layers, so that you have a structure to approaching performance tuning by starting at an outer layer and working toward inner layers as the book progresses. Topics to be measured by dynamic management views (eg. transactions, latches) are briefly discussed as encountered. Rather than just blindly querying dynamic management views, the authors describe how to filter and display results in a useful manner. They also discuss pitfalls to avoid when using dynamic management objects... for example, they will mention if a particular dynamic management view may be resource intensive, things to do so that joins on dynamic management views are properly constructed, etc.

The authors do not consider dynamic management objects in isolation. They make comparisons to alternative measurement methods and tool, and discuss advantages of dynamic management objects to consider (for example, the system impacts of measurement methods, available levels of granularity). They also discuss when other tools might be appropriate, or how other tools and dynamic management objects might be used together to address performance issues.

This book describes the naming of dynamic management objects, and clarifies these names so that you can begin to get a feel for what a dynamic management object does based on the structure of its name. It also compares dynamic management objects among each other to avoid confusion... this is appreciated because a lot of the names can begin to look similar after a while. Dynamic management objects are also compared and contrasted to older SQL Server compatibility views. This way, you know where to go for information you were accustomed to getting from those older views. Along these same lines, the book discusses name changes of columns that are available in dynamic management objects but with a different name than was used in compatibility views.

The book is full of good examples, and many of these set up scenarios in a database so that you can observe the resulting issues using dynamic management objects. Code examples in the book are available for download online (link for this is provided early in the book). Performance Tuning with SQL Server Dynamic Management Views is dense with information and hard to put down once you open it. It will be nearby with my other technical reference books, and I'm sure I'll be referring to it often in the coming years.
Comment | 
Was this review helpful to you?
5.0 out of 5 stars Great Resource October 24, 2012
By TRAD
Format:Kindle Edition|Amazon Verified Purchase
I have this book in Kindle and paper form. I highly recommend this book to learn more about DMV's and how they can help you find issues on your MSSQL servers.
Comment | 
Was this review helpful to you?
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category