欧美一区二区三区老妇人-欧美做爰猛烈大尺度电-99久久夜色精品国产亚洲a-亚洲福利视频一区二区

分析SQL中的RAC+DataGuardBroker

本篇內(nèi)容介紹了“分析SQL中的RAC+DataGuard Broker”的有關(guān)知識,在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!

10年積累的成都網(wǎng)站設(shè)計(jì)、成都網(wǎng)站制作、外貿(mào)網(wǎng)站建設(shè)經(jīng)驗(yàn),可以快速應(yīng)對客戶對網(wǎng)站的新想法和需求。提供各種問題對應(yīng)的解決方案。讓選擇我們的客戶得到更好、更有力的網(wǎng)絡(luò)服務(wù)。我雖然不認(rèn)識你,你也不認(rèn)識我。但先網(wǎng)站設(shè)計(jì)后付款的網(wǎng)站建設(shè)流程,更有宣化免費(fèi)網(wǎng)站建設(shè)讓你可以放心的選擇與我們合作。

前言:


         在備庫需要清理昨天的環(huán)境:

SQL> alter system set log_archive_dest_2='';
System altered.

一、主備庫啟用Broker特性

主:

SQL> alter system set dg_broker_start=true;
System altered.

備:

SQL> alter system set dg_broker_start=true;
System altered.
SQL> show parameter dg
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
adg_account_info_tracking            string      LOCAL
adg_redirect_dml                     boolean     FALSE
cell_offloadgroup_name               string
dg_broker_config_file1               string      /u01/app/oracle/product/19.3.0
                                                 /dbhome_1/dbs/dr1woo.dat
dg_broker_config_file2               string      /u01/app/oracle/product/19.3.0
                                                 /dbhome_1/dbs/dr2woo.dat
dg_broker_start                      boolean     TRUE
inmemory_adg_enabled                 boolean     TRUE                                               /dbhome_1/dbs/dr1woo.datdg_broker_config_file2               string      /u01/app/oracle/product/19.3.0                                                 /dbhome_1/dbs/dr2woo.datdg_broker_start                      boolean     TRUEinmemory_adg_enabled                 boolean     TRUE

二、登錄Broker命令行DGMGRL

dgmgrl sys/oracle@woo

三、創(chuàng)建Primary庫

DGMGRL> CREATE CONFIGURATION dg_config AS PRIMARY DATABASE IS woo CONNECT IDENTIFIER IS woo;
Configuration "dg_config" created with primary database "woo"

三、創(chuàng)建standby備庫

DGMGRL> ADD DATABASE woosty AS CONNECT IDENTIFIER IS woosty MAINTAINED AS PHYSICAL;
Database "woosty" added

四、啟用配置

DGMGRL> ENABLE CONFIGURATION;
Enabled.

五、查看配置

DGMGRL> show configuration;
Configuration - dg_config
  Protection Mode: MaxPerformance
  Members:
  woo - Primary database
Fast-Start Failover:  Disabled
Configuration Status:
SUCCESS   (status updated 0 seconds ago)

六、查看主庫信息

DGMGRL> SHOW DATABASE woo;
Database - woo
  Role:               PRIMARY
  Intended State:     TRANSPORT-ON
  Instance(s):
    woo1
    woo2
Database Status:
SUCCESS

七、查看備庫信息

DGMGRL>  show configuration;
Configuration - dg_config
  Protection Mode: MaxPerformance
  Members:
  woo    - Primary database
    woosty - Physical standby database
Fast-Start Failover:  Disabled
Configuration Status:
SUCCESS   (status updated 45 seconds ago)

八、故障診斷

DGMGRL> show database woo statusreport;
STATUS REPORT
       INSTANCE_NAME   SEVERITY ERROR_TEXT
DGMGRL> show database woosty statusreport;
STATUS REPORT
       INSTANCE_NAME   SEVERITY ERROR_TEXT

“分析SQL中的RAC+DataGuard Broker”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識可以關(guān)注創(chuàng)新互聯(lián)網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!

新聞標(biāo)題:分析SQL中的RAC+DataGuardBroker
網(wǎng)頁路徑:http://www.chinadenli.net/article14/gccgde.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供自適應(yīng)網(wǎng)站ChatGPT手機(jī)網(wǎng)站建設(shè)商城網(wǎng)站動(dòng)態(tài)網(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)

微信小程序開發(fā)