O'Reilly logo

Oracle Database 11g The Complete Reference by Kevin Loney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required