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 since OceanBase Database V4.0.0.
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0, 65535] |
| Effective upon OBServer node restart | No |
If major_compact_trigger is set to 0, a major compaction is not triggered regardless of the number of minor compactions.