Note
-
For V4.3.x, this parameter is available starting with V4.3.5 BP3.
vector_index_memory_saving_mode specifies whether to enable the memory-saving mode for vector indexes. Enabling this mode significantly reduces memory consumption during the rebuild of vector indexes in partitioned tables. In environments with limited memory resources, this mode allows index rebuilds to succeed with less memory, avoiding failures due to insufficient memory.
Privilege requirements
Query the parameter
Both the
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Both the
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | true |
| Value range | true/false |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify this parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set this parameter to true to reduce the memory required during the rebuild of vector indexes in partitioned tables.
ALTER SYSTEM SET vector_index_memory_saving_mode = true;