major_compact_trigger

2025-11-27 02:38:06  Updated

major_compact_trigger specifies the number of minor compactions that triggers a global major compaction.

Note

The default value is changed from 5 to 0 in OceanBase Database V4.0.0 and later.

Attribute Description
Type Integer
Default value 0
Value range [0, 65535]
Effective upon OBServer node restart No

If this parameter is set to 0, a major compaction is not triggered regardless of the number of minor compactions.

Contact Us