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

本站中文解释

V$QMON_TASKS 视图显示Oracle数据库中当前运行和排队的任务。该视图包含了排队/运行的任务的任务ID,任务类型,子任务状态,开始时间,完成时间等列。

使用方法:通过Oracle数据库,用户可以使用以下语法查询V$QMON_TASKS视图:

SELECT *FROM V$QMON_TASKS;

官方英文解释

V$QMON_TASKS displays information and statistics about all queue background tasks in the system, which would be served by queue monitor servers. There is one row per task. The rows are deleted when the database (or instance in an Oracle RAC environment) restarts.
Column Datatype Description

TASK_NAME

VARCHAR2(32)

Task name

TASK_NUMBER

NUMBER

Unique task number

TASK_TYPE

VARCHAR2(40)

Task type

TASK_SUBMIT_TIME

TIMESTAMP(3) WITH TIME ZONE

Task submit time

TASK_READY_TIME

TIMESTAMP(3) WITH TIME ZONE

Task ready time

TASK_EXPIRY_TIME

TIMESTAMP(3) WITH TIME ZONE

Time when this task expires

TASK_START_TIME

TIMESTAMP(3) WITH TIME ZONE

Last actual start time for the task

TASK_STATUS

VARCHAR2(32)

Status of the task

SERVER_NAME

VARCHAR2(48)

Name of the QMON server running this task

MAX_RETRIES

NUMBER

Maximum retry count for the task

NUM_RUNS

NUMBER

Number of runs of the task if repeatable

NUM_FAILURES

NUMBER

Number of failures encountered while running the task

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_TASKS 官方解释,作用,如何使用详细说明