Overview
audit_log_buffer_size specifies the buffer size for asynchronous log writing.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Both the
systenant and user tenants can use theALTER SYSTEM SETstatement to modify this parameter.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | Capacity |
| Default Value | 16M |
| Value range | [16M, 256M] |
| 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. |
Usage instructions
When audit logs are written asynchronously, worker threads request memory from a buffer and place it into the I/O queue. This parameter controls the size of the buffer.
Configuration example
Set the buffer size for asynchronous log writing to 16 MB.
obclient> ALTER SYSTEM SET audit_log_buffer_size='16M';