My Oracle Support Banner

DML and DDL Auditing Using Streams (Doc ID 316893.1)

Last updated on JUNE 13, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.2 to 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


OracleStreams is an asynchronous information sharing infrastructure.
One of the components of Streams is implicit Capture, where redo logs are mined
by a Capture process and assembled as logical change record events (LCR) in a
Streams queue. These LCRs can be propagated to other queues and/or consumed by
an Apply process. Users can provide Apply Handlers where they can process the LCRs.

The LCRs track DML and DDL changes in the database. DML or Row LCRs track
before and after row images for a DML operation and are analogous to
asynchronous triggers. By using Streams, we can provide DML and DDL auditing


To be used by Oraclesupport analysts and replication DBAs using Streams in
Oracle 9.2 or higher.This article discusses the steps for DML and DDL Auditing.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.