Note
This variable is avaiable starting with V1.4.
Description
ob_bnl_join_cache_size specifies the amount of data that is cached during each Batch Nested Loop Join (BNLJ) operation.
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 obtain the values of global system variables.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 obtain the values of session variables.
Modify variables
Global level
The
systenant can directly modify the values of global system variables.In MySQL mode, MySQL user tenants can modify the values of global system variables if they have the
SUPERorALTER SYSTEMprivilege.In Oracle mode, Oracle user tenants can modify the values of global system variables if they have the
ALTER SYSTEMprivilege.
Session level
The
systenant and all user tenants can directly modify the values of session variables.
Attributes
| Attribute | Description |
|---|---|
| Parameter type | Int |
| Default value | 10485760 |
| Value range | [1, 9223372036854775807] |
| Scope |
|
| Modifiable | Yes. You can execute the SET statement to modify the value. |
Examples
Configure the amount of data that is cached during each Batch Nested Loop Join (BNLJ) operation to 10485760.
Global level
obclient> SET GLOBAL ob_bnl_join_cache_size=10485760;Session level
obclient> SET ob_bnl_join_cache_size=10485760;