Note
This parameter is available starting with V2.2.50.
Description
The location_refresh_thread_count parameter specifies the number of threads that an OBServer node uses to obtain partition location information from the Root Service.
Privilege requirements
Query the parameter
The
systenant and all user tenants can execute theSHOW PARAMETERSstatement or query theGV$OB_PARAMETERSview to obtain the value of 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
NoteThe default value of this parameter was changed from 4 to 2 in V4.2.0. |
| Valid values | [2, 64] |
| Modifiable | Yes. You can execute the ALTER SYSTEM SET statement to modify this parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Set the number of threads that an OBServer node uses to obtain partition location information from the Root Service to 2.
obclient> ALTER SYSTEM SET location_refresh_thread_count=2;