Overview
sql_login_thread_count specifies the number of threads for processing SQL login requests.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 0 indicates to use the default value. Inmini-modeThe default value is 2 threads in the TEST mode and 6 threads in the NORMAL mode. |
| 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 processing SQL login requests to the default value.
obclient> ALTER SYSTEM SET sql_login_thread_count = 0;
References
Set the number of mysql_queue threads: tenant_sql_login_thread_count