Table indices

You can view, add and drop indexes defined in one table. Select the indices tab in table properties form.

To define referential constraints define first unique indexes for the related columns, if you define a primary key constraint a unique index is created.

The indexes can be activated/deactivated, recompute statistics. Indices used by constraints can't be deleted, drop the constraint and the index will be automatically deleted.

When creating a index you must select a field or fields and check if it's descending or unique.

Warning:

The index key can't be longer than 255 bytes, each selected field has a size, 4 bytes for integers, 8 bytes for timestamp and numeric, and varchar dependends on character set and collation order. Using a character set and collation order can enlarge the size of the key generated by a field, you can't index a varchar WIN1252-PXW_SPAN field with a size greater than 84.

See also:

Table operations index