Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization by Adam Machanic

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization by Adam Machanic - Presentation Transcript

    1. Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization by Adam Machanic Review Of Inside Microsoft Sql Server 2005 Query Tuning And Optimization Dive deep into the internals of query tuning and optimization in SQL Server 2005 with this comprehensive reference. Understanding the internals of SQL Server helps database developers and administrators to better create, access, and effectively process information from enterprise data. Written by experts on SQL Server, this volume from the Inside Microsoft SQL Server series of books focuses on query tuning and optimization. Youll take an in-depth look at the best ways to make queries more efficient and effective, while maximizing existing resources. Includes extensive code samples and table examples to help database developers and administrators understand the intricacies and help promote mastery of query tuning and optimization.
    2. Personal Review: Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization by Adam Machanic SQL performance tuning is probably one of those things you can do to really make a HUGE difference in performance. Let's put this in perspective: take a typical application, if you can improve the performance by 100% then you really made a huge improvement. You can improve a SQL query by 1000% with 2 lines of code (sometimes all you have to do is take away a % sign). If you can make a query sargable so that the optimizer can do an index seek instead of an index scan your query might go from 12 seconds to 200 milliseconds. Now try doing that in an application, even if you change all the string concatenation to use a stringbuilder instead of creating new strings all the time you will not get such a drastic performance improvement. I am sure you get the point by now, let's talk about the book. This book is part 4 of the Inside Microsoft SQL Server 2005 series, it is written by Kalen Delaney and five other authors. There are 6 chapters in this book 1 A Performance Troubleshooting Methodology This chapter explains some typical things that affect performance and also gives a troubleshooting overview 2 Tracing and Profiling This chapter explains how to use the profiler and how to analyze traces. SQL Server's built-in traces are also covered 3 Query Execution This chapter gives a query processing and execution overview. It explains how to read plans and goes into a lot of detail about analyzing plans 4 Troubleshooting Query Performance This chapter explains how to detect problems in plans, how to improve queries and some best practices 5 Plan Caching and Recompilation This chapter goes into detail about plan caching and recompilation and how to troubleshoot plan cache issues 6 Concurrency Problems The final chapter deals with concurrency (locking, blocking and deadlocking) This is an excellent book for an intermediate/advanced developer. There is so much new stuff in SQL Server 2005 compared to 2000 to help you with tuning queries that you probably want to read each chapter several times. The Dynamic Management Views are a big help and this book shows you how to use them. Some other cool stuff in this book is the discussion of internal tables, undocumented DBCC commands and undocumented trace
    3. flags to discover information which could help you determine much faster what the cause of a performance problem might be. Some pages are packed with so much information that you need to pause for a second and process all that info (I have read some pages two to three times in a row). You will also find out that there are more joins besides left, full and outer. Page 137 for example has a nice table with the three Physical Join Operators: Nested Loop Join, Hash Join and Merge Join. This table lists the characteristics for each of these joins. If you are an intermediate to advanced developer then I highly recommend this book. For More 5 Star Customer Reviews and Lowest Price: Inside Microsoft® SQL Server(TM) 2005: Query Tuning and Optimization by Adam Machanic 5 Star Customer Reviews and Lowest Price!
    SlideShare Zeitgeist 2009

    + AutoSurfRestarterAutoSurfRestarter Nominate

    custom

    78 views, 0 favs, 0 embeds more stats

    SQL performance tuning is probably one of those thi more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 78
      • 78 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?