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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

346 CHAPTER 8 ■ ORACLE STREAMSStreams Topology ViewsVarious Streams views provide detailed information and statistics about the Streams topology.Topology view information is gathered by executing the analyze_current_performance procedureas stated earlier. Table 8-1 shows various Streams topology views.Table 8-1. Streams Topology ViewsDBA Streams ViewDBA_STREAMS_TP_COMPONENTDBA_STREAMS_TP_COMPONENT_LINKDBA_STREAMS_TP_COMPONENT_STATDBA_STREAMS_TP_DATABASEDBA_STREAMS_TP_PATH_BOTTLENECKDBA_STREAMS_TP_PATH_STATDescriptionProvides information about each Streamscomponent at each databaseProvides information about how messages flowbetween Streams componentsProvides temporary information about performancestatistics/session statistics of eachStreams componentProvides information about each databasecontaining Streams componentsProvides temporary information about Streamscomponents, potentially delaying the flow ofmessages of a stream pathProvides information about temporary statisticsof each stream pathSome of the view information is temporary in nature and survives only the duration of thesession. Views returning such temporary information include DBA_STREAMS_TP_COMPONENT_STAT, DBA_STREAMS_TP_PATH_BOTTLENECK, and DBA_STREAMS_TP_PATH_STAT. Whenthe user disconnects the session, the temporary information is purged.With each of the components, you must determine the component ID. This ID is assignedto each component and used throughout the topology mapping to track information about thecomponent and what information flows in and out of the component. The component ID canbe determined by querying the DBA_STREAMS_TP_COMPONENT view. You can query theDBA_STREAMS_TP_COMPONENT view on both the source and target databases to get a clearunderstanding of all the Streams components. The following query is issued from a sourcedatabase:select component_id, component_name, component_type, component_dbfrom dba_streams_tp_componentorder by component_id/ID Name Type <strong>Database</strong>---- ------------------------------------------- -------------------- ---------1 DBA<strong>11</strong>G2=>"STREAMS_ADMIN"."STREAMS_APPLY_Q" PROPAGATION RECEIVER DBA<strong>11</strong>G2 "STREAMS_ADMIN"."STREAMS_CAPTURE_Q" QUEUE DBA<strong>11</strong>G23 "STREAMS_ADMIN"."STREAMS_CAPTURE_Q"=>DBA<strong>11</strong>G PROPAGATION SENDER DBA<strong>11</strong>G24 STREAMS_CAPTURE CAPTURE DBA<strong>11</strong>G2

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

Saved successfully!

Ooh no, something went wrong!