Note
This parameter is available starting with V1.4.
Description
trx_2pc_retry_interval specifies the interval at which the system automatically retries a two-phase commit after it fails.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.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 interval at which the system automatically retries a two-phase commit after it fails to 100 ms.
obclient> ALTER SYSTEM SET trx_2pc_retry_interval = '100ms';
