Index

Overview

An Index is a database object definition stored in the AnalyticsCreator repository. It belongs to a table and describes how generated database indexes, primary keys, clustered indexes, unique indexes, and columnstore indexes should be created.

Function

Use the Index entity to define index metadata for warehouse tables. The detail page stores the target schema and table, the index name, optional description, compression type, index flags, and the ordered list of columns included in the index.

The index list page can filter indexes by index name, schema name, or table name. Opening an index from the list loads the detail page for editing; creating a new index opens the same detail page with a new index record.

Access

Indexes can be opened from the repository navigation tree or from the DWH ribbon tab. The navigation-tree context menu also supports adding an index from the selected table context.

How to access

Navigation tree

Data warehouse -> Indexes

Toolbar

DWH -> List -> Indexes

Diagram

Not direct. Use the index list or navigation tree.

Visual element

Index detail page

Screen overview

The index detail page contains the following visible fields, options, and actions.

ID Property Description
1SchemaSelects the schema that contains the table for the index.
2TableSelects the table where the index is defined. The available column list is refreshed from the selected table.
3Index nameName of the index. Saving requires a non-empty index name.
4DescriptionOptional description for the index definition.
5Compression typeCompression setting applied to the generated index. New index records default to compression type 0.
6Is uniqueMarks the index as unique. Columnstore indexes cannot be unique.
7Is clusteredMarks the index as clustered. A table cannot have more than one clustered index.
8Is primary keyMarks the index as the primary key. A table cannot have more than one primary key index.
9Is columnstoreMarks the index as a columnstore index. Columnstore indexes cannot be primary key or unique indexes.
10ColumnColumn included in the index. Values are selected from the currently selected table.
11PositionOrdinal position of the column in the index definition.
12Is descendingIndicates whether the index column is sorted descending.
13Include onlyMarks a column as included in the index without making it part of the key order.
14SaveValidates the index settings, saves the record, refreshes the navigation tree, and reloads the detail page for the saved index.
15CancelReturns to the previous page. If there are unsaved changes, AnalyticsCreator asks whether to save or cancel the navigation.

Related topics