Note
For V3.2.1, this parameter is available starting with V3.2.1.
Description
job_queue_processes specifies the maximum number of concurrent tasks that can be executed for each tenant. This parameter is used to control the resource usage of tasks.
Applicability
This variable is applicable only to OceanBase Database in Oracle-compatible mode.
Privilege requirements
Query the parameter
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 1000 |
| Value range | [0, 16384]
Note
|
| 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 maximum number of concurrent tasks that can be executed for a tenant to 1000.
obclient> ALTER SYSTEM SET job_queue_processes=1000;