Note
This variable is available starting with V4.2.0.
Description
runtime_bloom_filter_max_size specifies the maximum memory size of the Runtime Bloom Filter, in bytes.
Privilege requirements
Query variables
Global level
The
systenant 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 view the value of a global system variable.Session level
The
systenant 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 view the value of a session system variable.
Modify variables
Global level
The
systenant can modify the value of a global system variable.A MySQL user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.An Oracle user tenant must have the
ALTER SYSTEMprivilege to modify the value of a global system variable.
Session level
The
systenant and all user tenants can modify the value of a session system variable.
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 of 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;
