Note
This view is available starting with V4.1.0.
Purpose
This view is accessible only to the sys tenant. The DBA_OB_CLUSTER_EVENT_HISTORY view displays important cluster-level events. Currently, it only supports displaying events related to cluster upgrades.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TIMESTAMP | timestamp(6) | NO | The creation time. |
| MODULE | varchar(256) | NO | The module name. |
| EVENT | varchar(256) | NO | The event name. |
| NAME1 | varchar(256) | NO | The name of the first event attribute. |
| VALUE1 | text | NO | The value of the first event attribute. |
| NAME2 | varchar(256) | NO | The name of the second event attribute. |
| VALUE2 | text | NO | The value of the second event attribute. |
| NAME3 | varchar(256) | NO | The name of the third event attribute. |
| VALUE3 | text | NO | The value of the third event attribute. |
| NAME4 | varchar(256) | NO | The name of the fourth event attribute. |
| VALUE4 | text | NO | The value of the fourth event attribute. |
| NAME5 | varchar(256) | NO | The name of the fifth event attribute. |
| VALUE5 | text | NO | The value of the fifth event attribute. |
| NAME6 | varchar(256) | NO | The name of the sixth event attribute. |
| VALUE6 | text | NO | The value of the sixth event attribute. |
| EXTRA_INFO | text | NO | Additional information. |
Sample query
Query important cluster-level events.
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)