The MON_GET_USAGE_LIST_STATUS table function returns current status of a usage list.
>>-MON_GET_USAGE_LIST_STATUS--(-usagelistschema--,--------------> >--usagelistname--,-member--)----------------------------------><
The schema is SYSPROC.
None
The MON_GET_USAGE_LIST_STATUS function does not report information about usage lists that are in the released state. A usage list is considered to be in the released state if it is defined and has not been activated (explicitly or automatically) or has been released using the SET USAGE LIST STATE statement.
If a usage list is activated (explicitly or automatically) then the state of the usage list is set to activation pending and the memory allocation for the usage list is deferred until the table or index for which the usage list is defined is first referenced by a section. At which point the state of the usage list is set to active. If the memory for the usage list cannot be allocated, then the state of the usage list is set to failed and it must be explicitly activated using the SET USAGE LIST STATE statement.
Column Name | Data Type | Description |
---|---|---|
USAGELISTSCHEMA | VARCHAR(128) | usage_list_schema - Usage list schema |
USAGELISTNAME | VARCHAR(128) | usage_list_name - Usage list name |
OBJECTSCHEMA | VARCHAR(128) | object_schema - Object schema |
OBJECTNAME | VARCHAR(128) | object_name - Object name |
OBJECTTYPE | CHAR(1) | Type of object. One of:
|
MEMBER | SMALLINT | member - Database member |
DATA_PARTITION_ID | INTEGER | data_partition_id - Data partition identifier |
STATE | CHAR(1) | usage_list_state - Usage list state |
LAST_STATE_CHANGE | TIMESTAMP | usage_list_last_state_change - Last state change |
LIST_SIZE | INTEGER | usage_list_size - Usage list size |
USED_ENTRIES | INTEGER | usage_list_used_entries - Usage list used entries |
LIST_MEM_SIZE | INTEGER | usage_list_mem_size - Usage list memory size |
WRAPPED | CHAR(1) | usage_list_wrapped - Usage list wrap indicator |