--- title: "DropOnlyMode Element (DTA)" ms.prod: sql ms.prod_service: sql-tools ms.technology: tools-other ms.topic: conceptual dev_langs: - "XML" helpviewer_keywords: - "DropOnlyMode element" ms.assetid: 80960676-7581-4074-889b-80ee665963dd author: markingmyname ms.author: maghan ms.manager: jroth ms.reviewer: "" ms.custom: seo-lt-2019 ms.date: 03/01/2017 --- # DropOnlyMode Element (DTA) [!INCLUDE[appliesto-ss-xxxx-xxxx-xxx-md](../../includes/appliesto-ss-xxxx-xxxx-xxx-md.md)] Specifies that Database Engine Tuning Advisor should only consider dropping existing indexes, indexed views, or partitions during the tuning session. No new physical design structures are considered when this tuning option is specified. ## Syntax ``` ...code removed... ... ``` ## Element Characteristics **Data type and length** **Default value** **Occurrence**: Optional. Can be used only once for each **TuningOptions** element. Cannot be used if the following elements are specified in the **TuningOptions** element: - [FeatureSet Element (DTA)](../../tools/dta/featureset-element-dta.md) - [Partitioning Element (DTA)](../../tools/dta/partitioning-element-dta.md) - [KeepExisting Element (DTA)](../../tools/dta/keepexisting-element-dta.md) is set to **ALL** ## Element Relationships **Parent element**: [TuningOptions Element (DTA)](../../tools/dta/tuningoptions-element-dta.md) **Child elements** ## Example The following example shows the **TuningOptions** section of a Database Engine Tuning Advisor XML input file where the **DropOnlyMode** is specified. In this example the tuning time is limited to 24 hours (1440 minutes) and all existing clustered and nonclustered indexes will be considered for dropping: ```xml 1440 ALIGNED ``` ## See Also [XML Input File Reference (Database Engine Tuning Advisor)](../../tools/dta/xml-input-file-reference-database-engine-tuning-advisor.md)