Note
This parameter is available starting with V2.2.77.
Description
location_cache_refresh_rpc_timeout specifies the timeout period for RPC calls to refresh the location_cache.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query the parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify the parameter. User tenants cannot modify the parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 500ms |
| Value range | [1ms, +∞) |
| 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 timeout period for RPC calls to refresh the location_cache to 500ms.
obclient> ALTER SYSTEM SET location_cache_refresh_rpc_timeout ='500ms';