签到成功

知道了

CNDBA社区CNDBA社区

oracle 1z-082 第5题

2022-08-15 22:32 1123 0 原创 oracle
作者: hbhe0316

5.Which two statements are true about the PMON background process?
A.It rolls back transactions when a process fails
B.It registers database services with all local and remote listeners known to the database instance
C.It frees unused temporary segments
D.It frees resources held by abnormally terminated processes
E.It records checkpoint information in the control filehttp://www.cndba.cn/hbhe0316/article/108586http://www.cndba.cn/hbhe0316/article/108586http://www.cndba.cn/hbhe0316/article/108586

答案:AD
Oracle PMON作用:
pmon(Process Monitor process)用于监控其他后台进程。负责在连接出现异常中止后进行清理工作。例如,一个专用服务器进程崩溃或者出于某种原因被结束掉,就要由PMON进程负责善后(恢复或者撤销工作),并释放资源。PMON会回滚未提交的工作,释放锁,并释放之前为失败进程分配的SGA资源。http://www.cndba.cn/hbhe0316/article/108586

http://www.cndba.cn/hbhe0316/article/108586

PMON还负责监视其他Oracle后台进程,并在必要时重启这些后台进程。

http://www.cndba.cn/hbhe0316/article/108586

主要作用:http://www.cndba.cn/hbhe0316/article/108586http://www.cndba.cn/hbhe0316/article/108586http://www.cndba.cn/hbhe0316/article/108586

1.pmon进程会被定期唤醒,来清理dead process,并释放dead process持有的资源(latch and lock)。pmon通过轮询方式去检测dead process,轮询间隔为_dead_process_scan_interval(默认是60秒),并清理dead process
2回滚dead transaction,前_cleanup_rollback_entries个undo entries,超过则post通知smon,剩下由smon来完成剩余的回滚工作。这个_cleanup_rollback_entries默认参数默认是100,生产可以考虑设置大一些
3.将数据库服务注册到监听,轮询每60秒(12c后这项工作由LRRG进程负责)
4.监控后台进程,如果核心进程crash,pmon负责终止实例
5.rac服务端负载均衡,PMON进程每3秒会将各自节点的负载及连接数更新到service_register里面

http://www.cndba.cn/hbhe0316/article/108586

版权声明:本文为博主原创文章,未经博主允许不得转载。

oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1144008次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ