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

本站中文解释

Oracle视图V$PROXY_COPY_DETAILS用于获取数据库表空间中某种类型的数据文件被复制的进度以及拷贝状态等信息。 该视图仅在使用外部表空间进行镜像拷贝时有用。 它可以提供有关当前母体表空间中某些文件执行复制操作的信息,以及数据文件执行拷贝操作时的拷贝进度和状态的信息。

使用示例:

SELECT source_name, target_name, copy_status FROM V$PROXY_COPY_DETAILS WHERE dest_tablespace=’USERS_COPY’;

上面的示例查询将获取当前USER_COPY表空间中拷贝操作的源文件名称、目标文件名称以及拷贝状态。

官方英文解释

V$PROXY_COPY_DETAILS contains information about all available control file and datafile proxy copies.

Column Datatype Description

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

COPY_KEY

NUMBER

Copy identifier

FILE#

NUMBER

Absolute datafile number, or 0 if this is a control file backup

HANDLE

VARCHAR2(513)

Proxy copy handle identifies the copy for restore

MEDIA

VARCHAR2(65)

Name of the media on which the copy resides. This value is informational only. It is not needed for restore.

MEDIA_POOL

NUMBER

Media pool in which the copy resides. This is the same value that was entered in the POOL operand of the Recovery Manager BACKUP command.

TAG

VARCHAR2(32)

Proxy copy tag

CREATION_CHANGE#

NUMBER

Datafile creation change number

CREATION_TIME

DATE

Datafile creation timestamp

CHECKPOINT_CHANGE#

NUMBER

Checkpoint change number of the datafile when the copy was made

CHECKPOINT_TIME

DATE

Checkpoint timestamp of the datafile when the copy was made

OUTPUT_BYTES

NUMBER

Total output bytes written

COMPLETION_TIME

DATE

Completion time

CONTROLFILE_TYPE

VARCHAR2(1)

Type of control file:

  • B – Normal control file

  • S – Standby control file

KEEP

VARCHAR2(3)

Indicates whether this backup set has a retention policy that is different than the value for the configure retention policy (YES) or not (NO)

KEEP_UNTIL

DATE

If specified, then this is the date after which the backup becomes obsolete. If this column is NULL, then the backup never expires.

KEEP_OPTIONS

VARCHAR2(11)

Additional retention options for this backup set:

  • LOGS – Indicates a long-term backup made with the LOGS keyword, which is now deprecated

  • BACKUP_LOGS – Indicates that the backup was made in open mode, so archived log backups must be applied to make it consistent

  • NOLOGS – Indicates a consistent backup made when the database was mounted.

  • NULL – Indicates that this backup has no KEEP options and becomes obsolete based on the retention policy

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output bytes

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