Skip to Content
Professional SQL Server® 2005 Performance Tuning
book

Professional SQL Server® 2005 Performance Tuning

by Steven Wort, Christian Bolton, Justin Langford, Michael Cape, Joshua J. Jin, Douglas Hinson, Haidong Ji, Paul A. Mestemaker, Arindam Sen
January 2008
Intermediate to advanced
575 pages
16h 10m
English
Wrox
Content preview from Professional SQL Server® 2005 Performance Tuning

11.3. Section 2: Tuning with DTA

The Database Tuning Advisor is a physical database design tool that replaces and builds on the technology in the Index Tuning Wizard in SQL Server 2000. It accepts as input a workload in the form of a T-SQL script containing a set of SELECT, DELETE, and UPDATE statements or a SQL Profiler trace, and will output a T-SQL script consisting of recommendations for the creation, dropping and partitioning of indexes, indexed views, and statistics. It will also give you an estimated performance improvement if you implement the recommendations. Figure 11-2 shows a high-level architecture of DTA.

Figure 11-2. Figure 11-2

It used to be that the DBA had to spend a lot of time reviewing the database design, learning about data distribution, then finding and examining in detail the main queries, and then manually tuning indexes to try and find the best set of indexes to suit individual queries. With DTA this slow and laborious process is no longer needed. You can use DTA to tune individual queries as they are being developed and to tune whole workloads as they become available.

DTA does this either by analyzing individual queries from SQL Management Studio or a SQL Server Profiler Trace file. The workload should contain at least one example of each query called, but it doesn't need to contain repeated calls to the same procedure as you would expect to see in ...

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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Professional Microsoft® SQL Server® 2008 Programming

Professional Microsoft® SQL Server® 2008 Programming

Rob Vieira, Mahsa Nakhjiri
Professional SQL Server® 2008 Internals and Troubleshooting

Professional SQL Server® 2008 Internals and Troubleshooting

Christian Bolton, Justin Langford, Brent Ozar, James Rowland-Jones, Jonathan Kehayias, Cindy Gross, Steven Wort

Publisher Resources

ISBN: 9780470176399Purchase book