Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 2.3 KB

database-element-for-workload-dta.md

File metadata and controls

58 lines (43 loc) · 2.3 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.collection helpviewer_keywords dev_langs
Database Element for Workload (DTA)
In the dta utility, the Database element for Workload, specifies the database where the workload trace table is located.
rwestMSFT
randolphwest
03/01/2017
sql
tools-other
reference
data-tools
Database element
XML

Database Element for Workload (DTA)

[!INCLUDE SQL Server]

Specifies the database where the workload trace table is located.

Syntax

  
<Workload>  
  <Database>  
   ...code removed here...  
  </Database>  

Element Characteristics

Characteristic Description
Data type and length None.
Default value None.
Occurrence Required once if no other type of workload is specified. You must specify an EventString, a File, or a Database child element for the Workload parent, but only one type can be used. For example, if you specify a workload with the Database element, you cannot also specify a workload with the File element in the same XML input file.

Element Relationships

Relationship Elements
Parent element Workload Element (DTA)
Child elements Name Element for Database (DTA)

Schema Element for Database (DTA)

Remarks

This element is of the DatabaseDetailsTypecomplexType name in the Database Engine Tuning Advisor XML schema. Do not confuse this Database element with the one whose root parent is the Configuration element. (See Database Element for Configuration (DTA).)

Example

For a usage example of this Database element, see the code example in Workload Element (DTA).

See Also

XML Input File Reference (Database Engine Tuning Advisor)