|
最初由 parrotao 发布
[B]也许我没写清楚
我有数据库A(5 datafile)
shutdown database A
copy all database file to a new folder
我创建了数据库B,(A的克隆)
using command
create control file database b ......
可是一不小心少写了一个数据文件
然后用resetlogs打开数据库
这时候发现少了一个数据文件,
恰巧这个数据文件是在一个index表空间里
我的第一个反应是创建一个文件后,用alter index xxx rebuild 命令重建index
试了几个命令都不行(我创建克隆数据库时只能用resetlogs)
最后我还是重做了所有的操作,
不知道各位觉得我的一个反应是否有问题?
这种情况下只能重做吗? [/B]
YES. This is a big problem for most people
When you issue ‘RESETLOGS”, It reset your database to a new incarnation!
In the new incarnation the ‘old’ logs CAN NOT be use for recovering
the database in the mode of new incarnation. |
|