參數log_archive_max_processes


今天查詢V$ARCHIVE_PROCESSES時發現兩台機器的值不一樣

Serve A:
SQL> select * from V$ARCHIVE_PROCESSES;
   PROCESS STATUS                         LOG_SEQUENCE STATE
---------- ------------------------------ ------------ ------------
         0 ACTIVE                                    0 IDLE
         1 ACTIVE                                    0 IDLE
         2 ACTIVE                                    0 IDLE
         3 ACTIVE                                    0 IDLE
         4 STOPPED                                   0 IDLE
         5 STOPPED                                   0 IDLE

[root@oel62 ~]# ps -ef |grep arc
oracle    2505     1  0 07:46 ?        00:00:01 ora_arc0_testdb
oracle    2515     1  0 07:46 ?        00:00:01 ora_arc1_testdb
oracle    2517     1  0 07:46 ?        00:00:01 ora_arc2_testdb
oracle    2519     1  0 07:46 ?        00:00:01 ora_arc3_testdb
root      4413  2989  0 09:43 pts/2    00:00:00 grep arc

從Table與Linux來看,有四個Processes在執行


Server B:
SQL> select * from V$ARCHIVE_PROCESSES;
   PROCESS STATUS                         LOG_SEQUENCE STATE
---------- ------------------------------ ------------ ------------
         0 ACTIVE                                    0 IDLE
         1 ACTIVE                                    0 IDLE
         2 STOPPED                                   0 IDLE

testfh:/home/mgr>ps -ef |grep arc
cloneora  6862     1  0  Jul 25  ?         2:49 ora_arc0_CLONE
cloneora  6864     1  0  Jul 25  ?         0:21 ora_arc1_CLONE
clonemgr  6435  6196  1 09:44:02 pts/tb    0:00 grep arc

從Table與Linux來看,有兩個Processes在執行。


原因是參數log_archive_max_processes,它是指定arhcive processes的最大數量。

Windows 11安裝時跳過網路連線