TK40:关于Flashback and Point_in_time Recovery的问题

[复制链接]
查看11 | 回复3 | 2005-12-23 17:57:47 | 显示全部楼层 |阅读模式
在TK第40题中,
40.You are working on an online transaction processing (OLTP) system. You notice that
a PL/SQL procedure got executed twice at 2:00 p.m. This has incorrectly updated the
EMP_SAL table. How would you revert the table to its state at 2:00 p.m.?
A: Perform point-in-time recovery to 2:00 p.m.
B: Use Flashback Table feature to revert the changes.
C: Restore the entire database from the recent backup and open it.
D: Issue the rollback statement with system change number (SCN).
Correct Answers: B
查资料后知道:point-in-time recovery 就是incomplete recover
Flashback 也是一种 incomplete recover,都可针对用户错误就table进行恢复。
请问本题中答案A是否也可?
回复

使用道具 举报

千问 | 2005-12-23 17:57:47 | 显示全部楼层
Incomplete recovery, or point-in-time recovery, uses a backup to produce a noncurrent
version of the database. In other words, you do not apply all of the redo records
generated after the most recent backup. You usually perform incomplete recovery of
the whole database in the following situations:
■ Media failure destroys some or all of the online redo logs.
■ A user error causes data loss, for example, a user inadvertently drops a table.
Page 296 of 542 shows:
When to Use Oracle Flashback
Flashback Table is a push button solution to restore the contents of a table to a given
point in time.
Page 297 of 542 continues:
Flashback Database and Flashback Table differ in granularity, performance, and
restrictions. For a primary database, consider using Flashback Database rather than
Flashback Table in the following situations:
■ There is a logical data corruption, particularly undo corruption.
■ A user error affected the whole database.
综上可看出,若table的一部分错误updated,应用Flashback,若整个table被错误drop掉,可用point_in_time recover来恢复。
回复

使用道具 举报

千问 | 2005-12-23 17:57:47 | 显示全部楼层
题目上说的是revert the table to its state
如果你做不完全恢复的话,肯定会影响到数据库中的其他数据
回复

使用道具 举报

千问 | 2005-12-23 17:57:47 | 显示全部楼层
as you wish
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行