--- title: XML Input file sample with user-specified configuration titleSuffix: DTA ms.prod: sql ms.prod_service: sql-tools ms.technology: tools-other ms.topic: conceptual ms.assetid: b29c9716-e5c3-4003-9efb-3ade2197b630 author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: "" ms.custom: seo-lt-2019 ms.date: 03/01/2017 --- # XML Input File Sample with User-specified Configuration (DTA) [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] Copy and paste this sample of an XML input file that specifies a user-specified configuration with the **Configuration** element into your favorite XML editor or text editor. This enables you to perform "what-if" analysis. "What-if" analysis involves using the **Configuration** element to specify a set of hypothetical physical design structures for the database you want to tune. Then you use Database Engine Tuning Advisor to analyze the effects of running a workload against this hypothetical configuration to find out whether it improves query processing performance. This type of analysis provides the advantage of evaluating the new configuration without incurring the overhead of actually implementing it. If your hypothetical configuration does not provide the performance improvements you want, it is easy to change it and analyze it again until you reach the configuration that produces the results you need. After copying this sample into your editing tool, replace the values specified for the **Server**, **Database**, **Schema**, **Table**, **Workload**, **TuningOptions**, and **Configuration** elements with those for your specific tuning session. For more information about all of the attributes and child elements that you can use with these elements, see the [XML Input File Reference (Database Engine Tuning Advisor)](../../tools/dta/xml-input-file-reference-database-engine-tuning-advisor.md). The following sample uses only a subset of available attribute and child element options. ## Code ``` MyServerName MyDatabaseName MyDatabaseSchemaName MyTableName1
MyTableName2
c:\PathToYourWorkloadFile 180 10000 IDX_IV NONE NONE OFF MyServerName MyDatabaseName MyDatabaseSchemaName MyTableName1 MyIndexName MyColumnName1 MyFileGroupName1
``` ## Comments - Dropping physical design structures is not supported if you specify the **Absolute** mode for the **Configuration** element (`Configuration SpecificationMode="Absolute"`). - You cannot create and drop the same physical design structure in either mode (**Relative** or **Absolute**) of the **Configuration** element. ## See Also [Start and Use the Database Engine Tuning Advisor](../../relational-databases/performance/start-and-use-the-database-engine-tuning-advisor.md) [View and Work with the Output from the Database Engine Tuning Advisor](../../relational-databases/performance/view-and-work-with-the-output-from-the-database-engine-tuning-advisor.md) [XML Input File Reference (Database Engine Tuning Advisor)](../../tools/dta/xml-input-file-reference-database-engine-tuning-advisor.md)