Overview
autoinc_cache_refresh_interval specifies the refresh interval for the auto-increment column cache.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can execute theSHOW PARAMETERSstatement to query this parameter.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Time |
| Default Value | 3600s |
| Value range | [100ms, +∞) |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the cache refresh interval for auto-increment columns to 3600s.
obclient> ALTER SYSTEM SET autoinc_cache_refresh_interval ='3600s';