Note
Due to low usage of this parameter, it has been removed starting from V4.0.0.
Description
global_major_freeze_residual_memory specifies the threshold for triggering a global major freeze. When the remaining memory is less than this percentage, a global major freeze is triggered.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 40 |
| Value range | [1, 99] |
| Effective upon OBServer node restart | No |
Considerations
global_major_freeze_residual_memory is a percentage. The base for the percentage is memory_limit - system_memory, which excludes the memory reserved for the internal 500 tenant of OceanBase Database. After a MemStore is frozen, it can be released after a major compaction. Therefore, the memory occupied by the frozen MemStore is considered as available memory for active_memstore, and the memory that can be occupied by blockcache is also considered as available memory for MemStore.
Notice
The value of global_major_freeze_residual_memory must be greater than that of global_write_halt_residual_memory. Otherwise, the global freeze trigger will not take effect, and only tenant-level triggers will be used.
