Function Description
minor_compact_trigger is used to configure the threshold for the number of SSTables that triggers a dump (Minor Compaction). When the total number of Mini SSTables and Minor SSTables reaches the value specified by the configuration item minor_compact_trigger, the system background will attempt to trigger a Minor Compaction.
Permission Requirements
Query configuration items
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this configuration item.Modify configuration items
Both the
systenant and user tenants can modify this configuration item.
Attribute Description
| Attribute | Description |
|---|---|
| Parameter Type | Int |
| Default value | 2 |
| Value range | [0, 16] |
| Whether it is modifiable | Yes, it can be modified using the ALTER SYSTEM SET statement. |
| Whether to restart the OBServer node to take effect | No |
Configuration Example
Set to trigger Minor Compaction when the total number of Mini SSTables and Minor SSTables reaches 10.
obclient> ALTER SYSTEM SET minor_compact_trigger = 10;
Related Documents
For a detailed introduction to Minor Compaction, see Dump.