Note
For V4.1.0, this parameter is available starting with V4.1.0.
Description
sql_net_thread_count specifies the number of I/O threads for MySQL clusters, that is, the number of global_sql_nio_server 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
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 0 |
| Value range | [0, 64] |
| 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. |
Considerations
When this parameter is set to 0, the value is the same as that of the net_thread_count parameter.
Examples
Set the number of global_sql_nio_server threads to 2.
obclient> ALTER SYSTEM SET sql_net_thread_count = 2;
References
Set the number of sql_nio_server threads: tenant_sql_net_thread_count
