12C PMON与LREG

看了很多博客,发现在动态注册与静态注册上,很多都是用12c之前的版本,于是就与12C不符合。
12C新弄了个LRGE来分了PMON的权限,大家都能理解,毕竟功能粒度越小越号。

PMON(Process Monitor Process)

The process monitor (PMON) detects the termination of other background processes. If a server or dispatcher process terminates abnormally, then the PMON group is responsible for performing process recovery. Process termination can have multiple causes, including operating system kill commands or ALTER SYSTEM KILL SESSION statements.

这个进程检测其他后台进程是否被终止了。如果一个服务进程或调度进程被非法终止,这个PMON组(这就意味着PMON不是一个进程在战斗)就会回应,并且尝试恢复进程。进程的终止可能会有多种原因,包括操作系统的kill指令,或者oracle自己的指令 ALTER SYSTEM KILL SESSION statements 。

LREG(Listener Registration Process)

The listener registration process (LREG) registers information about the database instance and dispatcher processes with the Oracle Net Listener.
When an instance starts, LREG polls the listener to determine whether it is running. If the listener is running, then LREG passes it relevant parameters. If it is not running, then LREG periodically attempts to contact it.

这个进程通过Oracle Net Listener 注册关于数据库实例和调度进程。
当一个实例启动,LREG轮询检测 listener去看他是否运行,如果监听器正在运行,则LREG将相关参数传递给它。 如果它没有运行,则LREG会定期尝试联系它。

综上,当动态注册和静态注册看到PMON时,学习12C的就可以自动脑补成LREG了。

发布了19 篇原创文章 · 获赞 15 · 访问量 1087

猜你喜欢

转载自blog.csdn.net/qq_30396379/article/details/99450812