Which of the following restrictions are not true with respect to tablespace point-in-time recovery?(Choose all that apply)
A、The target database must be in NOARCHIVELOG mode.
B、No backup is required of the database before you perform a TSPITR.
C、You must have all archived redo logs generated since the last backup up to the point to which you want to restore the transport set.
D、If you rename a tablespace, you can not perform a TSPITR to any point in time before that rename operation occurred.
E、If you have tables in tablespace_1 that have associated constraints in tablespace_2, then you must transport both tablespaces.
题目中问的是关于表空间时间点恢复,哪些是错误的,要求选出所有的错误选项。
本题中,对于选项A,选项说目标数据库必须在非归档模式,说法错误,事实上,目标数据库必须必须在归档模式。所以,选项A正确。
对于选项B,选项说当执行一个表空间时间点恢复之前,不需要数据库备份,说法错误,必须进行数据库的备份才可以进行TSPITR。所以,选项B正确。
对于选项C,选项说必须拥有所有归档REDO日志,该日志生成于自上次备份到想还原传输集的点,说法正确。所以,选项C错误。
对于选项D,选项说如果重命名一个表空间,那么就不能执行TSPITR到在重命名操作发生之前任何一点,说法正确。所以,选项D错误。
对于选项E,选项说如果有表在表空间1,而表空间1与表空间2有相关约束,那么必须传输两个表空间,说法正确,传输的表空间必须是自包含的表空间。所以,选项E错误。
所以,本题的答案为A、B。
● 本文作者:小麦苗,只专注于数据库的技术,更注重技术的运用
● 作者博客地址:http://blog.itpub.net/26736162/abstract/1/
● 文章内容来源于作者的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解
● 版权所有,欢迎分享本文,转载请保留出处
长按下图识别二维码或微信扫描下图二维码来关注小麦苗的微信公众号:xiaomaimiaolhr,学习最实用的数据库技术。




