DG出現ARCH ERROR的錯誤解決方式

來源:互聯網
上載者:User

SQL> select process,status from v$managed_standby;

PROCESS STATUS
--------- ------------
ARCH CONNECTED
ARCH ERROR
RFS IDLE
RFS IDLE


查看parameter,發現log_archive_dest_state_2設定ENABLE。由於不做SWITCH OVER,所以,這個參數對於我的DG來說,是沒用的。


於是:

alter system set log_archive_dest_state_2='DEFER' scope=both;


重新查詢:

SQL> select process,status from v$managed_standby;

PROCESS STATUS
--------- ------------
ARCH CONNECTED
ARCH ERROR
MRP0 WAIT_FOR_LOG
RFS IDLE
RFS IDLE


沒有效果。

查看參數:

log_archive_max_processes integer 2

對於我的有效ARCH進程實際上只有一個有效,於是:

alter system set log_archive_max_processes=1 scope=1;



SQL> select process,status from v$managed_standby;

PROCESS STATUS
--------- ------------
ARCH CONNECTED
RFS IDLE
RFS IDLE
MRP0 WAIT_FOR_LOG


開回來:

alter system set log_archive_max_processes=2 scope=2;


SQL> select process,status from v$managed_standby;

PROCESS STATUS
--------- ------------
ARCH CONNECTED
ARCH CONNECTED
RFS IDLE
RFS IDLE
MRP0 WAIT_FOR_LOG



問題解決。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.