Note
This variable is available starting with V2.1.
Description
sql_throttle_rt specifies the RT value in microseconds. If the query's RT value is not less than this value, the query is not allowed to execute.
Privilege requirements
Query variables
systenants and all user tenants can use theSHOW VARIABLESstatement or theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to view the values of global system variables.Modify variables
systenants can directly modify the values of global system variables.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the values of global system variables.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the values of global system variables.
Attributes
| Attribute | Description |
|---|---|
| Type | Numeric |
| Default value | -1 |
| Value range | No value range. It is related to the actual business load. |
| Scope | Global |
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Specify the query's RT value as 100 us.
obclient> SET GLOBAL sql_throttle_rt = 100;