Overview
enable_asan_for_memory_context specifies whether to use ObAsanAllocator as the allocator for MemoryContext when ob_asan is enabled. The default is ObAllocator.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Bool |
| Default Value | False |
| Value range |
|
| Modifiable | Yes, you can use the following methods:ALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
When ob_asan is enabled, the ObAsanAllocator is not explicitly specified as the allocator for MemoryContext.
obclient> ALTER SYSTEM SET enable_asan_for_memory_context = False;