Solved

audir related SQL

Posted on 2014-02-19
2
233 Views
Last Modified: 2014-02-20
are there any useful SQL queries that can determine what audit settings are enabled for an oracle database? i.e. is auditing turned on, if yes, what events are being audited etc.
0
Comment
Question by:pma111
2 Comments
 
LVL 12

Accepted Solution

by:
praveencpk earned 250 total points
ID: 39870044
check the parameter audit_trial setting in the DB if it is set to none its disabled.

$export ORACLE_SID=<SID>
$sqlplus "/as sysdba"
SQL>show parameter audit;

check this document for more details.
http://www.oracle-base.com/articles/10g/auditing-10gr2.php
0
 
LVL 28

Assisted Solution

by:Naveen Kumar
Naveen Kumar earned 250 total points
ID: 39872173
you can also use the below query to check the audit parameters/values.

select *
from v$parameter
where name like '%aud%'

Thanks,
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
levels for reporting 5 76
Help on model clause 5 31
run sql script from putty 4 35
Email query results in HTML 6 19
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question