資料庫
1753948 會員
7249 線上
108811 解決方案
發表新文章

audit 的資料會expire 嗎

 
watermelonyu
教授

audit 的資料會expire 嗎

打開audit 之後可以select 下列的資料

請問這些資料會一直保留,還是會expire

那expire 時間又是多久,如果不會expire 怎樣清掉它呢?



AUDIT_TRAIL = TRUE



Then query AUD$ as the following example



SQL> select returncode, action#, userid, userhost, terminal from aud$



RETURNCODE ACTION# USERID USERHOST TERMINAL

---------- ---------- -------- -------------------- --------------------

1017 100 SCOTT WPRATA-BR

1017 100 SCOTT WPRATA-BR

1017 100 SCOTT WPRATA-BR

1則回覆 1
watermelonyu
教授

audit 的資料會expire 嗎

沒有 expire 的設定, 應該是手動刪除, 如

delete from sys.aud$ where ACTION#=103;