Oracle关闭审计功能

前端之家收集整理的这篇文章主要介绍了Oracle关闭审计功能前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[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$

猜你在找的Oracle相关文章