Oracle 视图 V$XSTREAM_MESSAGE_TRACKING 官方解释,作用,如何使用详细说明
本站中文解释
?
Oracle视图V$XSTREAM_MESSAGE_TRACKING是Oracle Streams中用于监控消息跟踪信息的视图,它用于跟踪消息的传递情况,对对象上的传递操作进行记录。通过这个视图,用户能够得到实时的消息跟踪记录,包括消息是否被抓取、路由和传递的信息。
使用方法:
1、查看特定消息的跟踪信息:
SELECT * FROM v$XSTREAM_MESSAGE_TRACKING WHERE message_id = ‘specific_message_id’;
2、查询指定日期范围内的消息跟踪信息:
SELECT * FROM v$XSTREAM_MESSAGE_TRACKING WHERE capture_time > ‘start_date’ AND capture_time
官方英文解释
V$XSTREAM_MESSAGE_TRACKING
displays information about LCRs tracked through the stream that are processed by XStream components.
You can track an LCR through a stream using one of the following methods:
-
Set the
message_tracking_frequency
capture process parameter to1
or another relatively low value for XStream Outbound processes. -
Set the
message_tracking_frequency
apply process parameter to1
or another relatively low value for XStream Inbound processes. -
Use the
DBMS_XSTREAM_ADM.SET_MESSAGE_TRACKING
procedure to specify a tracking label that becomes part of each LCR generated by the current session.When the actions parameter in the
DBMS_XSTREAM_ADM.SET_MESSAGE_TRACKING
procedure is set toDBMS_XSTREAM_ADM.ACTION_MEMORY
, information about the LCRs is tracked in memory, and this view is populated with information about the LCRs. Currently,DBMS_XSTREAM_ADM.ACTION_MEMORY
is the only valid setting for theactions
parameter in the procedure.Note:
This view does not display information about messages flowing in an Oracle GoldenGate configuration. To view information about such message streams, query the
V$GOLDENGATE_MESSAGE_TRACKING
view.
Column | Datatype | Description |
---|---|---|
|
|
User-specified tracking label |
|
|
First 30 bytes of the tag of the LCR |
|
|
Name of the component that processed the LCR |
|
|
Type of the component that processed the LCR |
|
|
Action performed on the LCR |
|
|
Details of the action |
|
|
Time when the action was performed |
|
|
Time when the message was created |
|
|
SCN of the message |
|
|
Globally unique OID of the LCR |
|
|
Name of the source database |
|
|
Owner of the object |
|
|
Name of the object |
|
|
Transaction ID |
|
|
Command type of the LCR |
|
|
Position of the message |
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
-
“V$GOLDENGATE_MESSAGE_TRACKING”
-
Oracle Database PL/SQL
Packages and Types Reference for more information about the DBMS_XSTREAM_ADM package -
Oracle Database XStream
Guide for more information about XStream concepts