Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 2.14 KB

File metadata and controls

56 lines (42 loc) · 2.14 KB
title OnlineIndexOperation Element (DTA)
description In the dta utility, the OnlineIndexOperation element specifies whether items that Database Engine Tuning Advisor recommends can be created online.
author rwestMSFT
ms.author randolphwest
ms.date 03/01/2017
ms.service sql
ms.subservice tools-other
ms.topic reference
ms.collection
data-tools
helpviewer_keywords
OnlineIndexOperation element
dev_langs
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)