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 latency of weak consistency read data.
Privilege requirements
Query the parameter
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 | Time |
| Default value | 100ms
NoteFor V4.0.0, the default value is changed from 50ms to 100ms. |
| Value range | [50ms, +∞)
NoteFor V4.0.0, the value range 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';