--- title: "Database Element for Configuration (DTA)" ms.prod: sql ms.prod_service: sql-tools ms.technology: tools-other ms.topic: conceptual dev_langs: - "XML" helpviewer_keywords: - "Database element" ms.assetid: e91ba243-6cc9-457a-8f5a-134f3c71ae69 author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: "" ms.custom: seo-lt-2019 ms.date: 03/01/2017 --- # Database Element for Configuration (DTA) [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] Specifies the database against which you want the Database Engine Tuning Advisor to evaluate the hypothetical configuration (specified by the **Configuration** element). ## Syntax ``` ...code removed here... ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |**Data type and length**|None.| |**Default value**|None.| |**Occurrence**|Required one or more times per **Server** element.| ## Element Relationships |Relationship|Elements| |------------------|--------------| |**Parent element**|[Server Element for Configuration (DTA)](../../tools/dta/server-element-for-configuration-dta.md)| |**Child elements**|[Name Element for Database (DTA)](../../tools/dta/name-element-for-database-dta.md)

[Schema Element for Database (DTA)](../../tools/dta/schema-element-for-database-dta.md)

[Recommendation Element (DTA)](../../tools/dta/recommendation-element-dta.md)| ## Remarks This element is of the **DatabaseTypecomplexType** name in the Database Engine Tuning Advisor XML schema. Do not confuse this **Database** element with the one whose root parent is the **Server** element, which occurs at the top of the XML input file. For more information, see [Database Element for Server (DTA)](../../tools/dta/database-element-for-server-dta.md). ## Example For a usage example of this **Database** element, see the [XML Input File Sample with User-specified Configuration (DTA)](../../tools/dta/xml-input-file-sample-with-user-specified-configuration-dta.md). ## See Also [XML Input File Reference (Database Engine Tuning Advisor)](../../tools/dta/xml-input-file-reference-database-engine-tuning-advisor.md)