10.2.0.5 on windows 2008 64 bit
在主库mount或open状态下
1 alter database create (physical /logical) standby controlfile as 'XXXX';
在standby controlfile前面有两个选择,文档里面并没有说哪个是默认的??这个还要好好看看,后面做了实验再补充
这种方式得到的controlfile直接拷贝到standby就可以用了
2 使用rman备份
backup format='e:\standby.ctl' current controlfile for standby;
这种方式得到的controlfile需要在standby上restore
restore standby controlfile from 'e:\STANDBY.CTL';
3 backup format=‘e:\standby2.ctl' as copy current controlfile for standby这种方式备份的controlfile直接拷贝到standby上就可以用了