oceanbase.DBA_OB_TENANT_JOBS

2023-12-08 07:13:36  Updated

Purpose

The oceanbase.DBA_OB_TENANT_JOBS view displays the tenant-level job information.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
JOB_ID bigint(20) NO The ID of the job.
JOB_TYPE varchar(128) NO The type of the job. Valid values:
  • ALTER_TENANT_LOCALITY: specifies to modify the locality of the tenant.
  • ROLLBACK_ALTER_TENANT_LOCALITY: specifies to roll back the locality of the tenant.
  • SHRINK_RESOURCE_TENANT_UNIT_NUM: specifies to reduce the number of units for the tenant
  • JOB_STATUS varchar(128) NO The status of the job. Valid values:
  • INPROGRESS: The job is ongoing.
  • SUCCESS: The job succeeded.
  • FAILED: The job failed.
  • RESULT_CODE bigint(20) YES The result code of the job.
    PROGRESS bigint(20) NO The progress of the job, in percentage. Value range: [0,100].
    START_TIME timestamp(6) YES The start time of the job.
    MODIFY_TIME timestamp(6) YES The last time when the job was modified.
    TENANT_ID bigint(20) YES The ID of the tenant.
    SQL_TEXT longtext YES The related SQL string.
    EXTRA_INFO varchar(512) YES The additional information.
    RS_SVR_IP varchar(46) NO The IP address of the RootService server.
    RS_SVR_PORT bigint(20) NO The port number of the RootService server.

    Contact Us