CHAPTER 29Using Flashback Queries
As part of its read consistency model, Oracle displays data that has been committed to the database. You can query data as it existed prior to a transaction being committed. If you accidentally commit an errant update or delete, you can use this capability—called a flashback query—to see the data as it existed prior to the commit. You can use the results of the flashback query to restore the data.
To support flashback queries, your database should use system-managed undo to automate management of rollback segments; see your DBA to determine if this feature is enabled in your environment. The DBA must create an undo tablespace, enable Automatic Undo Management, and establish an undo retention time window. Flashback ...
Get Oracle Database 11g The Complete Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.