CAN WE ENABLE FLASHBACK IN OPEN MODE IN ORACLE?

I suddenly had a thought in my mind that if we can enable flashback in open mode or should i need a database bounce to mount state.

[oracle@exdbadm01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Fri Aug 6 23:30:30 2021

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

kish@exdbx<>select flashback_on from v$database;

FLASHBACK_ON
------------------
NO

Yes of course, we can enable flashback when the database is in open mode without a bounce from 11g version onwards. But we should make sure that FRA is enabled

kish@exdbx<>show parameter db_Recovery

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest                string      +FRA
db_recovery_file_dest_size           big integer 9844M

kish@exdbx<>alter database flashback on;

Database altered.

Elapsed: 00:00:25.33
kish@exdbx<>select flashback_on from v$database;

FLASHBACK_ON
------------------
YES

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s