major_compact_trigger specifies the number of minor compactions for triggering a major compaction.
Note
The default value is changed from 5 to 0 since OceanBase Database V4.0.0.
| Parameter | Description |
|---|---|
| Type | Integer |
| Default value | 0 |
| Value range | [0, 65535] |
| Effective upon restart of OBServer node | No |
When the value of the major_compact_trigger parameter is set to 0, no major compaction is triggered regardless of the number of minor compactions.