V$OB_COMPACTION_PROGRESS

2023-12-25 08:49:41  Updated

Purpose

The V$OB_COMPACTION_PROGRESS view displays the server-level compaction progress of a tenant.

Note

This view is introduced since OceanBase Database V4.0.0.

Columns

Column Type Nullable? Description
SVR_IP VARCHAR2(46) NO The IP address of the server.
SVR_PORT NUMBER(38) NO The port number of the server.
TENANT_ID NUMBER(38) NO The ID of the tenant.
TYPE VARCHAR2(64) NO The compaction type. Valid values:
  • MINI: minor or L0 compaction that converts MemTables into SSTables.
  • MAJOR: major compaction.
  • MINI MINOR: L1 compaction that combines multiple mini SSTables into one.
  • BUF MINOR: buffer minor compaction that generates special buffer minor SSTables.
  • ZONE VARCHAR2(128) NO The zone.
    VERSION NUMBER(38) NO The major compaction version.
    STATUS VARCHAR2(15) NO The status information.
    TOTAL_TABLET_COUNT NUMBER(38) NO The total number of tablets.
    UNFINISHED_TABLET_COUNT NUMBER(38) NO The number of uncompleted tablets.
    DATA_SIZE NUMBER(38) NO The total amount of data to scan.
    UNFINISHED_DATA_SIZE NUMBER(38) NO The amount of data to scan.
    COMPRESSION_RATIO NUMBER(38) NO The compression ratio of the data that is written since the last major compaction version.
    START_TIME TIMESTAMP(6) WITH LOCAL TIME ZONE NO The start time.
    ESTIMATED_FINISH_TIME TIMESTAMP(6) WITH LOCAL TIME ZONE NO The estimated completion time. If COMPACTION_PROGRESS is displayed as 100, the compaction end time is displayed.

    Contact Us