OnlineIndexOperation Element (DTA)

 

Applies To: SQL Server 2016

Specifies whether the indexes, indexed views, or partitions that Database Engine Tuning Advisor recommends can be created online.

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

CharacteristicDescription
Data type and lengthstring, no maximum length.
Allowed valuesOFF
No recommended physical design structures can be created online.

 ON
All recommended physical design structures can be created online.

 MIXED
Database Engine Tuning Advisor attempts to recommend physical design structures that can be created online when possible.

Use one of these values with this element. If indexes are created online, the keyword ONLINE = ON is appended to its object definition.
Default valueNone.
OccurrenceOptional. If used, can only be used once for the TuningOptions element.
RelationshipElements
Parent elementTuningOptions Element (DTA)
Child elementsNone.

For a usage example of this element, see the Simple XML Input File Sample (DTA).

XML Input File Reference (Database Engine Tuning Advisor)

Community Additions

ADD
Show: