Solved

spfile

Posted on 2011-03-20
6
447 Views
Last Modified: 2012-05-11
SQL> alter system set audit_trail=DB scope=spfile;

Can you please tell me DB is the name of the database to provide..
please want to make sure.

Thanks in advance
0
Comment
Question by:nobleit
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:MrNed
ID: 35176988
No, "DB" is the actual value you specify as in set auditing for the entire database. It is not the name of the database.
0
 
LVL 73

Expert Comment

by:sdstuber
ID: 35177073
DB means your audit records are written to sys.aud$ and are visible through the dba_audit_trail view
0
 

Author Comment

by:nobleit
ID: 35177753
Can you give me an example?
0
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.

 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
ID: 35178127
as a privileged user...

audit alter user

then restart your database, because scope=spfile means the change is only written to the spfile so you must restart to pick it up


then change your password and look in dba_audit_trail  view  you will see a record showing you used the "alter user" command
0
 

Author Comment

by:nobleit
ID: 35195544
Could you please help me to access dba_audit_trial view..

0
 
LVL 73

Expert Comment

by:sdstuber
ID: 35224620
if you don't have access, you'll have to ask your dba to give you the privilege
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

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

776 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