Note
For V4.5.0, this parameter is available starting with V4.5.0.
Description
model_max_retries specifies the maximum number of retries for accessing a large model. This parameter takes effect on search requests for semantic indexes.
Applicability
This parameter is applicable only to OceanBase Database in MySQL mode.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 2 |
| Value range | [1, +∞) |
| 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 the maximum number of retries for accessing a large model to 3.
obclient> ALTER SYSTEM SET model_max_retries = 3;
