Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.11 KB

onlineindexoperation-element-dta.md

File metadata and controls

54 lines (40 loc) · 2.11 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords dev_langs
OnlineIndexOperation Element (DTA)
In the dta utility, the OnlineIndexOperation element specifies whether items that Database Engine Tuning Advisor recommends can be created online.
markingmyname
maghan
03/01/2017
sql
tools-other
reference
OnlineIndexOperation element
XML

OnlineIndexOperation Element (DTA)

[!INCLUDE 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)