Index

Overview

The Index page maintains table indexes in AnalyticsCreator. Use it to choose the table, name and describe the index, set index options, and define the ordered table columns that belong to the index.

Function

The Index Details area identifies the table that owns the index through Schema and Table. After the table is selected, the column selector in the index-columns grid uses the columns from that table.

Use Index name and Description to document the index, then select the Compression type and index behavior flags. Is unique marks the index as unique, Is clustered marks it as clustered, Is primary key marks it as the table primary key, and Is columnstore marks it as a columnstore index.

The lower grid defines the index columns. Column selects the table column, Position controls the sequence, Is descending changes the sort direction for that column, and Include only keeps the column as an included column rather than a key column.

Save requires a table and index name. It also prevents combinations that would create more than one primary key or clustered index on the same table, and prevents columnstore indexes from being saved as unique or primary-key indexes. Cancel closes the page without continuing the current edit.

Access

Open an existing index from the Indexes branch in the navigation tree, from a table's Indexes branch, or from the Indexes list. Use Add index from the Indexes branch or from a table context to create a new index; when the command is started from a table, the page opens with that table already selected.

How to access

Data warehouse -> Indexes -> [index] -> Edit index, or Data warehouse -> [schema] -> [table] -> Indexes -> [index] -> Edit index.

Toolbar

DWH -> Indexes, then double-click a row or use New to create an index.

Diagram

Not opened directly from the diagram. Use the navigation tree or Indexes list.

Visual element

Index page and Indexes list

Screen overview

ID Property Description
1Index DetailsGroup area for the table, name, description, compression, and index behavior settings.
2SchemaSchema that contains the table for the index. Changing the schema filters the table list.
3TableTable that owns the index. Changing the table refreshes the available index columns.
4Index nameRequired name for the index.
5DescriptionOptional description for the index.
6Compression typeCompression option assigned to the index.
7Is uniqueMarks the index as unique when selected.
8Is clusteredMarks the index as clustered when selected. Only one clustered index is allowed per table.
9Is primary keyMarks the index as the table primary key. Only one primary-key index is allowed per table.
10Is columnstoreMarks the index as a columnstore index. Columnstore indexes cannot be saved as unique or primary-key indexes.
11ColumnTable column included in the index definition.
12PositionOrder of the column inside the index.
13Is descendingUses descending sort order for the selected index column.
14Include onlyIncludes the column in the index without using it as a key column.
15SaveValidates and stores the index definition and refreshes the navigation tree.
16CancelCloses the page without continuing the current edit.

Related topics