Overview
runtime_filter_wait_time_ms specifies the maximum wait time for a runtime filter.
Privilege requirements
Query variables
Global level
The
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Session level
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.SESSION_VARIABLESview to view the values of session system variables.
Modify variables
Global effective
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.
Session expiration
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 10, in milliseconds |
| Value range | [0, +∞), with a value of0Indicates that the system will adaptively calculate the amount of time required to wait for the runtime filter based on the data volume. |
| Effective Scope |
|
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Set the maximum wait time for the runtime filter to 100 ms.
Session expiration
obclient> SET runtime_filter_wait_time_ms = 100;Effective globally
obclient> SET GLOBAL runtime_filter_wait_time_ms = 100;