首先查看是否开启闪回:
SQL> select flashback_on from V$database;
FLASHBACK_ON
------------------
NO
二
如果已经开启了闪回,无须执行下面的操作。
cd /u01
mkdir flashback(生成闪回目录)
SQL> alter system set db_recovery_file_dest_size=30G scope=both;
SQL> alter system set db_recovery_file_dest='/u01/flashback' scope=both;
SQL> shutdown immediate
SQL> startup mount
SQL> alter database archivelog;
SQL> alter database flashback on;
SQL> alter database open;
三
再进行确认:
SQL> select flashback_on from V$database;
FLASHBACK_ON
------------------
YES
分享标题:如何开启oracle闪回
本文路径:
http://cxhlcq.com/article/gcgopj.html