Note
For V4.6.x, this parameter is available starting with V4.6.1.
Overview
audit_log_encryption specifies whether to encrypt audit logs.
Applicability
This topic 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 the ALTER SYSTEM SET statement to modify this parameter. |
| 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';
