minor_compact_trigger specifies the threshold for triggering the next-level compaction in hierarchical minor compactions. When the total number of mini SSTables in the current level reaches this threshold, all SSTables are compacted to the next level to form a new minor SSTable.
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 2 |
| Value range | [0, 16] |
| Effective upon restart of OBServer node | No |
When the value of the minor_compact_trigger parameter is set to 0, OceanBase Database still performs layered minor compactions. A minor compaction is performed for the MemTable to generate a mini SSTable. Then, a pushdown major compaction is immediately scheduled to generate a new minor SSTable to replace the original minor SSTable.