Overview
sql_throttle_network specifies the request queuing time. If the request queuing time is greater than or equal to this value, the query is not allowed to be executed.
Privilege requirements
Query variables
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Modify variables
The
systenant can directly modify the values of global system variables.The user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Numeric |
| Default Value | -1 |
| Value range | System load, in us |
| Effective Scope | Global |
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Specify the request queue time to be 1,000,000 μs.
obclient> SET GLOBAL sql_throttle_network = 1000000;