0% found this document useful (0 votes)
49 views2 pages

Flashback

Flashback database allows recovering a database to a previous state by using flashback logs containing before images of changed data blocks and a recovery writer process that writes the logs. Key parameters control the size and location of flashback logs and the database must be in archived log mode to enable flashback. Flashback can restore dropped tables, restore the database to a restore point before changes, or flashback the entire database to a past timestamp.

Uploaded by

Vinay Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views2 pages

Flashback

Flashback database allows recovering a database to a previous state by using flashback logs containing before images of changed data blocks and a recovery writer process that writes the logs. Key parameters control the size and location of flashback logs and the database must be in archived log mode to enable flashback. Flashback can restore dropped tables, restore the database to a restore point before changes, or flashback the entire database to a past timestamp.

Uploaded by

Vinay Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Flashback database

New logs (flashback Logs), which are before images of hanged data blocks. Recovery Writer background process (RVWR), which is responsible for writing the flashback logs. Initialization parameters: Views: 1. v$flashback_database_log. DB_RECOVEY_FILE_DEST_SIZE Sql> alter system set db_recovery_file_dest_size=2G scope=both; DB_RECOVERY_FILE_DEST Sql> alter system set db_recovery_file_dest=/path/ scope=both; To setup the flashback on: Shutdown; Startup mount; Alter database flashback on; Shutdown; Startup; Note: the database must be in archivelog mode; To setup: Shutdown; Startup mount; Archive log list; Alter database archivelog; ### if it is not enabled Alter database open; To check flashback feature on: Select flashback_on from v$database; Conn scott/tiger;

Drop table bonus; Flashback table bonus to before drop; Restore Point: >connect / as sysdba >create restore point beforedrop_emp; >conn scott/tiger; >drop table emp purge; >conn / as sysdba; >alter database close; >flashback database to restore point beforedrop_emp; >shutdown immediate; >startup mount; >alter database open resetlogs; >select storage_size, name from v$restore_point; To take database back in time: Select oldest_flashback_time from v$flashback_database_log; Alter database close; Flashback database to timestamp(to_date(2010-02-23:11:24.YYYY-MM-HH-:MI:SS)); Shutdown immediate; Startup mount; Alter database open resetlogs;

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy