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

本站中文解释

_BLOCKS

V$BACKUP_NONLOGGED_BLOCKS视图展示了伴随直接跳过日志记录而发生的非日志块拷贝。它报告取得从几个数据文件(以字节数为单位)以及块数量的备份工作量,报告为每个备份还复制的非日志块的数量。

用途:该视图可以查看几个数据文件发生了非日志块备份,以及这些备份要复制的非日志块数量。

使用方法:可以使用下面的SQL查询来查看:

SELECT * FROM V$BACKUP_NONLOGGED_BLOCKS;

官方英文解释

V$BACKUP_NONLOGGED displays information about nonlogged block ranges in data file backups, recorded in the control file.

Column Datatype Description

RECID

NUMBER

Nologged backup record ID

STAMP

NUMBER

Nonlogged backup record stamp

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup set count

PIECE#

NUMBER

Backup piece that contains the range of nonlogged blocks

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