Note
This parameter is available starting with V4.4.1.
Description
load_vector_index_on_follower specifies whether to automatically load vector indexes to memory for follower nodes. Here, follower nodes include the follower nodes in the primary cluster and the leader and follower nodes in the standby cluster. If you set this parameter to false, the vector indexes are not automatically loaded to memory for the follower nodes. Note that this parameter is not synchronized to the standby cluster. In a primary-standby cluster deployment, you must set this parameter for the primary cluster and the standby cluster separately.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
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 the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set this parameter to true to enable automatic synchronization of vector indexes to memory for follower nodes.
ALTER SYSTEM SET load_vector_index_on_follower = true;