- 最后登录
- 2016-6-27
- 在线时间
- 134 小时
- 威望
- 351
- 金钱
- 2586
- 注册时间
- 2012-3-16
- 阅读权限
- 60
- 帖子
- 188
- 精华
- 6
- 积分
- 351
- UID
- 309
|
1#
发表于 2012-4-24 11:05:05
|
查看: 8363 |
回复: 3
You should only run the SET DBID command in the following specialized circumstances:
- You are not connected to a recovery catalog and want to restore the control file (see Example 2-137). The same restriction applies when you use the Data Recovery Advisor to restore a control file autobackup. CONFIGURE can locate an autobackup and restore it only if SET DBID is issued before ADVISE FAILURE.
- You want to restore the server parameter file (see Example 2-138).
- You are connected to the recovery catalog but not the target database and use the FOR DB_UNIQUE_NAME option on the CONFIGURE, LIST, REPORT, SHOW, or UNREGISTER commands.
这个是官方文档的说法,但是我还是不明白为什么需要set dbid。
为什么知道了db_name还不能restore controlfile?为什么连到recovery catalog就不用set dbid? |
|