Note
This parameter is available starting with V1.4.
Description
autoinc_cache_refresh_interval specifies the interval at which the cache for an auto-increment column is refreshed.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 3600s |
| Value range | [100ms, +∞) |
| 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 auto-increment column cache refresh interval to 3600s.
obclient> ALTER SYSTEM SET autoinc_cache_refresh_interval ='3600s';