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

本站中文解释

Oracle视图V$QMON_COORDINATOR_STATS用于显示Queuing Monitor Coordinators的统计信息,它是一个只读视图。

V$QMON_COORDINATOR_STATS视图可以返回监视器协调器线程的一般信息,包括它们的状态,以及它们的起始时间,终止时间,最近有效执行时间,最近无效执行时间和消息量等信息。

V$QMON_COORDINATOR_STATS是一个用于调度应用程序执行的条件的基础上的视图,它有助于了解应用程序完成的频率,执行此应用程序的正确性,以及未正确执行的原因。视图也可以提供有用的信息,使数据库管理员可以定位和调试Queuying Monitor中出现的问题。

使用V$QMON_COORDINATOR_STATS视图的一般步骤如下:

1. 使用V$QMON_COORDINATOR_STATS视图,可以查看Queuying Monitor中的当前活动的状态和运行时间。可以使用以下查询从V$QMON_COORDINATOR_STATS视图查询有关Monitor Coordinators的当前活动信息:

SELECT * FROM V$QMON_COORDINATOR_STATS;

2. 可以使用以下查询获取有关Monitor Coordinators执行情况的详细信息:

SELECT * FROM V$QMON_COORDINATOR_STATS
WHERE C_STATUS NOT IN (‘INACTIVE’, ‘IGNORED’);

官方英文解释

V$QMON_COORDINATOR_STATS displays statistics of the non-sharded queue master process. There is one row per instance. The rows are deleted when the database (or instance in an Oracle RAC environment) restarts.
Column Datatype Description

QMNC_PID

VARCHAR2(24)

Non-sharded queue master process ID

STATUS

VARCHAR2(24)

Current status of the coordinator:

  • DEAD

  • INITIALIZING

  • RUNNING TASK COORDINATOR

  • WAITING

  • ADDING SERVER

NUM_SERVERS

NUMBER

Number of QMON servers currently running

LAST_SERVER_START_TIME

TIMESTAMP(3) WITH TIME ZONE

Last server startup time

LAST_SERVER_PID

VARCHAR2(24)

Process ID of the last server process (Qnnn) created

NEXT_WAKEUP_TIME

TIMESTAMP(3) WITH TIME ZONE

Next wakeup time of the coordinator

NEXT_READY_TIME

TIMESTAMP(3) WITH TIME ZONE

Ready time of the first delayed task

NEXT_EXPIRY_TIME

TIMESTAMP(3) WITH TIME ZONE

Expiry time of the next ready task

LAST_WAIT_TIME

TIMESTAMP(3) WITH TIME ZONE

Time when the coordinator went to sleep

LAST_FAILURE

VARCHAR2(32)

Last failure encountered

LAST_FAILURE_TIME

TIMESTAMP(3) WITH TIME ZONE

Last failure time

MAX_TASK_LATENCY

VARCHAR2(40)

Maximum task latency across all the servers (in seconds)

MIN_TASK_LATENCY

VARCHAR2(40)

Minimum task latency across all the servers (in seconds)

TOTAL_TASK_LATENCY

NUMBER

Cumulative latency across all the tasks (in seconds)

TOTAL_TASKS_EXECUTED

NUMBER

Cumulative number of tasks serviced by all the servers

MAX_SERVERS

NUMBER

Maximum number of servers present at any point of time

CON_ID

NUMBER

The ID of the container to which the data pertains. The CON_ID value in this view is always 0. The rows pertain to the entire CDB or to the non-CDB.


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