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

本站中文解释

Oracle视图V$COPY_NONLOGGED提供以下有关正在进行的非归档拷贝操作(COPY nonlogged)的信息。

此视图是从对象$KTCNlist中创建的。$KTCNlist保存正在进行的拷贝操作的全局信息。

用途:用于跟踪正在进行的非归档拷贝操作(COPY nonlogged),并跟踪它们的进度。

使用方法:可以使用SELECT语句查询视图V$COPY_NONLOGGED来获取正在进行的COPY nonlogged操作的实时信息。例如,可以使用以下语句查看正在进行的无归档拷贝操作:

SELECT * FROM V$COPY_NONLOGGED;

官方英文解释

V$COPY_NONLOGGED displays information about nonlogged block ranges in data file copy blocks, recorded in the control file.

Column Datatype Description

INST_ID

NUMBER

Instance ID

RECID

NUMBER

Nonlogged copy record ID

STAMP

NUMBER

Nonlogged copy record stamp

COPY_RECID

NUMBER

Data file copy record ID

COPY_STAMP

NUMBER

Data file copy record stamp

FILE#

NUMBER

Absolute file number of the data file that contains this range of nonlogged blocks

BLOCK#

NUMBER

Block number of the first nonlogged block in the range of nologged blocks

BLOCKS

NUMBER

Number of nonlogged blocks found starting with BLOCK#

NONLOGGED_CHANGE#

NUMBER

The smallest SCN on which any block in this block range became nonlogged. NULL if unknown.

NONLOGGED_TIME

VARCHAR2

The time that corresponds to NONLOGGED_CHANGE#. NULL if unknown.

RESETLOGS_CHANGE#

VARCHAR2

The resetlogs SCN of the incarnation on which this block range was first marked as nonlogged. NULL if unknown.

RESETLOGS_TIME

VARCHAR2

The resetlogs time of the incarnation on which this block range was first marked as nologged. NULL if unknown.

OBJECT#

VARCHAR2

The object ID this range belongs to. If this field is NULL, the object number is unknown.

REASON

CHAR(7)

The reason why this block range appears in this list, for example, primary file offline, could not talk to primary, non-standby recovery, and so on. For Oracle Database 12c and later releases, it is always UNKNOWN.

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