Overview
runtime_bloom_filter_max_size specifies the maximum memory size for the runtime bloom filter, in bytes.
Privilege requirements
Query variables
Global level
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.GLOBAL_VARIABLESview to view the values of global system variables.Session level
Both the
systenant and all user tenants can use theSHOW VARIABLESstatement and theinformation_schema.SESSION_VARIABLESview to view the values of session system variables.
Modify variables
Global effective
The
systenant can directly modify the values of global system variables.The user tenant must have the
SUPERorALTER SYSTEMprivilege to modify the value of a global system variable.
Session expiration
The
systenant and all user tenants can directly modify the values of session system variables for their own tenants.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Int |
| Default Value | 2147483648 |
| Value range | [0,9223372036854775807 ] |
| Effective Scope |
|
| Modifiable | Yes, you can use theSETStatement modification. |
Configuration example
Set the maximum memory for the Runtime Bloom Filter to 2 GB.
Session Validity Period
obclient> SET runtime_bloom_filter_max_size = 2 * 1024 * 1024 * 1024;Effective globally
obclient> SET GLOBAL runtime_bloom_filter_max_size = 20 * 1024 * 1024;