Oracle 视图 V$BACKUP_DATAFILE_DETAILS 官方解释,作用,如何使用详细说明
本站中文解释
视图
V$BACKUP_DATAFILE_DETAILS视图显示的是一个特定的备份的数据文件的细节信息,其中包括每个数据文件的状态和备份时间,以及备份文件在备份中所占用的控件块数。
V$BACKUP_DATAFILE_DETAILS视图可用于跟踪备份活动,允许您轻松地查看所有备份文件的备份时间以及所备份的控件块数量,这允许您更轻松地识别哪些数据文件已备份,并确定哪些数据文件没有得到备份。
V$BACKUP_DATAFILE_DETAILS视图的使用方法:
要使用此视图查看特定的数据文件的备份详细信息,你可以使用如下查询:
SELECT FILE_NAME, STATUS, STATS_TIME, BLOCKS_ALLOCATED
FROM V$BACKUP_DATAFILE_DETAILS
WHERE FILE_NAME = ”;
在此查询中,应替换为要检查的特定数据文件的名称。
另一种方法是,您可以查询所有文件的备份内容:
SELECT FILE_NAME, STATUS, STATS_TIME, BLOCKS_ALLOCATED
FROM V$BACKUP_DATAFILE_DETAILS;
官方英文解释
V$BACKUP_DATAFILE_DETAILS
contains information about restorable data files.
It will include all data files backed in the backup set, image copies, and proxy copies.
Column | Datatype | Description |
---|---|---|
|
|
Backup type container. Possible values are: |
|
|
Unique identifier for the backup type. For |
|
|
Session identifier |
|
|
Session record ID |
|
|
Session stamp |
|
|
If If |
|
|
If If |
|
|
File number |
|
|
File creation change SCN |
|
|
File creation time |
|
|
Resetlogs change SCN |
|
|
Resetlogs change time |
|
|
Normal full backups have a NULL value, level 0 incremental backups have a value of 0, and level 1 incremental backups have a value of 1 |
|
|
Incremental change SCN |
|
|
Checkpoint change SCN |
|
|
Checkpoint change time |
|
|
Number of blocks marked corrupt |
|
|
File size, in bytes |
|
|
The ratio between the total blocks in the datafile and the blocks that RMAN backed up. This is not the the ratio from the |
|
|
Indicates whether the file is sparse ( |
|
|
Tablespace number |
|
|
Tablespace name |
|
|
Same value as the |
|
|
The ID of the container to which the data pertains. Possible values include:
|