How to enable and disable flashback
How to enable and disable flashback
Oracle Database - Enterprise Edition - version 11.2.0.4.0
Enable flashback
Make sure the database is in archive log mode.
Refer: How to enable and disable archive log mode
To enable flashback we need to set two parameters: DB_RECOVERY_FILE_DEST and DB_RECOVERY_FILE_DEST_SIZE.
SQL> alter system set db_recovery_file_dest='/home/oracle/app/oracle'; |
Disable flashback
SQL> alter database flashback off; |
If you are in 10g, need to enable/disable the flashback mode in mount stage.
shutdown immediate
startup mount
alter database flashback off;
alter database open;
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.