Note
For V3.2.4, this parameter is available starting with V3.2.4.
Description
sql_login_thread_count specifies the number of threads for handling SQL login requests.
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
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 mode, the default value is 2 threads. 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 handling SQL login requests to the default value.
obclient> ALTER SYSTEM SET sql_login_thread_count = 0;
References
Set the number of threads for the mysql_queue queue: tenant_sql_login_thread_count