ITPub博客

首页 > 数据库 > Oracle > AUD$表占用大量SYSTEM表空间的处理方法

AUD$表占用大量SYSTEM表空间的处理方法

原创 Oracle 作者:xingxintian 时间:2014-07-11 14:30:11 0 删除 编辑
一个外购系统巡检中发现system表空间增加到了7G,查看表空间的对象发现AUD$表占用了6G的空间。
在参考了oracle文档后,将该表的记录删除,并把位置移动了到普通表空间。[该表的记录可以使用truncate操作,对实例没有什么影响]

可以使用DBMS_AUDIT_MGMT 进行处理。

Examples

The following example moves the database audit trail tables, AUD$ and FGA_LOG$, from the current tablespace to a user-created tablespace called RECORDS:

BEGIN
DBMS_AUDIT_MGMT.SET_AUDIT_TRAIL_LOCATION(
       audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_DB_STD,
       audit_trail_location_value =>  'RECORDS');
END;
/

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

请登录后发表评论 登录
全部评论

注册时间:2013-03-01

  • 博文量
    21
  • 访问量
    77524