資料庫開啟了FLASHBACK後,如要關閉achivelog要先取消FLASHBACK

kewin發表於2011-12-21
資料庫開啟了FLASHBACK後,如要關閉achivelog要先取消FLASHBACK
2011-12-21

SQL> select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

資料庫啟動到MOUNT狀態:
SQL> alter database noarchivelog;
alter database noarchivelog
*
ERROR at line 1:
ORA-38774: cannot disable media recovery - flashback database is enabled


SQL> select flashback_on from v$database;

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

SQL> alter database flashback off;

Database altered.

SQL> alter database noarchivelog;

Database altered.

SQL> archive log list
Database log mode              No Archive Mode
Automatic archival             Disabled
Archive destination            L:\oradata\test\arch11
Oldest online log sequence     227
Current log sequence           231

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/40239/viewspace-713682/,如需轉載,請註明出處,否則將追究法律責任。

相關文章