Oracle 视图 V$DISPATCHER 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图V$DISPATCHER是表示派发器(调度程序)信息的视图。派发器用于并行注册多个客户端并同时接收和发送请求到服务器,用户可以通过派发器在客户端之间进行分发,以减少客户端之间的交互。派发器还可以用于复制和分发数据到客户端,以便提高系统的整体性能。

V$DISPATCHER视图提供关于正在运行的派发器的状态的详细信息,包括派发器的服务器命名,状态,工作类型,当前服务请求等。

使用V$DISPATCHER视图时,需要在Oracle服务器上执行以下SQL语句:

SELECT * FROM V$DISPATCHER;

这将返回V$DISPATCHER视图中的所有数据,从而帮助诊断派发器。可以使用”WHERE”子句用于筛选数据:

SELECT *
FROM V$DISPATCHER
WHERE STATUS = ‘RUNNING’;

官方英文解释

V$DISPATCHER displays information about the dispatcher processes.

Column Datatype Description

NAME

VARCHAR2(4)

Name of the dispatcher process

NETWORK

VARCHAR2(1024)

Network address of the dispatcher

PADDR

RAW(4 | 8)

Process address

STATUS

VARCHAR2(16)

Status of the dispatcher:

  • WAIT – Idle

  • SEND – Sending a message

  • RECEIVE – Receiving a message

  • CONNECT – Establishing a connection

  • DISCONNECT – Handling a disconnect request

  • BREAK – Handling a break

  • TERMINATE – In the process of terminating

  • ACCEPT – Accepting connections (no further information available)

  • REFUSE – Rejecting connections (no further information available)

ACCEPT

VARCHAR2(3)

Indicates whether the dispatcher is accepting new connections (YES) or not (NO)

MESSAGES

NUMBER

Number of messages processed by the dispatcher

BYTES

NUMBER

Size (in bytes) of messages processed by the dispatcher

BREAKS

NUMBER

Number of breaks occurring in the connection

OWNED

NUMBER

Number of circuits owned by the dispatcher

CREATED

NUMBER

Number of circuits created by the dispatcher

IDLE

NUMBER

Total idle time for the dispatcher (in hundredths of a second)

BUSY

NUMBER

Total busy time for the dispatcher (in hundredths of a second)

CPU

NUMBER

Total CPU time for the dispatcher (in millionths of a second)

LISTENER

NUMBER

Most recent Oracle error number the dispatcher received from the listener

CONF_INDX

NUMBER

Zero-based index of the DISPATCHERS configuration used by the dispatcher

CON_ID

NUMBER

The ID of the container to which the data pertains. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data


数据运维技术 » Oracle 视图 V$DISPATCHER 官方解释,作用,如何使用详细说明