The HEALTH_DB_INFO table function returns information from a health snapshot of a database.
If the null value is specified, -1 is set implicitly.
EXECUTE privilege on the HEALTH_DB_INFO table function.
SELECT * FROM TABLE(HEALTH_DB_INFO('',-1)) AS T
SNAPSHOT_TIMESTAMP DB_NAME INPUT_DB_ALIAS ...
-------------------------- -------...- ---------------...- ...
2006-02-13-12.30.23.340081 SAMPLE SAMPLE ...
1 record(s) selected.
... DB_PATH DB_LOCATION SERVER_PLATFORM ...
... ------------------------...- ----------- --------------- ...
... D:\DB2\NODE0000\SQL00003\ 1 5 ...
... ROLLED_UP_ALERT_STATE ROLLED_UP_ALERT_STATE_DETAIL
... --------------------- ----------------------------
... 4 Alarm
Column name | Data type | Description or corresponding monitor element |
---|---|---|
SNAPSHOT_TIMESTAMP | TIMESTAMP | snapshot_timestamp - Snapshot timestamp |
DB_NAME | VARCHAR(128) | db_name - Database name |
INPUT_DB_ALIAS | VARCHAR(128) | input_db_alias - Input database alias |
DB_PATH | VARCHAR(1024) | db_path - Database path |
DB_LOCATION | INTEGER | db_location - Database location |
SERVER_PLATFORM | INTEGER | server_platform - Server operating system |
ROLLED_UP_ALERT_STATE | BIGINT | The most severe alert state captured by this snapshot. |
ROLLED_UP_ALERT_ |
VARCHAR(20) | The text description of the ROLLED_UP_ALERT_STATE column. |