Note
For V4.0.0, this parameter is available starting with V4.0.0.
Description
enable_asan_for_memory_context specifies whether to use ObAsanAllocator as the MemoryContext allocator when ob_asan is enabled. By default, ObAllocator is used.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | False |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
When ob_asan is enabled, do not specify to use ObAsanAllocator as the MemoryContext allocator.
obclient> ALTER SYSTEM SET enable_asan_for_memory_context = False;