053试题 334/682 - crosscheck
题目:
334.What command would you use to ensure that backup records in the control file are pointing to actual
physical files on the backup media?
A. crosscheck
B. list backup
C. confirm
D. resync
E. backup validate
参考答案 A
解析
题目意思问,哪个命令,确认了备份记录在控制文件中,并且实际的备份的文件也存在。 crosscheck命令。选择A 。
参考文档:
https://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV8171
Crosschecking the RMAN Repository
To ensure that data about backups in the recovery catalog or control file is synchronized with corresponding data on disk or in the media management catalog, perform a crosscheck. The CROSSCHECK
command operates only on files that are currently recorded in the RMAN repository.
If you use a fast recovery area, backup retention policy, and archived redo log deletion policy, then you should not need to perform crosschecks very often. If you delete files by means other than RMAN, then you should perform a crosscheck periodically to ensure that the repository data stays current.
About RMAN Crosschecks
Crosschecks update outdated RMAN repository information about backups whose repository records do not match their physical status. For example, if a user removes archived logs from disk with an operating system command, the repository still indicates that the logs are on disk, when in fact they are not.
Figure 12-1 illustrates a crosscheck of a media manager. RMAN queries the RMAN repository for the names and locations of the four backup sets to be checked. RMAN sends this information to the target database server, which queries the media management software about the backups. The media management software then checks its media catalog and reports back to the server that backup set 3
is missing. RMAN updates the status of backup set 3
to EXPIRED
in the repository. The record for backup set 3
is deleted once you run DELETE
EXPIRED
.
Figure 12-1 Crosschecking a Media Manager
Description of "Figure 12-1 Crosschecking a Media Manager"
Crosschecks are useful because they can do the following:
Update outdated information about backups that disappeared from disk or tape or became corrupted
Update the repository if you delete archived redo logs or other files with operating system commands
Use the crosscheck feature to check the status of a backup on disk or tape. If the backup is on disk, then CROSSCHECK
checks whether the header of the file is valid. If a backup is on tape, then the command checks that the backups exist in the media management software catalog.
Backup pieces and image copies can have the status AVAILABLE
, EXPIRED
, or UNAVAILABLE
. You can view the status of backups by running the RMAN LIST
command or by querying V$BACKUP_FILES
or recovery catalog views such as RC_DATAFILE_COPY
or RC_ARCHIVED_LOG
. A crosscheck updates the RMAN repository so that all of these techniques provide accurate information. RMAN updates each backup in the RMAN repository to status EXPIRED
if the backup is no longer available. If a new crosscheck determines that an expired backup is available again, then RMAN updates its status to AVAILABLE
.
Oracle Database Backup and Recovery Reference for
CROSSCHECK
syntax and a description of the possible status valuesOracle Database Backup and Recovery Reference for
DELETE
syntax
END
-- 2019-09-12 add
题目:
682. Identify the scenarios in which the RMAN CROSSCHECR command is useful. (Choose all that apply.)
A.To check that the obsolete backups are deleted from the repository records and from the disk.
B.To update the RMAN repository if you delete archived redo logs with operating system commands.
C.To update outdated information about backups that disappeared from disk or tape or became corrupted and inaccessible.
D.To synchronize the actual files on disk or in the media management catalog with the RMAN repository for which the backup was not taken using RMAN.
参考答案 AD (有误,争取的答案应该是BC )
解析
那些场景下,crosscheck 命令有用。
选项A ,是report命令干的事情。
选项D,是命令sync干的事情。
参考文档,参考上面的题目的文档。
END
053试题 334/682 - crosscheck相关推荐
- [剑指offer]面试题第[68-2]题[Leetcode][第236题][JAVA][二叉搜索树的最近公共祖先][递归]
[问题描述][中等] 235/68-1 搜索二叉树 236/68-2 二叉树 [解答思路] 递归 时间复杂度:O(N) 空间复杂度:O(N) 情况 1. , 2. , 3. , 4. 的展开写法如下. ...
- 053试题 331/507/564/574/625/673 - restore datafile
题目: 331.Which of the following represents the correct way to perform an online recovery of datafile ...
- 053试题 158/449/637 - Scheduler Window
题目: 158.You create two resource plans, one for data warehouse loading jobs at night and the other fo ...
- 053试题 21 / 198 /200 / 289/355/363/650/700 - duplicate database
题目: 21.You are managing an Oracle Database 11g instance. You want to create a duplicate database for ...
- 053试题 193 - recover 命令
题目: 193.What is the purpose of the recover command? (Choose all that apply.) A. Recover database dat ...
- 053试题 329 - recover corruption list
题目: 329.If you find errors in the view V$DATABASE_BLOCK_CORRUPTION with a status of MEDIA_CORRUPT, w ...
- 053试题 48 / 254 / 266 - dbms_resource_manager.calibrate_io
题目: 48.View the Exhibit to examine the error obtained during the I/O calibration process. There are ...
- 053试题 181/182/183/558/600/608/631/636/657/661/664/668/670/696 - RMAN backup
题目: 181.Your database has a backup that was taken yesterday (Tuesday) between 13:00 and 15:00 hours. ...
- 053试题 229 / 239- securefile lobs
题目: 229.Which statements are true regarding SecureFile LOBs? (Choose all that apply.) A. The amount ...
最新文章
- VTK:线图用法实战
- RabbitMQ死信实战(消费者1)
- Java内存体系结构(模型),垃圾回收和内存泄漏
- Github Action 快速构建 Electron 应用
- 性能测试的基本流程【最新】
- AS3之BitmapData学习整理
- php跨域允许json,PHP中JSON的跨域调用
- 抓包工具Fiddler的安装与使用
- windows安装pdf虚拟打印机
- SpringBoot文件上传文件大小限制The field file exceeds its maximum permitted size of 1048576 bytes.
- word计算机板书,Word板书设计怎么写
- NOIP提高组【JZOJ4809】挖金矿
- obtain,get,gain有什么区别
- 我想转行IT,想找一个培训机构,目前看了优就业、千峰、叩丁狼、黑马、达内等机构,请问哪个好一点?
- 软件测试入门知识,Linux系统基础教程——带你玩转Linux(五)
- java代码设置路由
- 蓝牙第一章:概述、无线技术协议和基带协议
- 网页中登陆注册是如何实现的
- 基于Android的股票交易软件,基于android的股票交易系统的融资融券交易子系统的设计与实现-软件工程专业论文.docx...
- 从一文中了解SSRF的各种绕过姿势及攻击思路