SYS.AUD$無法擴容導致無法登錄的問題
ERROR:
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
ORA-02002: error while writing to audit trail
ORA-00604: error occurred at recursive SQL level 1
ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
首先SYS.AUD$存儲的是審計信息,11g默認是開啓審計
SQL> show parameter audit_trail
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_trail string DB
那如何降低SYS.AUD$的容量呢?
1、最簡單的方法就是truncate table SYS.AUD$,最直接,前提是不需要保留審計信息。
--審計命令
audit session whenever successful
audit session whenever not sucessful