Flashback queries
When applications are updating the database tables, some inadvertent action may cause data loss. Some bug in the application logic may cause the deletion of some data that is not supposed to be deleted. Oracle database provides very robust data recovery and backup features, but these are mostly used in case of media or hardware failures. The data loss caused by application or normal user actions often does not need the traditional data recovery mechanism provided by the database. the flashback feature of Oracle provides an easier to manage mechanism for recovering the data loss at the row-level or at the table-level. The main features of the flashback query are as follows:
Flashback Database: This restores the entire database to a specific point-in-time using Oracle-optimized flashback logs, rather than via backups and forward recovery.
Flashback Transaction: This undoes the effects of a single transaction, and optionally, all of its dependent transactions via a single...