简体   繁体   English

记录已删除。 提交执行。 我们可以从任何地方取回这些记录吗?

[英]Records Deleted. Commit executed. Can we have that records back from anywhere?

恢复的记录应与删除时保持最新。

You could make use of the FLASHBACK QUERY . 您可以利用FLASHBACK QUERY

I answered a similar question here https://stackoverflow.com/a/27309814/3989608 我在这里回答了类似的问题https://stackoverflow.com/a/27309814/3989608

You could go back as far as depending on the settings of the UNDO_RETENTION parameter. 您可以根据UNDO_RETENTION参数的设置返回到最远。

A quote from T.Kyte regarding flashback query: T.Kyte关于闪回查询的引用:

flashback query has been enabled in the database for many many many years. 闪回查询已在数据库中启用很多年了。
We call it Multi-versioning and it gives us our consistent read and non-blocking reads. 我们称其为多版本,它为我们提供了一致的读取和非阻塞读取。

That means -- you've been doing flashback query for years. 这意味着-多年来您一直在进行闪回查询。

You do not need to "enable it", it is an intrisic feature/function of the database that you cannot in any way "disable"! 您不需要“启用”,它是数据库的固有功能,您不能以任何方式“禁用”!

It is ALWAYS on. 一直都在。

Link from AskTom https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6135698985750 来自AskTom的链接https://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6135698985750

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM