Note
This parameter is available starting with V4.0.0.
Description
query_response_time_range_base specifies the base value of the time interval for statistics in the information_schema.QUERY_RESPONSE_TIME view.
Note
The changes to this variable take effect only after a refresh.
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
The
systenant and user tenants can modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Int |
| Default value | 10 |
| Value range | [2, 10000) |
| 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 base value of the time interval for statistics in the information_schema.QUERY_RESPONSE_TIME view to 10.
obclient> ALTER SYSTEM SET query_response_time_range_base=10;