Note
For V2.2.30, this parameter is available starting with V2.2.30.
Description
location_refresh_thread_count specifies the number of threads for OBServer nodes to obtain partition location information from the Root Service.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 2
NoteFor V4.2.0, the default value is changed from 4 to 2. |
| Value range | [2, 64] |
| 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 number of threads for OBServer nodes to obtain partition location information from the Root Service to 2.
obclient> ALTER SYSTEM SET location_refresh_thread_count=2;