Oracle 视图 V$AQ_IPC_MSG_STATS 官方解释,作用,如何使用详细说明
本站中文解释
oracle视图V$AQ_IPC_MSG_STATS被用来监控AQ IPC中消息传输情况。
V$AQ_IPC_MSG_STATS包含以下字段:
1. MSGNAME:消息名称;
2. MSGSEND:发送的消息数;
3. MSGRECEVED:接收的消息数;
4. MSGGETTIME:花费的时间;
5. TOTALTRANSMITTEDMESSAGE:传输的消息总数;
6. AVGTRANSMITTIME:消息平均传输时间,从发送到接收为一次完整传输。
使用Oracle视图V$AQ_IPC_MSG_STATS,可以查看消息在AQ IPC之间传输的情况,主要用于查看消息的传输效率,以及进行性能的监控和调优。例如:查询各个消息的传输比例及传输时间:
SELECT msgname, msgsend, msgrecv, totaltransmittedmsg, avgtransmitime
FROM v$aq_ipc_msg_stats;
官方英文解释
V$AQ_IPC_MSG_STATS
displays the statistics of each IPC message class, such as the total number of invocations of a message class, total pending message/processed message count, and last failure related data. Information like total processed message count, average pending time/average processing time gives a real-time outline of AQ IPC background state.
Column | Datatype | Description |
---|---|---|
|
|
Message class name |
|
|
Total number of calls for this message class |
|
|
Total number of active messages presently processed by slaves and master |
|
|
Total number of pending messages in the master’s local context |
|
|
Total number of processed messages |
|
|
Time when the last message of this type was received in the master’s context list |
|
|
Time when the last message was picked for processing |
|
|
Time when the last message was done processing |
|
|
Average pending time for this message class (in seconds) |
|
|
Average processing time for this message class (in seconds) |
|
|
Time of the last failure for this message class |
|
|
Last error message for this message class |
|
|
The ID of the container to which the data pertains. Possible values include:
|