[root@fossdb ~]# su - oracle
[oracle@fossdb ~]$ sqlplus / as sysdba
sql*Plus: Release 11.2.0.3.0 Production on Wed Jul 12 09:54:57 2017
Copyright (c) 1982,2011,Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning,OLAP,Data Mining and Real Application Testing options
sql> show parameter audit_trail;//查看审计功能是否开启,DB是开启的意思
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_trail string DB
sql> alter system set audit_trail=FALSE scope=spfile; //关闭审计功能
System altered.
sql> show parameter audit_trail
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
audit_trail string DB
sql>
sql> shutdown immediate; //要重启才会生效
sql> startup;
删除表空间中的审计日志
truncate table sys.Aud$