Note
This variable was introduced in V4.2.0.
Description
The runtime_filter_wait_time_ms variable specifies the maximum waiting time for runtime filters.
Privilege requirements
Query variables
Global level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or viewSYS.TENANT_VIRTUAL_GLOBAL_VARIABLE(Oracle mode) andinformation_schema.GLOBAL_VARIABLES(MySQL mode) to query the value of a global system variable.Session level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or viewSYS.TENANT_VIRTUAL_SESSION_VARIABLE(Oracle mode) andinformation_schema.SESSION_VARIABLES(MySQL mode) to query the value of a session system variable.
Modify variables
Set the variable at the global level
The
systenant can directly modify the value of a global system variable.MySQL user tenants must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.For V4.x, Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value of a global system variable, starting from V4.2.0.
Set the variable at the session level
The
systenant and all user tenants can directly modify the value of a session system variable in their own tenant.
Attributes
| Attribute | Description |
|---|---|
| Type | int |
| Default value | 10ms |
| Value range | [0, +∞) |
| Applicability |
|
| Modifiable | Yes. You can modify it by using the SET statement. |
Example
set runtime_filter_wait_time_ms = 100;
set global runtime_filter_wait_time_ms = 50;