Note
This parameter is available starting with V3.2.4.
Description
sql_login_thread_count specifies the number of threads for processing SQL login requests.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0, which indicates that the default value is used. In mini-mode, the default value is 2 threads, and in normal mode, the default value is 6 threads. |
| 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 processing SQL login requests to 0.
obclient> ALTER SYSTEM SET sql_login_thread_count = 0;
References
Set the number of mysql_queue threads: tenant_sql_login_thread_count