最近在看OCP题库,为了加强记忆,将一些知识点进行总结。
1、You are working on an Oracle Database 10g database.For which purposes would you use the Flashback Transaction Query feature?(choose all that apply)
题目的意思是闪回事务查询的目的是什么?
A、To recover a dropped table.不对,为了恢复一张删除的表
B、To recover a dropped schema. 不对,为了恢复一张删除的方案。
C、To recover data from a truncated table. 不对
D、To view changes made by all the transaction s during a given period of time.
E 、To view changes made by a single transaction during a given period of time.
D和E是正确的。是为了查看某个时间阶段事务的改变。
闪回事务查询(flashback transaction)
闪回事务查询指的是一个视图:flashback_transaction_query.同时它也是一个诊断工具,利用它能显示哪些事务引起了数据的变化,并为此提供了供撤销事务的SQL语句。闪回事务查询利用的是undo表空间里的undo数据。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22969361/viewspace-677975/ ,如需转载,请注明出处,否则将追究法律责任。