本来想写些什么的,单独看文档的解释不容易明白。不过只要找台数据库查一下这个视图,对照着看下就基本明白了。
V$RMAN_STATUS 视图
V$RMAN_STATUS displays the finished and on-going RMAN jobs. For on-going jobs, this view displays progress and status. The jobs which are in progress are stored only in memory while the finished jobs are stored in the controlfile.
V$RMAN_STATUS显示已完成和正在进行的RMAN任务。对于正在进行的任务,显示 progress 和 status,这些信息仅存在于内存中。当任务结束后,信息将存在控制文件中。
| Column | Datatype | Description |
|---|---|---|
| SID | NUMBER | Session ID of the session which is running this RMAN operation |
| RECID | NUMBER |
Record ID of the row in the controlfile
|
| STAMP | NUMBER | Timestamp of the row (RECID + STAMP is unique) |
| PARENT_RECID | NUMBER |
Record ID of the parent row of this row (corresponding V$RMAN_STATUS row with ROW_LEVEL = ROW_LEVEL - 1)
|
| PARENT_STAMP | NUMBER | Timestamp of the parent row of this row (corresponding V$RMAN_STATUS row with ROW_LEVEL = ROW_LEVEL - 1) |
| SESSION_RECID | NUMBER |
Record ID of the session (corresponding V$RMAN_STATUS row with ROW_LEVEL = 0)
|
| SESSION_STAMP | NUMBER | Timestamp of the session (corresponding V$RMAN_STATUS row with ROW_LEVEL = 0) |
| ROW_LEVEL | NUMBER |
Level of the row. The session has level 0.
|
| ROW_TYPE | VARCHAR2(19) | Type of the row:
|
| COMMAND_ID | VARCHAR2(33) | Command ID set by the RMAN SET COMMAND ID command. If not set, then RMAN will create a unique number. |
| OPERATION | VARCHAR2(33) | Name of the command in the execution explained by this row |
| STATUS | VARCHAR2(23) | Status of the operation:
|
| MBYTES_PROCESSED | NUMBER | Percentage of the job completed; null if not applicable for the operation |
| START_TIME | DATE | Start time of the job |
| END_TIME | DATE | End time of the job |
| INPUT_BYTES | NUMBER | Number of input bytes read |
| OUTPUT_BYTES | NUMBER | Number of output bytes written |
| OPTIMIZED | VARCHAR2(3) | YES, if backup optimization was applied during the backup job. Otherwise, NO. |
| OBJECT_TYPE | VARCHAR2(13) |
Identifies types of objects backed up
|
| OUTPUT_DEVICE_TYPE | VARCHAR2(17) |
DISK, SBT_TAPE, or *. An * indicates that output was written to more than one device type. |
V$RMAN_OUTPUT 视图
V$RMAN_OUTPUT displays messages reported by RMAN. This is an in-memory view and is not recorded in the controlfile. The view can hold 32768 rows.
V$RMAN_OUTPUT 视图记录了RMAN生成的信息,这是在内存中额视图,不会记录到控制文件上。最多有37278条记录。
| Column | Datatype | Description |
|---|---|---|
| SID | NUMBER | Session ID of the session which is running this RMAN operation |
| RECID | NUMBER | Record ID of the corresponding V$RMAN_STATUS row |
| STAMP | NUMBER | Timestamp of the corresponding V$RMAN_STATUS row |
| SESSION_RECID | NUMBER | Record ID of the session (corresponding V$RMAN_STATUS row with ROW_LEVEL = 0) |
| SESSION_STAMP | NUMBER | Timestamp of the session (corresponding V$RMAN_STATUS row with ROW_LEVEL = 0) |
| OUTPUT | VARCHAR2(129) | Output text reported by RMAN |
| RMAN_STATUS_RECID | NUMBER | Owning V$RMAN_STATUS record ID |
| RMAN_STATUS_STAMP | NUMBER | Owning V$RMAN_STATUS record stamp |
| SESSION_KEY | NUMBER | Session identifier |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23650854/viewspace-695047/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23650854/viewspace-695047/
本文介绍了Oracle数据库中RMAN (Recovery Manager) 的两个重要视图V$RMAN_STATUS 和 V$RMAN_OUTPUT。V$RMAN_STATUS用于显示已完成和正在进行的RMAN任务的状态及进度,而V$RMAN_OUTPUT则记录了RMAN操作过程中的消息。两视图共同帮助管理员了解RMAN作业的执行情况。
1262

被折叠的 条评论
为什么被折叠?



