Note
This variable is introduced since OceanBase Database V2.2.77.
Description
ob_query_timeout specifies the maximum execution duration allowed for an SQL query.
Attributes
| Attribute | Description |
|---|---|
| Type | INT |
| Default value | 10000000. The unit is microsecond. |
| Value range | [0, 3216672000000000] |
| Applicable scope |
|
| Modifiable | Yes. It can be modified using the SET statement. |
Examples
Session level
obclient> SET ob_query_timeout = 20000000;Global level
obclient> SET GLOBAL ob_query_timeout = 20000000;