oracle11g如何構(gòu)建physicalDG

小編給大家分享一下oracle 11g如何構(gòu)建physical DG,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!

成都創(chuàng)新互聯(lián)專業(yè)提供眉山聯(lián)通機(jī)房服務(wù),為用戶提供五星數(shù)據(jù)中心、電信、雙線接入解決方案,用戶可自行在線購買眉山聯(lián)通機(jī)房服務(wù),并享受7*24小時(shí)金牌售后服務(wù)。

把主庫打開,創(chuàng)建一個(gè)最新的pfile,如果已經(jīng)有pfile此命令會(huì)覆蓋之前的pfile成為最新的pfile

  1. [root@slow ~]# su - oracle

  2. [oracle@slow ~]$ !sql

  3. sqlplus / as sysdba

  4. SQL*Plus: Release 11.2.0.4.0 Production on Tue Jan 9 20:15:45 2018

  5. Copyright (c) 1982, 2013, Oracle. All rights reserved.

  6. Connected to an idle instance.

  7. SQL> startup

  8. ORACLE instance started.

  9. Total System Global Area  521936896 bytes

  10. Fixed Size            2254824 bytes

  11. Variable Size          377489432 bytes

  12. Database Buffers      138412032 bytes

  13. Redo Buffers            3780608 bytes

  14. Database mounted.

  15. Database opened.

  16. SQL> create pfile from spfile;

  17. File created.

  18. SQL>

切到oracle用戶$ORACLE_HOME/dbs路徑下,查看剛才創(chuàng)建好的pifle文件,再復(fù)制一份成備庫的pfile文件

  1. [root@slow ~]# su - oracle

  2. [oracle@slow ~]$ cd $ORACLE_HOME/dbs

  3. [oracle@slow dbs]$ ls

  4. hc_slow.dat  init.ora  initslow.ora  lkSLOW  orapwslow  spfileslow.ora

  5. [oracle@slow dbs]$ ll

  6. total 24

  7. -rw-rw---- 1 oracle oinstall 1544 Jan  9 20:15 hc_slow.dat

  8. -rw-r--r-- 1 oracle oinstall 2851 May 15  2009 init.ora

  9. -rw-r--r-- 1 oracle oinstall  731 Jan  9 20:16 initslow.ora

  10. -rw-r----- 1 oracle oinstall   24 Dec 24 23:10 lkSLOW

  11. -rw-r----- 1 oracle oinstall 1536 Dec 24 22:31 orapwslow

  12. -rw-r----- 1 oracle oinstall 2560 Jan  9 20:15 spfileslow.ora

  13. [oracle@slow dbs]$ cp initslow.ora initgotime.ora

  14. [oracle@slow dbs]$ ls

  15. hc_slow.dat  initgotime.ora  init.ora  initslow.ora  lkSLOW  orapwslow  spfileslow.ora

  16. [oracle@slow dbs]$

以上是“oracle 11g如何構(gòu)建physical DG”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道!

名稱欄目:oracle11g如何構(gòu)建physicalDG
分享URL:http://muchs.cn/article4/ishsoe.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供靜態(tài)網(wǎng)站、服務(wù)器托管、外貿(mào)網(wǎng)站建設(shè)品牌網(wǎng)站制作、做網(wǎng)站、品牌網(wǎng)站設(shè)計(jì)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

成都網(wǎng)站建設(shè)