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

本站中文解释

_DEST

V$ARCHIVE_DEST是一个视图,它是Oracle数据库执行归档操作时所依赖的一个重要视图表。

它可以查询归档操作状态,归档操作空间分配情况,以及归档操作中使用的具体归档策略,以便让用户可以清楚明白现有的归档策略在归档操作中所扮演的角色。

要使用这个视图,用户可以使用例如 SELECT * FROM V$ARCHIVE_DEST或 SELECT DEST_ID,DEST_NAME FROM V$ARCHIVE_DEST的SQL语句,以查询当前可用的归档操作空间及具体的归档策略。这样用户就可以对归档操作中空间分配、归档策略应用程度以及归档操作状态等进行清晰地评估。

官方英文解释

V$ARCHIVE displays information about redo log files in need of archiving.

Each row displays information for one thread. This information is also available in V$LOG. Oracle recommends that you use V$LOG.

See Also:

“V$LOG”

Column Datatype Description

GROUP#

NUMBER

Log file group number

THREAD#

NUMBER

Log file thread number

SEQUENCE#

NUMBER

Log file sequence number

ISCURRENT

VARCHAR2(3)

This is the current online redo log

CURRENT

VARCHAR2(3)

This column is obsolete and maintained for backward compatibility. The value of this column is always equal to the value in ISCURRENT.

FIRST_CHANGE#

NUMBER

First SCN stored in the current log

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