Solved

Oracle and MSSQL LOGGING

Posted on 2011-03-02
13
263 Views
Last Modified: 2012-05-11
Hi,can any one tell me  about oracle logging and mssql logging
0
Comment
Question by:Cha1tu
  • 5
  • 5
13 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35019597
You really should ask these questions separately.

That said: How do you define 'logging'?  That can mean a great many things.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 35019690
Both DBMS have different understanding of how to perform transaction logging (if you mean that). As slightwv told you already, please elaborate more about your question. In particular you should add what you already (think you) know, because proper explanation might get very complex.
0
 
LVL 2

Author Comment

by:Cha1tu
ID: 35020009
sorry guys ,this is i am some confused about Oracle Logging and Auditing.

i want to Oracle Aduting in 11gR1 databases ,that is in windows 2003 enviornment
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 2

Author Comment

by:Cha1tu
ID: 35020022
that is Oracle auditing
0
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 35020044
OK, audit what?  Even the term 'auditing' can mean a few different things.

I would start, as always, in the online docs for your version:
http://www.oracle.com/pls/db111/search?remark=quick_search&word=auditing
0
 
LVL 2

Author Comment

by:Cha1tu
ID: 35029986
@slightwv:  we have 400 users in our database.i want to enable audting for all users.how can i do that ?can you please tell me that.

i need to enable the auditing DDL's and INSERT,UPDATE,DELETE,LOGIN,LOGOFF  for all the users in the database.

and also i have doubt can i enable auditing with pfile instead of using ALTER SYSTEM SET audit_trail=db SCOPE=SPFILE;

we don't have any spfile in our database.let me know Thanks


0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35030014
>>we don't have any spfile in our database

What version of Oracle are you using?

I suggest you spend time in the online docs.  That is the best reference on how to properly set up auditing.

It also talks about purging audit records and some other things you'll need to know.
0
 
LVL 2

Author Comment

by:Cha1tu
ID: 35030025
11gR1.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35030149
duh..  you already said that.

You aren't using an SPFILE in 11g?  Are you sure?

0
 
LVL 2

Author Comment

by:Cha1tu
ID: 35030256
yes,i ask my senior dbas..they said we don't want any spfile..i am also surprized,let me now can i use pfile
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35030565
>>let me now can i use pfile

The audit_trail parameter is just that, a database parameter.  It can be set in the pfile just like any other.
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

Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

828 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