BY SESSION and BY ACCESS options
The BY SESSION
option stores only one audit record when the same type of statement is issued during the
same user database session.
The BY ACCESS
option stores one audit record every time the same type of statement is issued, regardless.
AUDIT SELECT ON store.departments BY SESSION;
AUDIT DELETE ON store.employees BY ACCESS;
AUDIT INSERT, UPDATE ON store.employees BY ACCESS;
Home »
Oracle »
User, Privilege, Role »
Oracle »
User, Privilege, Role »
Auditing:
- Auditing
- WHENEVER SUCCESSFUL and WHENEVER NOT SUCCESSFUL options
- BY SESSION and BY ACCESS options
- Audit Views
Related: