Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DropOnlyMode Element (DTA)

DropOnlyMode Element (DTA)

 

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.


<DTAInput>
...code removed...
    <TuningOptions>
      <DropOnlyMode>...</DropOnlyMode>

Characteristic

Description

Data type and length

None.

Default value

None.

Occurrence

Optional. Can use only once for each TuningOptions element. Cannot be used if the following elements are specified in the TuningOptions element:

Relationship

Elements

Parent element

TuningOptions Element (DTA)

Child elements

None.

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:

<TuningOptions
  <TuningTimeInMin>1440</Name>
  <KeepExisting>ALIGNED</KeepExisting>
  <DropOnlyMode />
</TuningOptions>

Community Additions

ADD
Show:
© 2015 Microsoft