Note
This view is available starting with V4.0.0.
Purpose
This view displays the event history of an OBServer node.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TIMESTAMP | timestamp(6) | NO | The time when the event occurred. |
| SVR_IP | varchar(46) | NO | The IP address of the event location. |
| SVR_PORT | bigint(20) | NO | The port of the event location. |
| MODULE | varchar(64) | NO | The name of the module to which the event belongs. |
| EVENT | varchar(64) | NO | The name of the event. |
| NAME1 | varchar(256) | YES | The name of the first event attribute. |
| VALUE1 | varchar(256) | YES | The value of the first event attribute. |
| NAME2 | varchar(256) | YES | The name of the second event attribute. |
| VALUE2 | longtext | YES | The value of the second event attribute. |
| NAME3 | varchar(256) | YES | The name of the third event attribute. |
| VALUE3 | varchar(256) | YES | The value of the third event attribute. |
| NAME4 | varchar(256) | YES | The name of the fourth event attribute. |
| VALUE4 | varchar(256) | YES | The value of the fourth event attribute. |
| NAME5 | varchar(256) | YES | The name of the fifth event attribute. |
| VALUE5 | varchar(256) | YES | The value of the fifth event attribute. |
| NAME6 | varchar(256) | YES | The name of the sixth event attribute. |
| VALUE6 | varchar(256) | YES | The value of the sixth event attribute. |
| EXTRA_INFO | varchar(512) | YES | Additional information. |
Sample query
Query the DDL events on an OBServer node in the sys tenant and display the first record.
The query result is as follows:
*************************** 1. row ***************************
TIMESTAMP: 2025-03-14 10:55:58.834758
SVR_IP: 172.xx.xxx.xxx
SVR_PORT: 2882
MODULE: ddl
EVENT: ddl table dump task
NAME1: tenant_id
VALUE1: 1004
NAME2: ret
VALUE2: -4023
NAME3: trace_id
VALUE3: YB4**********************************
NAME4: tablet_id
VALUE4: {id:1152921504606846983}
NAME5: freeze_scn
VALUE5: {val:1741920958829434000, v:0}
NAME6: ls_id
VALUE6: {id:1001}
EXTRA_INFO:
1 row in set