取决于你drop 掉的table是否在已经backup的datafile中,如果是的话,没什么问题。如果不是的话,那就没办法了。
1。找另一台机器,装有Oracle software的,将冷备份的datafile/controlfile以及随后产生的所有archive log 恢复会来。
2。启动一个实例到mount状态,当然,controlfile指向恢复出来的controlfile
3。offline drop 没有backup的datafile
4。recover until time (before drop table)
5。alter database open resetlogs;
6。exp the table you had droped.
7. imp to old database
谢谢kamus版主。
通过的您指点:
SQL> startup mount;
ORACLE 例程已经启动。
Total System Global Area118255568 bytes
Fixed Size
282576 bytes
Variable Size
83886080 bytes
Database Buffers 33554432 bytes
Redo Buffers
532480 bytes
数据库装载完毕。
SQL> alter database datafile 'd:\tablespace\user01.dbf' offline drop;
数据库已更改。
SQL> alter database datafile 'd:\tablespace\indx01.dbf' offline drop;
数据库已更改。
SQL> alter database open resetlogs;
数据库已更改。
--------------
已经能够成功启动数据库。。。 最初由 Kamus 发布
[B]If your table been dropped is in DATA01.DBF, then just restore this datafile and recover it only, you will not loose those 2 datafiles which you didn't backup. [/B]
但非常可惜,在这之前没有做rman的备份,那2个文件恢复不了了。
谢谢kamus版主和各位的帮助。。