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 run in a tenant. This parameter is used to control the resource usage of tasks in a tenant.
Applicability
This variable is applicable to OceanBase Database in Oracle mode.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
The
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 run in a tenant to 1000.
obclient> ALTER SYSTEM SET job_queue_processes=1000;
