How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$

本文详细介绍了在Oracle 10gR2及更高版本中,如何通过DBMS_AUDIT_MGMT包和直接操作SYS.AUD$表来管理审计信息。包括如何清空、删除或清理审计记录,并提供了相关工作文档的引用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

个人总结

在10gR2以后如果不用DBMS_AUDIT_MGMT这个包管理审计信息的话.全语句直接操作SYS.AUD$表就行. 按照自己参考的工作文档,记得将SYS.AUD$表移出system表空间就行.
How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$ [ID 73408.1]

 Modified 11-SEP-2010     Type BULLETIN     Status PUBLISHED 

Applies to:

Oracle Server - Enterprise Edition - Version: 8.1.7.4 to 11.2.0.1 - Release: 8.1.7 to 11.2
Information in this document applies to any platform.
Checked for relevance on 11-Sep-2010

Purpose

This document explains how to purge, truncate, or delete rows from the audit trail table SYS.AUD$. Starting with Oracle 10gR2 it is possible to use package DBMS_AUDIT_MGMT for this. More information about this package can be read in Note 731908.1 -New Feature DBMS_AUDIT_MGMT To Manage And Purge Audit Information.

Scope and Application

This document is intended for DBA's or Oracle Support Analysts.

How to Truncate, Delete, or Purge Rows from the Audit Trail Table SYS.AUD$

 
 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11780477/viewspace-705352/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/11780477/viewspace-705352/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值