O'Reilly logo

Microsoft® SQL Server 2008 R2 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Database Engine Tuning Advisor Command Line

DTA is also available in a batch mode so that you don’t have to be around to run it online (because doing so can often take hours if you have a large workload to analyze). In addition, this mode allows you to run the same tests over and over, with varying options. You can easily view DTA command-line options by using the help option of the command itself (that is, the -? option). You simply run this option at the command line and have its output piped into a file for viewing in Notepad (or another editor):

image

This output has the following components:

-S ServerName[\Instance]Indicates the name of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required