Note
This variable is available starting with V4.2.0.
Description
runtime_bloom_filter_max_size specifies the maximum memory size used by a runtime Bloom filter, in bytes.
Privilege requirements
Query variables
Global level
systenants and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) or theinformation_schema.GLOBAL_VARIABLESview (MySQL mode) to obtain the value of a global system variable.Session level
systenants and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) or theinformation_schema.SESSION_VARIABLESview (MySQL mode) to obtain the value of a session system variable.
Modify variables
Global level
systenants 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
systenants 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 the value. |
Examples
Set the maximum memory size used by a 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;