Partilhar via


FeatureSet Element (DTA)

Contains the physical design structures (indexes or indexed views) that you would like Database Engine Tuning Advisor to use during analysis.

Syntax

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

Element Characteristics

Characteristic Description

Data type and length

string, no maximum length.

Allowed values

IDX_IV

Indexes and indexed views. For information about which editions of SQL Server 2005 and SQL Server 2000 support this tuning option, see Unsupported Tuning Options.

IDX

Indexes only.

IV

Indexed views only. For information about which editions of SQL Server 2005 and SQL Server 2000 support this tuning option, see Unsupported Tuning Options.

NCL_IDX

Nonclustered indexes only.

Use one of these values with this element.

Default value

IDX

Occurrence

Required once for each TuningOptions element, unless the DropOnlyMode element is used. If DropOnlyMode is used, you cannot use FeatureSet. These elements are mutually exclusive.

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

Reference

XML Input File Reference (DTA)

Help and Information

Getting SQL Server 2005 Assistance