Note
This variable was introduced in V4.2.0.
Description
The runtime_bloom_filter_max_size variable specifies the maximum memory usage of the Runtime Bloom Filter, in bytes.
Privilege requirements
Query variables
Global level
Users in the
systenant and all user tenants can execute theSHOW VARIABLESstatement or view theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (in Oracle mode) and theinformation_schema.GLOBAL_VARIABLESview (in MySQL mode) to query the values of global system variables.Session level
Users in the
systenant and all user tenants can execute theSHOW VARIABLESstatement or view theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (in Oracle mode) and theinformation_schema.SESSION_VARIABLESview (in MySQL mode) to query the values of session system variables.
Modify variables
Set the variable at the global level
Users in the
systenant can directly modify the value of a global system variable.MySQL users in a user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.Oracle users in a user tenant of V4.x 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
Users in 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 | 2147483648 |
| Value range | [0,9223372036854775807 ] |
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify it. |
Examples
set runtime_bloom_filter_max_size = 2 * 1024 * 1024 * 1024;
set global runtime_bloom_filter_max_size = 20 * 1024 * 1024;