INDEX_ADVISOR_MAX_ROWS option

Function

Sets the maximum number of unique advice messages stored to max_rows.

Allowed values

Value

Description

0

Minimum value disables collection of index advice

4294967295

Maximum value allowed

Default

0

Scope

Can be set temporary (for the current connection), or persistent for a user/group (such as PUBLIC or DBA). Takes effect immediately.

Description

The INDEX_ADVISOR_MAX_ROWS option is used to limit the number of messages stored by the index advisor. Once the specified limit has been reached, the INDEX_ADVISOR will not store new advice. It will, however, continue to update counts and timestamps for existing advice messages.

SET OPTION public.Index_Advisor_Max_Rows = max_rows;

See also

“FP_LOOKUP_SIZE option” and “INDEX_ADVISOR option”

sp_iqindexadvice procedure in Chapter 7, “System Procedures” in Reference: Building Blocks, Tables, and Procedures

“The Fast Projection (FP) default index type” in Chapter 6, “Using Sybase IQ Indexes” in System Administration Guide: Volume 1