 |
|
Oracle Tips by Burleson |
Oracle Streams
Chapter 5 -
Apply Process Configuration
Using add_subset_rules for Apply
Creation
Trans Trans Apply
Trans Being Trans
Apply Process Received Applied Errors
Applied Ignored
----------------- --------- ------- ------
----------- ---------
LN3_APPLY 60 60 0
0 0
Even though 60,000 records have been loaded at
the source destination and v$streams_apply_coordinator shows
the number of transactions applied as 60, only 24,032 records have
been added at the destination because of the DML condition that has
been specified.
select (select count(*) from ny3.allinsured1)
at_source,
(select count(*) from ny3.allinsured1@dnyoip20)
at_dest from dual
/
gives output ..
AT_SOURCE AT_DEST
---------- ----------
60000 24032
To show all the relevant information in a
single glance, the show_apply_server.sql script has been
developed. A full listing of the script is in the code depot. It
selects various columns from dictionary views such as:
The output of the query is shown below:
The above text is
an excerpt from:
Oracle Streams
High Speed Replication and Data
Sharing
ISBN 0-9745993-5-2
by Madhu Tumma
|
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|