SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 419430400 bytes
Fixed Size 1267836 bytes
Variable Size 356517764 bytes
Database Buffers 58720256 bytes
Redo Buffers 2924544 bytes
Database mounted.
Database opened.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup;
ORACLE instance started.
Total System Global Area 419430400 bytes
Fixed Size 1267836 bytes
Variable Size 356517764 bytes
Database Buffers 58720256 bytes
Redo Buffers 2924544 bytes
Database mounted.
Database opened.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
[oracle@localhost NACEC]$ rm -rf *.ctl
[oracle@localhost NACEC]$ rm -rf users01.dbf
[oracle@localhost wqbf]$ cp *.ctl /dat/DBData/oradata/NACEC/
[oracle@localhost wqbf]$ cp users01.dbf /dat/DBData/oradata/NACEC/
SQL> startup mount;
ORACLE instance started.
Total System Global Area 419430400 bytes
Fixed Size 1267836 bytes
Variable Size 356517764 bytes
Database Buffers 58720256 bytes
Redo Buffers 2924544 bytes
Database mounted.
SQL> recover database using backup controlfile
ORA-00279: change 1209677 generated at 03/10/2014 18:48:21 needed for thread 1
ORA-00289: suggestion :
/dat/DBSoftware/oracle/flash_recovery_area/NACEC/archivelog/2014_03_10/o1_mf_1_1
_%u_.arc
ORA-00280: change 1209677 for thread 1 is in sequence #1
SQL> recover database using backup controlfile
Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
/dat/DBData/oradata/NACEC/redo01.log
Log applied.
Media recovery complete.
SQL> alter database open resetlogs;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31448824/viewspace-2137537/ ,如需转载,请注明出处,否则将追究法律责任。