Oracle 视图 V$AQ_CROSS_INSTANCE_JOBS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$AQ_CROSS_INSTANCE_JOBS用于跨实例消息交换中的任务管理。它显示启动的跨实例任务的属性以及与那些任务关联的队列的属性。我们可以使用该视图控制跨实例任务的行为,这些任务来自可以在不同实例之间发送消息的Oracle Streams队列中。
使用V$AQ_CROSS_INSTANCE_JOBS视图需要实例名,根据表中的信息及实例名,我们可以获得跨实例中消息交换的细节。可以使用此表检查已发送的消息的状态等。我们也可以使用此视图查看正在处理的任务以及为跨实例消息交换设置的各种参数。这样,我们可以更好地诊断和监测消息之间的直接交换以及交换的其他方面。
官方英文解释
V$AQ_CROSS_INSTANCE_JOBS
describes each of the cross process jobs.
Each job serves to forward messages for a shard from a source instance to a destination instance for a set of subscribers of a sharded queue.
Note:
AQ sharded queues are deprecated in Oracle Database 21c. Oracle recommends that you instead use Transactional Event Queues (TEQs) for higher throughput and better performance.
Column | Datatype | Description |
---|---|---|
|
|
Job ID within this coordinator |
|
|
Source schema of the job |
|
|
Source queue name of the cross job |
|
|
Source shard ID |
|
|
Start subshard ID of the job |
|
|
Destination instance of the cross job |
|
|
Index of the coordinator serving the job |
|
|
Process ID of the destination server |
|
|
State of the job:
|
|
|
Indicates whether the job is flow controlled:
|
|
|
Messages sent during the job |
|
|
Bytes sent during the job |
|
|
Latency for receiving ACK for the job |
|
|
Cross instance job type. Values:
|
|
|
Last priority 0 subshard received at |
|
|
Last priority 1 subshard received at |
|
|
Last priority 2 subshard received at |
|
|
Last priority 3 subshard received at |
|
|
Last priority 4 subshard received at |
|
|
Last priority 5 subshard received at |
|
|
Last priority 6 subshard received at |
|
|
Last priority 7 subshard received at |
|
|
Last priority 8 subshard received at |
|
|
Last priority 9 subshard received at |
|
|
Start time of this job |
|
|
Subscriber ID whose affinity is being switched for the |
|
|
Subscriber name whose affinity is being switched for the |
|
|
Owner instance of the shard |
|
|
Queue ID |
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
Oracle Database Advanced
Queuing User’s Guide for more information about Oracle Database Advanced Queueing