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 cannot be executed.
Privilege requirements
Query variables
systenants and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to view the value of Global system variables.Modify variables
systenants can directly modify the value of Global system variables.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the value of Global system variables.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value 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;