Note
This parameter is available starting with V1.4.
Description
weak_read_version_refresh_interval specifies the refresh cycle of the weak-consistency read version number, which affects the delay of weak-consistency read data.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 100ms
NoteStarting from V4.0.0, the default value of this parameter is changed from 50ms to 100ms. |
| Value range | [50ms, +∞)
NoteStarting from V4.0.0, the value range of this parameter is changed from [0ms, +∞) to [50ms, +∞). |
| 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 refresh cycle of the weak-consistency read version number to 100ms.
obclient> ALTER SYSTEM SET weak_read_version_refresh_interval ='100ms';