Note
This parameter is available starting with V1.4.
Description
trx_2pc_retry_interval specifies the time interval for automatic retries when two-phase commit fails.
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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Time |
| Default value | 100ms |
| Value range | [1ms, 5000ms] |
| 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 time interval for automatic retries when two-phase commit fails to 100ms.
obclient> ALTER SYSTEM SET trx_2pc_retry_interval = '100ms';