Overview
query_response_time_range_base specifies the time interval base for calculating query response time statistics in the information_schema.QUERY_RESPONSE_TIME view.
Note
Changes to this variable take effect only after a refresh.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 10 |
| Value range | [2, 10000) |
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the time interval cardinality for counting query response time in the information_schema.QUERY_RESPONSE_TIME view to 10.
obclient> ALTER SYSTEM SET query_response_time_range_base=10;