This topic introduces how a minor compaction is automatically triggered.
When a tenant is created, the memory size is specified and divided into dynamically scalable and non-scalable memory. The non-scalable memory is primarily used by the MemStore for storing incremental database updates. If a tenant's active MemStore memory usage reaches freeze_trigger_percentage * memstore_limit (where memstore_limit = tenant memory * memstore_limit_percentage), a freeze (the preparation for a minor compaction) is automatically triggered, and the system schedules a minor compaction internally. An automatic major compaction is triggered when specific conditions are met. For more details on automatic minor compaction triggering, , see Automatically trigger a major compaction.
For more information about the memstore_limit_percentage and freeze_trigger_percentage parameters, see Modify minor compaction settings.