Note
This variable was introduced in OceanBase Database V1.4.
Description
auto_increment_cache_size specifies the number of cached auto-increment values.
Attributes
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 1000000 |
| Value range | [1, 100000000] |
| Effective scope | Global |
| Modifiable | Yes. You can use the SET statement to modify the variable. |
Example
obclient> SET GLOBAL auto_increment_cache_size = 1000000;