存储 频道

07年Q2存储出货量达5148.3TB EMC居首位

shutdown abort的情况,恢复全部控制文件(不包括数据文件和redo)
准备工作 
以下说明,如果完全恢复数据库,应该可以看到insert into test1 values(7); 
SQL> insert into test1 values(3); 
SQL> insert into test1 values(4); 
SQL> commit; 
SQL> alter system switch logfile; 
SQL> conn internal 
SQL> archive log list; 
Database log mode Archive Mode 
Automatic archival Enabled 
Archive destination d:\BACKUPDB\archive 
Oldest online log sequence 8 
Next log sequence to archive 10 
Current log sequence 10 
SQL> select * from test1; 
SQL> insert into test1 values(5); 
SQL> commit; 
SQL> insert into test1 values(6); 
SQL> alter system switch logfile; 
System altered. 
SQL> conn internal 
SQL> conn lunar/lunar 
SQL> insert into test1 values(7); 
1 row created. 
SQL> shutdown abort; 
ORA-01031: insufficient privileges 
SQL> conn internal 
SQL> shutdown abort; 
ORACLE instance shut down. 
删除那个控制文件,把热备的控制文件拷贝过来 
mount数据库 
SQL> startup mount 
ORACLE instance started. 
ORA-01991: invalid password file 'd:\oracle1\ora81\DATABASE\PWDbackup.ORA' 
 
0
相关文章