您好,登錄后才能下訂單哦!
本篇內(nèi)容介紹了“分析SQL中的RAC+DataGuard Broker”的有關(guān)知識,在實(shí)際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
在備庫需要清理昨天的環(huán)境:
SQL> alter system set log_archive_dest_2=''; System altered.
主:
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
dgmgrl sys/oracle@woo
DGMGRL> CREATE CONFIGURATION dg_config AS PRIMARY DATABASE IS woo CONNECT IDENTIFIER IS woo; Configuration "dg_config" created with primary database "woo"
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)注億速云網(wǎng)站,小編將為大家輸出更多高質(zhì)量的實(shí)用文章!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。