Note
For V4.4.x, MySQL-compatible mode is available starting with V4.4.2 BP1; Oracle-compatible mode is available starting with V4.4.2 BP2.
Overview
audit_log_encryption specifies whether to encrypt audit logs.
Applicability
This content applies only to OceanBase Database Enterprise Edition.
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 | String |
| Default Value | NONE |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Configuration example
Set the encryption algorithm for audit logs to AES.
obclient> ALTER SYSTEM SET audit_log_encryption='AES';
