在把审计开到DB状态的时候,重启备库的时候状态又重新变回OS状态。
Completed: ALTER DATABASE MOUNT
Wed Jan 24 01:56:13 2024
ALTER DATABASE OPEN
Data Guard Broker initializing...
Data Guard Broker initialization complete
AUDIT_TRAIL initialization parameter is changed to OS, as DB is NOT compatible for database opened with read-only access
>show parameter audit
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_file_dest string /u01/app/oracle/admin/ormsdg/a
dump
audit_sys_operations boolean TRUE
audit_syslog_level string
audit_trail string OS