拟将oracle的数据库改为归档模式,采用的步骤为:
sql>shutdown immediate;
sql>startup mount;
sql>alter database archivelog;
sql>alter database open;
在调试的过程中也出现了报错,在网上搜索寻找到了解决办法:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
*Cause: The database either crashed or was shutdown with the ABORT option. Media recovery cannot be enabled because the online logs may not be sufficient to recover the current datafiles.
*Action: Open the database and then enter the SHUTDOWN command with the NORMAL or IMMEDIATE option.