For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 7 -
Monitoring and Troubleshooting Oracle Streams

dba_streams_rules

RULE_NAME         Current Rule Condition
---------------- -----------------------------------
RULE$_7          :"VAR$_6".JOB_NAME IS NOT NULL
RULE$_11         :"VAR$_10".JOB_NAME IS NOT NULL
RULE$_3          :"VAR$_2".GET_FLAGS() IS NOT NULL
LN4_RULE1_DML    :dml.get_object_owner () = 'NY4' AND
                 :dml.is_null_tag() = 'Y'

Another interesting piece of information that can be obtained is any modification made to the rule condition. The following query displays the rule name, the original rule condition, and the current rule condition for each Streams rule whose condition has been modified:

COLUMN RULE_NAME HEADING 'Rule Name' FORMAT A12
COLUMN ORIGINAL_RULE_CONDITION HEAD 'Original Rule Condi' FORMAT A35
COLUMN RULE_CONDITION HEADING 'Current Rule Condition' FORMAT A33

SET LONG 10000
SELECT RULE_NAME, ORIGINAL_RULE_CONDITION, RULE_CONDITION
FROM DBA_STREAMS_RULES
SEE CODE DEPOT FOR FULL SCRIPT
/

Note: The query in this section applies only to Streams rules. It does not apply to rules created using the dbms_rule_adm package because these rules always show NULL for the ORIGINAL_RULE_CONDITION column and NULL for the SAME_RULE_CONDITION column.


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot.

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: