global_major_freeze_residual_memory specifies the remaining memory for triggering a global freeze. When the available memory is less than this threshold, a global freeze is triggered.
Note
This parameter is deprecated since OceanBase Database V4.0.0.
| Parameter | Description |
|---|---|
| Type | Integer |
| Default value | 40 |
| Value range | [1, 99] |
| Effective upon restart of OBServer node | No |
The value of global_major_freeze_residual_memory is in percentage with memory_limit - system_memory serving as the base. To be specific, the base is the total memory minus the memory reserved for the internal SYS500 tenant. After the data of a frozen MemStore is merged, the occupied memory can be released. Therefore, the memory occupied by the frozen MemStore is considered as memory available for the active MemStore, and the memory that the blockcache can occupy is also considered as memory available to the MemStore.
Notice
The value of global_major_freeze_residual_memory must be greater than the value of global_write_halt_residual_memory. Otherwise, the global freeze trigger will not take effect, and a global freeze can be triggered only by tenants.