XML Input File Reference (DTA)
Database Engine Tuning Advisor can use an XML input file to tune a database. This XML file designates which databases, tables, workload files or tables, and tuning options to use for the tuning session. You can also use this file to specify a user-specified configuration to perform "what-if" analysis.
Your Database Engine Tuning Advisor XML input file must conform to the DTASchema.xsd schema. This schema can be found in the installation directory of the SQL Server 2005 instance that you are using:
C:\Program Files\Microsoft SQL Server\90\Tools\Binn\schemas\sqlserver\2004\07\dta\dtaschema.xsd
It can also be found at https://schemas.microsoft.com/sqlserver/. It documents all of the elements used when defining a Database Engine Tuning Advisor tuning session.
A Database Engine Tuning Advisor XML input file contains a hierarchy of XML elements, each containing text or other elements that specify the tuning session settings. The Database Engine Tuning Advisor XML input file must conform to the standards for well-formed XML, so all element names are case sensitive. Elements are specified using Pascal case, which means that the first character is uppercase and the first letter of any subsequent concatenated word is uppercase.
All element values must conform to XML naming conventions. For more information about these conventions, see XML Textual Content in the MSDN Library.
Note that this reference is not comprehensive. It only includes those elements that are used in the XML Input File Samples (DTA). For information about all the elements you can use to define XML input, refer to the Database Engine Tuning Advisor XML schema, DTASchema.xsd.
XML Declaration
DTAXML Root Element
DTAInput Elements
- DTAInput Element (DTA)
- Server Element (DTA)
- Workload Element (DTA)
- TuningOptions Element (DTA)
- Configuration Element (DTA)
Server Elements
Tuning Options Elements
- TuningTimeInMin Element (DTA)
- StorageBoundInMB Element (DTA)
- TestServer Element (DTA)
- FeatureSet Element (DTA)
- Partitioning Element (DTA)
- DropOnlyMode Element (DTA)
- KeepExisting Element (DTA)
- OnlineIndexOperation Element (DTA)
- DatabaseToConnect Element (DTA)
Configuration Elements
- Server Element for Configuration (DTA)
- Database Element for Configuration (DTA)
- Recommendation Element (DTA)
- Create Element (DTA)
- Index Element (DTA)
- Name Element for Index (DTA)
- Column Element for Index (DTA)
- Name Element for Column (DTA)
- Filegroup Element for Index (DTA)
Database Elements
- Name Element for Database (DTA)
- Schema Element for Database (DTA)
- Name Element for Schema (DTA)
- Table Element for Schema (DTA)
- Name Element for Table (DTA)
See Also
Concepts
Database Engine Tuning Advisor Reference
Other Resources
Database Engine Tuning Advisor Tutorial
Tuning the Physical Database Design
Database Engine Tuning Advisor How-to Topics
Help and Information
Getting SQL Server 2005 Assistance
Change History
Release | History |
---|---|
5 December 2005 |
|