Note
This variable is available starting with V4.2.0.
Description
runtime_bloom_filter_max_size specifies the maximum memory size used by the Runtime Bloom Filter, in bytes.
Privilege requirements
Query variables
Global level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle-compatible mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL-compatible mode) to view the value of a global system variable.Session level
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle-compatible mode) or theinformation_schema.SESSION_VARIABLESview (MySQL-compatible mode) to view the value of a session system variable.
Modify variables
Global level
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.Oracle user tenants must have the
ALTER SYSTEMprivilege to modify the value of a global system variable.
Session level
systenant and all user tenants can directly modify the value of a session system variable.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Int |
| Default value | 2147483648 |
| Value range | [0,9223372036854775807 ] |
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Set the maximum memory size used by the Runtime Bloom Filter to 2 GB.
Session level
obclient> SET runtime_bloom_filter_max_size = 2 * 1024 * 1024 * 1024;Global level
obclient> SET GLOBAL runtime_bloom_filter_max_size = 20 * 1024 * 1024;