Overview
Accessed only by the system tenant, the DBA_OB_CLUSTER_EVENT_HISTORY view displays important cluster-level events. Currently, it only supports displaying cluster upgrade-related events.
Columns
Field Name |
Type |
Whether can be NULL |
Description |
|---|---|---|---|
| TIMESTAMP | timestamp(6) | NO | Creation Time |
| MODULE | varchar(256) | NO | Module Name |
| EVENT | varchar(256) | NO | Event Name |
| NAME1 | varchar(256) | NO | Name of the first event attribute |
| VALUE1 | text | NO | Value of the first event attribute |
| NAME2 | varchar(256) | NO | Name of the Second Event Attribute |
| VALUE2 | text | NO | Value of the Second Event Attribute |
| NAME3 | varchar(256) | NO | Name of the third event attribute |
| VALUE3 | text | NO | Value of the third event attribute |
| NAME4 | varchar(256) | NO | Name of the Fourth Event Attribute |
| VALUE4 | text | NO | Value of the Fourth Event Attribute |
| NAME5 | varchar(256) | NO | The fifth event attribute name. |
| VALUE5 | text | NO | Value of the fifth event attribute |
| NAME6 | varchar(256) | NO | Name of the sixth event attribute |
| VALUE6 | text | NO | Value of the sixth event attribute |
| EXTRA_INFO | text | NO | More information |
Sample query
Query important events at the cluster level.
obclient [oceanbase]> SELECT * FROM oceanbase.DBA_OB_CLUSTER_EVENT_HISTORY \G
The query result is as follows:
*************************** 1. row ***************************
TIMESTAMP: 2024-05-08 14:20:48.508912
MODULE: BOOTSTRAP
EVENT: BOOTSTRAP_SUCCESS
NAME1: cluster_version
VALUE1: 4.3.1.0
NAME2: build_version
VALUE2: 4.3.1.0_100000172024050810-fa1385d2910f990a8bb646c53ac03e2529d1bab8(May 8 2024 10:41:26)
NAME3:
VALUE3:
NAME4:
VALUE4:
NAME5:
VALUE5:
NAME6:
VALUE6:
EXTRA_INFO:
1 row in set (0.030 sec)