Note
This variable is introduced since OceanBase Database V2.2.77.
Description
ob_trx_timeout specifies the transaction timeout duration.
Attributes
| Attribute | Description |
|---|---|
| Type | INT |
| Default value | 86400000000. The unit is microsecond.
NoteThe default value is changed from 100000000 to 86400000000 since OceanBase Database V4.0.0. |
| Value range | NULL |
| Applicable scope |
|
| Modifiable | Yes. It can be modified using the SET statement. |
| Involved in serialization | Yes |
Examples
Session level
obclient> SET ob_trx_timeout=100000000;Global level
obclient> SET GLOBAL ob_trx_timeout=100000000;