oracle将审计日志转移到其它表空间

1.创建表空间

create tablespace shenji datafile '/data2/oracle/oradata/orcl/shenji.dbf' size 1024m autoextend on next 1024M maxsize unlimited;

2.转移到新的表空间

sqlplus /nolog

connect / as sysdba

alter table aud$ move tablespace shenji;
alter index i_aud rebuild online tablespace shenji;
alter table audit$ move tablespace shenji;
alter index i_audit rebuild online tablespace shenji;
alter table audit_actions move tablespace shenji;
alter index i_audit_actions rebuild online tablespace shenji;

你可能感兴趣的:(oracle将审计日志转移到其它表空间)