11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CHAPTER 8 ■ ORACLE STREAMS 355Merge Streams JobYou can use the merge_streams_job procedure when you need to determine whether the originalcapture and cloned capture processes are in the range of the specified merge threshold. Ifthe threshold is within the range, then the merge_streams procedure is executed to merge thetwo streams.PROCEDURE merge_streams_job (capture_nameIN VARCHAR2,cloned_capture_name IN VARCHAR2,merge_threshold IN NUMBER,schedule_nameIN VARCHAR2 DEFAULT NULL,merge_job_nameIN VARCHAR2 DEFAULT NULL);Usability Improvements<strong>Oracle</strong> <strong>Database</strong> <strong>11</strong>g improves <strong>Oracle</strong> Streams to make the product easier to use, manage, andimplement. Improvements include features such as the following:• Message tracking• Automated alerts• Identifying newly supported tables• Identifying minimum required checkpoint SCN• Background process name changes• Support for XMLTypes stored as CLOBs• Support for TDE• Support for <strong>Oracle</strong> SchedulerMessage TrackingYou can now monitor messages across all the databases. The V$STREAMS_MESSAGE_TRACKINGview will capture all the areas of a message from capture to propagation to apply. This viewprovides information including timestamp, action, object name, and command type. Anotherbenefit that this view provides is the ability to see the path of the message.Streams message tracking is turned on by executing the set_message_tracking procedure:begindbms_streams_adm.set_message_tracking (tracking_label => 'DOC_TRACK');end;/You can use the set_message_tracking procedure to assign a custom label. By default, thedefault label is called Streams_tracking. You can query the V$STREAMS_MESSAGE_TRACKINGview to track the LCRs and the process flow through each of the clients. When you detect thatLCRs are not being applied, this view can be helpful to diagnose the problems. This view will

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!