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

本站中文解释

Oracle视图DBA_HIST_RECOVERY_PROGRESS用于报告在归档日志上执行恢复的状态和进度。它显示了归档恢复中每次恢复的任务的恢复过程。

这个视图中的字段包括:

– RECOVERY_ID: 恢复job的ID。
– INPUT_TYPE: 恢复输入材料的类型。
– INPUT_SIZE_MB: 恢复输入材料的大小(以Mb表示)。
– INPUT_FROM_SCN: 输入材料开始的SCN号。
– INPUT_TO_SCN: 输入材料结束的SCN号。
– START_TIME: 恢复job开始的时间。
– END_TIME: 恢复job结束的时间。
– TOTAL_MB: 恢复的总大小(以Mb表示)。
– COMPLETED_MB: 已完成的恢复的大小(以Mb表示)。
– ELAPSED_SEC: 恢复job经过的秒数。
– STATUS: 恢复job的状态。

使用此视图可以监控归档日志恢复正在执行的任务,检查恢复过程是否正确,或者查看恢复耗费的时间。

官方英文解释

DBA_HIST_RECOVERY_PROGRESS displays database recovery progress information for an instance.

Column Datatype NULL Description

SNAP_ID

NUMBER

NOT NULL

Unique snapshot ID

DBID

NUMBER

NOT NULL

Database ID for the snapshot

INSTANCE_NUMBER

NUMBER

NOT NULL

Instance number for the snapshot

START_TIME

DATE

NOT NULL

Start time of the recovery operation

TYPE

VARCHAR2(64)

NOT NULL

Type of recovery operation being performed:

  • CRASH RECOVERY

  • INSTANCE RECOVERY

  • MEDIA RECOVERY

ITEM

VARCHAR2(32)

NOT NULL

Item being measured.

When TYPE is CRASH RECOVERY or INSTANCE RECOVERY, the possible values are:

  • Log Files

  • Redo Blocks

When TYPE is MEDIA RECOVERY, the possible values are:

  • Active Apply Rate

  • Average Apply Rate

  • Maximum Apply Rate

  • Redo Applied

  • Log Files

  • Last Applied Redo

  • Active Time

  • Elapsed Time

  • Apply Time per Log

  • Checkpoint Time per Log

  • Standby Apply Lag

  • Recovery ID

UNITS

VARCHAR2(32)

The units of measurement for each item

SOFAR

NUMBER

Amount of work done so far

TOTAL

NUMBER

Total amount of work expected

TIMESTAMP

DATE

Timestamp of the last redo record applied

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. 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 视图 DBA_HIST_RECOVERY_PROGRESS 官方解释,作用,如何使用详细说明