1.关闭主库和备库
2.备库move数据文件
3.备库startup mount
4.备库 alter database rename file '/orcldg/datafile/users01.dbf' to '/orcldg/datafile1/users01.dbf';
5.alter database recover managed standby database disconnect from session;
6.recover managed standby database cancel;
7.alter database open read only;
8.alter database recover managed standby database using current logfile disconnect from session;