V$OB_COMPACTION_PROGRESS

2024-03-05 01:54:26  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 varchar(46) NO The IP address of the server.
SVR_PORT bigint(20) NO The port number of the server.
TENANT_ID bigint(20) NO The ID of the tenant.
TYPE varchar(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.
ZONE varchar(128) NO The zone.
COMPACTION_SCN bigint(20) unsigned NO The major compaction version.
STATUS varchar(10) NO The status information.
TOTAL_TABLET_CNT bigint(20) NO The total number of tablets.
UNFINISHED_TABLET_CNT bigint(20) NO The number of unfinished tablets.
DATA_SIZE bigint(20) NO The total amount of data to scan.
UNFINISHED_DATA_SIZE bigint(20) NO The amount of data to scan.
COMPRESSION_RATIO bigint(20) NO The compression ratio of the data that is written since the last major compaction version.
START_TIME timestamp(6) NO The start time.
ESTIMATED_FINISH_TIME timestamp(6) NO The estimated completion time. If COMPACTION_PROGRESS is displayed as 100, the compaction end time is displayed.
COMMENTS varchar(256) NO The comments. When the major compaction is in progress, the latest compaction event is recorded. If the major compaction has ended, the total time consumed is recorded.

Contact Us