您好,登錄后才能下訂單哦!
The Oracle Data Guard monitor process (DMON) is an Oracle background process that runs on every database instance that is managed by the broker. When you start the Oracle Data Guard broker, a DMON process is created.
--DMON是一個Oracle后臺進程,隨著數據庫實例的啟動而啟動。
Whether you use Cloud Control or DGMGRL to manage a database, the DMON process is the server-side component that interacts with the local database and the DMON processes of the other databases to perform the requested function. The DMON process is also responsible for monitoring the health of the broker configuration and for ensuring that every database has a consistent description of the configuration.
--DMON進程是服務端組件,它是用來負責監控broker配置的健康狀況,確保每個數據庫都有一份一致的配置。
當我們使用dgmgrl /這個客戶端命令的時候,腦海里要一個一張圖。
接下來我們做一個測試,看看這個DMON進程異常被KILL掉后會怎樣。
[root@roidb01 ~]# ps -ef|grep dmon
root 1651 1547 0 21:02 pts/2 00:00:00 grep --color=auto dmon
oracle 27802 1 0 20:34 ? 00:00:00 ora_dmon_orcl
[root@roidb01 ~]# kill -9 27802
[root@roidb01 ~]#
[root@roidb01 ~]# ps -ef|grep dmon
root 1788 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1799 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1804 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1809 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1815 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1822 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1827 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
root 1895 1547 0 21:03 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
oracle 1934 1 0 21:03 ? 00:00:00 ora_dmon_orcl
root 2120 1547 0 21:04 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]# ps -ef|grep dmon
oracle 1934 1 0 21:03 ? 00:00:00 ora_dmon_orcl
root 2128 1547 0 21:04 pts/2 00:00:00 grep --color=auto dmon
[root@roidb01 ~]#
Oracle數據庫有幾大類進程,有的進程被KILL會導致實例重啟,有的會導致主機重啟,有的會自動拉起來,并且不會影響到應用,DMON屬于后者。
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。