Note
For V4.1.0, this parameter is available starting with V4.1.0.
Description
tenant_sql_login_thread_count specifies the number of threads for SQL login requests of a MySQL-compatible tenant. This parameter specifies the number of mysql_queue threads.
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 | 0. This value indicates the value of min_cpu in the tenant unit. |
| Value range | [0, 32] |
| 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 number of threads for SQL login requests of a MySQL-compatible tenant to 2.
obclient> ALTER SYSTEM SET tenant_sql_login_thread_count= 2;
References
Set the number of threads for SQL login requests: sql_login_thread_count