Note
For V4.5.x, this parameter is available starting with V4.5.0.
Description
load_vector_index_on_follower specifies whether to automatically load the vector index to memory for follower nodes. This parameter applies to follower nodes in the primary cluster and leader and follower nodes in the standby cluster. If this parameter is set to false, the vector index is not automatically loaded to memory for the specified nodes. Note that this parameter is not synchronized to the standby cluster. In a primary/standby cluster scenario, you must separately set this parameter for the primary and standby clusters.
Privilege requirements
Query the parameter
You can use the
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter in thesystenant and all user tenants.Modify the parameter
You can modify this parameter in the
systenant and user tenants.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Bool |
| Default value | true |
| Value range | true/false |
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set this parameter to true to automatically load the vector index to memory for follower nodes.
ALTER SYSTEM SET load_vector_index_on_follower = true;
