Note
This parameter is available starting with V4.0.0.
Description
default_auto_increment_mode specifies the default auto-increment mode for auto-increment columns.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | order |
| Value range |
|
| 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 default auto-increment mode for auto-increment columns to order.
obclient> ALTER SYSTEM SET default_auto_increment_mode = 'order';