Oracle 视图 DBA_HIST_BUFFERED_QUEUES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_BUFFERED_QUEUES存储系统内的缓冲队列的历史状态和性能诊断信息。这些信息可以用来评估系统中的缓冲队列状态,以确定缓冲队列是否扩展或不活跃。主要以下列字段用于检索信息:
• SNAP_ID:DBA_HIST_BUFFERED_QUEUES中抓取历史状态的快照ID。
• SYSTEM_ID:应用程序连接快照所在的系统ID。
• Num_Operations:客户端执行的操作数量。
• Num_Queued:缓冲队列中等待处理的操作数量。
• Reject_Percentage:被拒绝的操作百分比。
• Try_Again_Seconds:客户端在失败后尝试重新连接的时间(以秒为单位)。
使用DBA_HIST_BUFFERED_QUEUES视图可以轻松检索这些信息。例如,可以使用以下查询检索最近的缓冲队列快照:
SELECT *
FROM   DBA_HIST_BUFFERED_QUEUES
WHERE  SNAP_ID = (SELECT MAX(SNAP_ID)
                  FROM   DBA_HIST_BUFFERED_QUEUES);
官方英文解释
DBA_HIST_BUFFERED_QUEUES displays historical information about all buffered queues available for the instance.               
| Column | Datatype | NULL | Description | 
|---|---|---|---|
| 
 | 
 | 
 | Unique snapshot ID | 
| 
 | 
 | 
 | Database ID for the snapshot | 
| 
 | 
 | 
 | Instance number for the snapshot | 
| 
 | 
 | 
 | Owner of the queue | 
| 
 | 
 | 
 | Name of the queue | 
| 
 | 
 | 
 | Startup time of the instance | 
| 
 | 
 | 
 | ID of the queue | 
| 
 | 
 | Total number of outstanding messages currently enqueued in the buffered queue for the subscriber (includes the count of the messages overflowed to disk) | |
| 
 | 
 | Current number of overflow messages spilled to disk from the buffered queue | |
| 
 | 
 | Cumulative total number of messages enqueued into the buffered queue since the buffered queue was created. | |
| 
 | 
 | Cumulative total number of overflow messages spilled to disk from the buffered queue since the buffered queue was created | |
| 
 | 
 | Number of expired messages | |
| 
 | 
 | Message ID of the oldest message | |
| 
 | 
 | Enqueue time of the oldest message | |
| 
 | 
 | Indicates whether the queue is in recovery mode ( | |
| 
 | 
 | Total time spent in enqueue (in hundredths of a second) | |
| 
 | 
 | Total time spent in dequeue (in hundredths of a second) | |
| 
 | 
 | Total time for evaluating transformations (in hundredths of a second) | |
| 
 | 
 | Total time for rule evaluations (in hundredths of a second) | |
| 
 | 
 | Total CPU time for enqueue (in hundredths of a second) | |
| 
 | 
 | Total CPU time for dequeue (in hundredths of a second) | |
| 
 | 
 | Last message enqueue time | |
| 
 | 
 | Last message dequeue time | |
| 
 | 
 | The database ID of the PDB for the sampled session | |
| 
 | 
 | The ID of the container that  
 | 
编辑:568数据
标签:队列,快照,信息,状态,操作
