Oracle 视图 V$BACKUP_DATAFILE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图 V$BACKUP_DATAFILE 是一个系统定义的数据字典视图,用于显示在当前实例中备份的每个数据文件的详细信息,如文件名、备份类型、备份日期、备份标签等。
使用方法:
要查看目前备份的数据文件,可以执行如下SQL语句:
SELECT * FROM V$BACKUP_DATAFILE;
该语句将显示所有已备份的数据文件的详细信息,如:文件名、备份类型、备份日期、备份标签等。
官方英文解释
V$BACKUP_DATAFILE
displays information about control files and data files in backup sets from the control file.
Column | Datatype | Description |
---|---|---|
|
|
Backup data file record ID |
|
|
Backup data file record stamp |
|
|
Backup set stamp |
|
|
Backup set count |
|
|
Data file number; set to 0 for control file |
|
|
Creation system change number (SCN) of the data file |
|
|
Creation timestamp of the data file |
|
|
Resetlogs system change number (SCN) of the data file when it was backed up |
|
|
Resetlogs timestamp of the data file when it was backed up |
|
|
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 |
|
|
All blocks changed after the incremental change number is included in this backup; set to 0 for a full backup |
|
|
All changes up to the checkpoint change number are included in this backup |
|
|
Timestamp of the checkpoint |
|
|
Highest change number in this backup |
|
|
Number of blocks marked corrupt |
|
|
Number of blocks media corrupt |
|
|
Number of blocks logically corrupt |
|
|
Size of the data file in blocks at backup time. This value is also the number of blocks taken by the data file restarted from this backup. |
|
|
Size of the backup data file (in blocks). Unused blocks are not copied to the backup. |
|
|
Block size |
|
|
RECID of the oldest offline range record in this backup control file. |
|
|
Time completed |
|
|
|
|
|
Indicates whether change tracking data was used to accelerate this incremental backup ( |
|
|
Number of blocks that were scanned while taking this backup. If this was an incremental backup, and change tracking was used to optimize the backup, then the value of this column will be smaller than |
|
|
Indicates whether backup optimization was applied ( |
|
|
Foreign DBID of the database from which this data file was transported. The value is 0 if the file backed up is not a foreign database file. |
|
|
|
|
|
SCN at which the foreign data file was transported into the database. The value is 0 if this file is not a foreign database file. |
|
|
The SCN of the |
|
|
The time of the |
|
|
Specifies the number of blocks in each section of a multisection backup. Value is 0 for whole file backups. |
|
|
Indicates whether undo blocks were ignored when creating the backup data file ( |
|
|
Number of blocks that were not backed up because they were skipped by the Exadata cell See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
Recovery Manager (RMAN) allows a PDB to be backed up in two ways. The value in this column indicates how the PDB backup was taken:
|
|
|
Indicates whether the file is sparse ( |
|
|
The GUID of the PDB to which the backup belongs. This is useful after the PDB is dropped to identify which PDB the backup belongs to. |