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

本站中文解释

Oracle 视图DBA_DATAPUMP_JOBS提供了数据泵作业信息的完整视图。它允许DBA管理和监控各种数据泵作业,包括运行时间、作业状态以及就绪数据。

通常,它用于查询数据泵的运行状态,控制它(开始,终止,暂停),查看运行日志,删除数据泵作业信息,查询字节数,查询export的完成进度等等。

要使用DBA_DATAPUMP_JOBS视图,需要用户有SELECT_CATALOG_ROLE角色。通过运行如下查询,可以查询DBA_DATAPUMP_JOBS视图中的所有数据泵作业:

SELECT * FROM DBA_DATAPUMP_JOBS;

此外,还可以使用WHERE子句缩小查询结果集。例如,要查询具有特定作业名称的数据泵作业,可以运行下面的查询:

SELECT * FROM DBA_DATAPUMP_JOBS WHERE JOB_NAME = ‘MY_JOB_NAME’;

官方英文解释

DBA_DATAPUMP_JOBS identifies all active Data Pump jobs in the database, regardless of their state, on an instance (or on all instances for Real Application Clusters). It also show all Data Pump master tables not currently associated with an active job.

Related View

USER_DATAPUMP_JOBS displays the Data Pump jobs owned by the current user. This view does not display the OWNER_NAME column.

Column Datatype NULL Description

OWNER_NAME

VARCHAR2(128)

User that initiated the job

JOB_NAME

VARCHAR2(128)

User-supplied name for the job (or the default name generated by the server)

OPERATION

VARCHAR2(128)

Type of job

JOB_MODE

VARCHAR2(128)

Mode of job

STATE

VARCHAR2(128)

Current job state

DEGREE

NUMBER

Number of worker processes performing the operation

ATTACHED_SESSIONS

NUMBER

Number of sessions attached to the job

DATAPUMP_SESSIONS

NUMBER

Number of Data Pump sessions participating in the job

See Also:

“USER_DATAPUMP_JOBS”


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