Purpose
The V$OB_OPT_STAT_GATHER_MONITOR view displays the real-time status of statistics collection tasks.
Note
This view is introduced since OceanBase Database V4.2.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| TENANT_ID | NUMBER | NO | The ID of the tenant to which the collection task belongs. |
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server where the collection task resides. |
| SVR_PORT | NUMBER | NO | The port of the server where the collection task resides. |
| SESSION_ID | NUMBER | NO | The ID of the session to which the collection task belongs. |
| TRACE_ID | VARCHAR2(64) | NO | The ID of the trace to which the collection task belongs. |
| TASK_ID | VARCHAR2(36) | NO | The ID of the collection task, which is generated based on the universally unique identifier (UUID) and is globally unique. |
| TYPE | VARCHAR2(16) | NO | The type of the collection task. |
| TASK_START_TIME | TIMESTAMP(6) | NO | The start time of the collection task. |
| TASK_DURATION_TIME | NUMBER | NO | The duration of the collection task, in microseconds. |
| TASK_TABLE_COUNT | NUMBER | NO | The number of tables whose statistics need to be collected by the collection task. |
| COMPLETED_TABLE_COUNT | NUMBER | NO | The number of tables whose statistics have been collected by the collection task. |
| RUNNING_TABLE_OWNER | VARCHAR2(128) | NO | The username of the owner of the table whose statistics are being collected by the collection task. |
| RUNNING_TABLE_NAME | VARCHAR2(256) | NO | The name of the table whose statistics are being collected by the collection task. |
| RUNNING_TABLE_DURATION_TIME | VARCHAR2(256) | NO | The duration that has been taken by the collection task to collect statistics of the table. |