Rediger

Del via


OnlineIndexOperation Element (DTA)

Applies to: SQL Server

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

Syntax

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

Element Characteristics

Characteristic Description
Data type and length string, no maximum length.
Allowed values OFF
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 value None.
Occurrence Optional. If used, can only be used once for the TuningOptions element.

Element Relationships

Relationship Elements
Parent element TuningOptions Element (DTA)
Child elements None.

Example

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

See Also

XML Input File Reference (Database Engine Tuning Advisor)