Lesson 2 | Entities you can audit |
Objective | List the Elements that can be audited in Oracle |
Elements that can be audited in Oracle
Auditing is the process of monitoring and creating a record of selected user activities in your Oracle database.
As you might imagine, there is a cost associated with creating an audit record of database activities, which is the key reason why you normally audit activities only if you have reason to think that there may be a problem.
Types of Auditing
Oracle gives you the ability to perform three different types of audits:
- Statement auditing-Statement auditing tracks the execution of a SQL statement, regardless of the database object the statement operates on.
- Privilege auditing-Privilege auditing tracks the use of certain privileges, such as the use of the
CREATE TABLE
statement. Privilege auditing is primarily used to track down potential security violations.
- Schema object auditing-Schema object auditing can track the execution of specific statements on specific database objects. Schema object auditing is the most focused of the three types of auditing.
Information tracked