audit unified

BEGINDBMS_AUDIT_MGMT.SET_LAST_ARCHIVE_TIMESTAMP(audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD,last_archive_time => TO_TIMESTAMP(trunc(sysdate) - 90,'DD-MON-RRHH24:MI:SS.FF'));END;/BEGINDBMS_AUDIT_MGMT.SET_LAST_ARCHIVE_TIMESTAMP(audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_OS,last_archive_time => TO_TIMESTAMP(trunc(sysdate) - 90,'DD-MON-RRHH24:MI:SS.FF'));END;/BEGINDBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(  audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD,  use_last_arch_timestamp => TRUE);END;/ BEGINDBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(  audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_OS,  use_last_arch_timestamp => TRUE);END;/

posted @ 2020-07-26 10:59  耀阳居士  阅读(85)  评论(0编辑  收藏  举报