Note
This variable was introduced in OceanBase Database V2.2.77.
Description
ob_trx_timeout specifies the transaction timeout period.
Attributes
| Attribute | Description |
|---|---|
| Type | Integer |
| Default value | 86400000000, in μs.
NoteIn OceanBase Database V4.0.0 and later, the default value of this variable is changed from |
| Value range | NULL |
| Effective scope |
|
| Modifiable | Yes. You can use the SET statement to modify the variable. |
| Involved in serialization | Yes |
Examples
Session-level operation
obclient> SET ob_trx_timeout=100000000;Global-level operation
obclient> SET GLOBAL ob_trx_timeout=100000000;