Description of the illustration strms036.eps
This illustration shows the following Oracle Streams configuration at the cpap.example.com
database:
-
One queue named
streams_queue
and owned by the userstrmadmin
. -
One capture process named
capture_emp
captures DML changes to thehr.employees
table and enqueues these changes into thestreams_queue
. -
An apply process named
apply_emp
that sends row LCRs involving thehr.employees
table to a procedure DML handler, which is theemp_dml_handler
PL/SQL procedure. The apply process reenqueues all messages back into thestreams_queue
for processing by an application. -
The
emp_dml_handler
convertsDELETE
operations on thehr.employees
table intoINSERT
operations on thehr.emp_del
table and inserts these changes into the table.