Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\dafeizi>sqlplus /NOLOGSQL*Plus: Release 10.2.0.1.0 - Production on 星期六 11月 2 23:48:13 2013Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> connect sys/orcl as sysdba
已连接。
SQL> shutdown normal
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 192940932 bytes
Database Buffers 411041792 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> 从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开C:\Users\dafeizi>sqlplus /NOLOGSQL*Plus: Release 10.2.0.1.0 - Production on 星期六 11月 2 23:51:28 2013Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> connect sys/orcl as sysdba
已连接。
SQL> select group#,sequence#,archived,status from v$log; GROUP# SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
1 0 NO UNUSED
3 0 NO CURRENT
2 0 NO UNUSEDSQL> alter database clear logfile group 1;数据库已更改。SQL> alter database clear logfile group 2;数据库已更改。SQL> alter database clear logfile group 3;数据库已更改。SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database clear unarchived logfile group 1
2 ;数据库已更改。SQL> alter database clear unarchived logfile group 2;数据库已更改。SQL> alter database clear unarchived logfile group 3;数据库已更改。SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database clear unarchived logfile group 3;数据库已更改。SQL> recover database until cancel
ORA-00283: 恢复会话因错误而取消
ORA-01610: 使用 BACKUP CONTROLFILE 选项的恢复必须已完成
SQL>
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\dafeizi>sqlplus /NOLOGSQL*Plus: Release 10.2.0.1.0 - Production on 星期六 11月 2 23:48:13 2013Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> connect sys/orcl as sysdba
已连接。
SQL> shutdown normal
ORA-01109: 数据库未打开
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount
ORACLE 例程已经启动。Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 192940932 bytes
Database Buffers 411041792 bytes
Redo Buffers 7135232 bytes
数据库装载完毕。
SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> 从 Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options 断开C:\Users\dafeizi>sqlplus /NOLOGSQL*Plus: Release 10.2.0.1.0 - Production on 星期六 11月 2 23:51:28 2013Copyright (c) 1982, 2005, Oracle. All rights reserved.SQL> connect sys/orcl as sysdba
已连接。
SQL> select group#,sequence#,archived,status from v$log; GROUP# SEQUENCE# ARC STATUS
---------- ---------- --- ----------------
1 0 NO UNUSED
3 0 NO CURRENT
2 0 NO UNUSEDSQL> alter database clear logfile group 1;数据库已更改。SQL> alter database clear logfile group 2;数据库已更改。SQL> alter database clear logfile group 3;数据库已更改。SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database clear unarchived logfile group 1
2 ;数据库已更改。SQL> alter database clear unarchived logfile group 2;数据库已更改。SQL> alter database clear unarchived logfile group 3;数据库已更改。SQL> alter database open;
alter database open
*
第 1 行出现错误:
ORA-01589: 要打开数据库则必须使用 RESETLOGS 或 NORESETLOGS 选项
SQL> alter database clear unarchived logfile group 3;数据库已更改。SQL> recover database until cancel
ORA-00283: 恢复会话因错误而取消
ORA-01610: 使用 BACKUP CONTROLFILE 选项的恢复必须已完成
SQL>
---------------------------------------------------------------
QQ号:107644445
QQ群:180042757(注明来自csdn)
邮箱:[email protected]
BLOG:http://www.xifenfei.com