oceanbase.CDB_OB_MAJOR_COMPACTION

2023-12-08 07:13:36  Updated

Purpose

The oceanbase.CDB_OB_MAJOR_COMPACTION view displays the global major compaction information about all tenants in the sys tenant.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
TENANT_ID bigint(20) NO The ID of the tenant.
FROZEN_SCN bigint(20) unsigned NO The version number of the last major compaction.
FROZEN_TIME timestamp(6) NO The time when the last major compaction was initiated. The value of FROZEN_SCN is displayed in an intelligible format.
GLOBAL_BROADCAST_SCN bigint(20) unsigned NO The major compaction version that is globally broadcast.
LAST_SCN bigint(20) unsigned NO The last version of major compaction.
LAST_FINISH_TIME timestamp(6) NO The time when the last major compaction was completed.
START_TIME timestamp(6) NO The time when the major compaction started.
STATUS varchar(10) NO
  • IDLE: not in major compaction
  • COMPACTION: in major compaction
  • CHECKSUM: checksum checking
  • IS_ERROR varchar(3) NO
  • YES: An error occurred during the major compaction.
  • NO: No error occurred during the major compaction.
  • IS_SUSPENDED varchar(3) NO
  • YES: The major compaction was suspended.
  • NO: The major compaction was not suspended.
  • INFO varchar(14) NO The major compaction information. For example, the reason for the major compaction failure.

    Contact Us