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 microseconds
NoteThe default value of this variable has been changed from |
| Value range | NULL |
| Effective scope |
|
| Modifiable | Yes. You can use the SET statement to modify the variable. |
| Involved in serialization | Yes |
Examples
Set the variable at the session level
obclient> SET ob_trx_timeout=100000000;Set the variable at the global level
obclient> SET GLOBAL ob_trx_timeout=100000000;