Oracle关闭审计功能
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle关闭审计功能相关的知识,希望对你有一定的参考价值。
[[email protected] ~]# su - oracle
[[email protected] ~]$ 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关闭审计功能的主要内容,如果未能解决你的问题,请参考以下文章