小编给大家分享一下oracle 11g如何构建physical DG,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

成都创新互联专业提供眉山联通机房服务,为用户提供五星数据中心、电信、双线接入解决方案,用户可自行在线购买眉山联通机房服务,并享受7*24小时金牌售后服务。
把主库打开,创建一个最新的pfile,如果已经有pfile此命令会覆盖之前的pfile成为最新的pfile
- [root@slow ~]# su - oracle 
- [oracle@slow ~]$ !sql 
- sqlplus / as sysdba 
- SQL*Plus: Release 11.2.0.4.0 Production on Tue Jan 9 20:15:45 2018 
- Copyright (c) 1982, 2013, Oracle. All rights reserved. 
- Connected to an idle instance. 
- SQL> startup 
- ORACLE instance started. 
- Total System Global Area 521936896 bytes 
- Fixed Size 2254824 bytes 
- Variable Size 377489432 bytes 
- Database Buffers 138412032 bytes 
- Redo Buffers 3780608 bytes 
- Database mounted. 
- Database opened. 
- SQL> create pfile from spfile; 
- File created. 
- SQL> 
切到oracle用户$ORACLE_HOME/dbs路径下,查看刚才创建好的pifle文件,再复制一份成备库的pfile文件
- [root@slow ~]# su - oracle 
- [oracle@slow ~]$ cd $ORACLE_HOME/dbs 
- [oracle@slow dbs]$ ls 
- hc_slow.dat init.ora initslow.ora lkSLOW orapwslow spfileslow.ora 
- [oracle@slow dbs]$ ll 
- total 24 
- -rw-rw---- 1 oracle oinstall 1544 Jan 9 20:15 hc_slow.dat 
- -rw-r--r-- 1 oracle oinstall 2851 May 15 2009 init.ora 
- -rw-r--r-- 1 oracle oinstall 731 Jan 9 20:16 initslow.ora 
- -rw-r----- 1 oracle oinstall 24 Dec 24 23:10 lkSLOW 
- -rw-r----- 1 oracle oinstall 1536 Dec 24 22:31 orapwslow 
- -rw-r----- 1 oracle oinstall 2560 Jan 9 20:15 spfileslow.ora 
- [oracle@slow dbs]$ cp initslow.ora initgotime.ora 
- [oracle@slow dbs]$ ls 
- hc_slow.dat initgotime.ora init.ora initslow.ora lkSLOW orapwslow spfileslow.ora 
- [oracle@slow dbs]$ 
以上是“oracle 11g如何构建physical DG”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注创新互联行业资讯频道!
本文标题:oracle11g如何构建physicalDG
转载来于:http://www.scyingshan.cn/article/ishsoe.html

 建站
建站
 咨询
咨询 售后
售后
 建站咨询
建站咨询 
 