Overview
tenant_sql_login_thread_count specifies the number of threads for user tenant login, which is also the number of mysql_queue threads.
Privilege requirements
Query parameters
The
SHOW PARAMETERSstatement or theGV$OB_PARAMETERSview can be used by thesystenant and all user tenants to query this parameter.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 0 indicates to take from the tenant unit.min_cpuThe value of . |
| Value range | [0, 32] |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the number of threads for user tenant login to 2.
obclient> ALTER SYSTEM SET tenant_sql_login_thread_count= 2;
References
Set the number of threads for processing SQL login requests: sql_login_thread_count