Note
In OceanBase Database V4.x, the corresponding logic is changed, and the corresponding feature is no longer available. This parameter has been deprecated since OceanBase Database V4.0.0.
Description
enable_one_phase_commit specifies whether to enable one-phase commit.
Attributes
| Attribute | Description |
|---|---|
| Type | Boolean |
| Default value | False |
| 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
Enable one-phase commit.
obclient> ALTER SYSTEM SET enable_one_phase_commit = True;