App Indexes view - Oracle

Administration DBA App Indexes App Indexes view

The App Indexes view provides an audit of your database indexes.

This option is not available if your N4 TOS is hosted by Kaleris.

The values in the Diff column indicate the status of the index:

To add an index:

  1. Select the MISSED index.

  1. Go to the Actions menu.

  2. Select Create Index.

Adding an index can take several minutes. It is best to do this during off peak hours.

To drop an index:

  1. Select the EXTRA index.

  1. Go to the Actions menu.

  2. Select Drop Index.

The Database Performance Management privilege (on page 1) controls access to this view.

 

 

Gathering fragmentation information (SQL Server)

You can also gather fragmentation information from the App Indexes view. Before deciding which defragmentation method to use, you need to analyze the index to determine the degree of fragmentation. The Gather fragmentation info action detects fragmentation in a specific index, all indexes on a table or indexed view, or all indexes in a database. This option is available only with SQL Server.

Because this action to gather fragmentation information is time and resource consuming, you should run this during off-peak hours. The application will not be responsive for several minutes.

To gather fragmentation information:

  1. Go to the Actions menu.

  1. Select Gather fragmentation info.

  2. Choose Yes to proceed.

After the process is complete, the Fragmentation column displays the fragmentation percentage:

 

App Indexes Columns - Oracle

Short Label

Long Label

Description

Cardinality

Cardinality

Number of unique values

Column Name

Column Name

Name of the table column.

Diff

Difference

Status of the index:

  • OK: The database has the required index.

  • Duplicated: The index has double declaration.

  • Extra: The database has it, but N4 does not require it.

  • Missed: N4 requires the index, but the database does not have it.

  • Missed FK (foreign key): N4 requires the index, but there are not any in this column

Fragmentation

Fragmentation Ratio

Percentage of index fragmentation.

Generated

Generated

Indicates True if the index was generated by N4.

Index Name

Index Name

Name of the index.

Index Type

Index Type

The index type:

  • NORMAL

  • BITMAP

  • FUNCTION-BASED NORMAL

  • FUNCTION-BASED BITMAP

  • DOMAIN

Last Analyzed

Last Analyzed

The last time when the index statistics were gathered.

Multicolumn

Multicolumn

Indicates True if the index covers more than one column.

Oper. Status

Operation Status on Spatial Index

Status of the operation on the spatial index. The normal status is Valid.

Position

Position

Indicates the indexed column position in a multicolumn index, or 1 for non-multicolumn index

Row Number

Row Number

Approximate number of rows in the index as indicated by the statistics table.

Status

Spatial Index Status

Status of spatial index. The normal status is Valid.

Table name

Table Name

The table for which the index was created.

Tablespace name

Tablespace Name

Indicates how the database objects are distributed on the file system.

Uniqueness

Uniqueness

Indicates if the index is unique, where each value in the key column is unique.

  • UNIQUE

  • NONUNIQUE

  • BITMAP

Usage

Usage Count

Indicates whether the indexes are used. Useful in gathering information about unused indexes. The values are:

  • USED

  • NEVER