Oracle/SQL

Advertisement


Question
Sir, Kindly give me the difference between the Tracing and Auditing in SQL

Answer
Hi Jasvinder,

When you're performing a trace you are following step by step what the SQL is doing. This is typcially used when trying to debug, optimize or improve the performance of a piece of SQL code.


When you're audting an SQL, you are reviewing the actions that have been performed by (or the result of executing) the SQL. Auditing can be used for forensic investigation, routine check, or verification of the data integrity.

Hope this helps.

Peter

Oracle

All Answers


Answers by Expert:


Ask Experts

Volunteer


Peter Choi

Expertise

I am a senior Oracle DBA, PeopleSoft HCM specialist and Project Manager with 15+ years experience. I have been working with PeopleSoft (HRMS/HCM 5, 7, 7.x and 8.9, 9.x), Oracle RDBMS (7.3 - 11gR2) on various Unix and MS-Windows platforms, and some Oracle Application Server (9i - 11gR1). I also have experience with the configuration and administration of PeopleSoft's Internet Architecture (PIA) and the Oracle 11g Fusion Middleware and Oracle Business Intelligence (OBI).

©2012 About.com, a part of The New York Times Company. All rights reserved.