Oracle审计表AUD$处理方法
Oracle版本:11.2.0,其他版本要测试DBMS_AUDIT_MGMT能否成功
1. 查询表,然后truncate
select count(*) from aud$;
truncate table aud$;
select count(*) from aud$;
2.创建表空间
create tablespace adttbs
datafile '/oracle/OMT/admin/oradata/aud01.dbf' size 2G autoextend on;
SELECT table_name, tablespace_

本文介绍了在Oracle 11.2.0版本中处理AUD$表的方法,包括查询AUD$表并清空数据,创建新的表空间adttbs,将AUD$表移动到该表空间,创建sys和system用户的存储过程用于定期清理,并设置每日自动调度任务进行审计日志的截断。
最低0.47元/天 解锁文章
2817





