multiple resource plan…

本文针对OCP认证考试中关于资源计划指令与消费者组DB_GRP的相关题目进行了解析,重点介绍了当多个资源计划指令指向同一消费者组时,如何确定并应用各种限制条件。
ocp试题:
97.  In  your  production  database,  you  have  multiple  resource  plan  directives  that  refer  to  the  consumer
group  DB_GRP.  Which  two  statements  are  correct?  (Choose  two.)
A.The  parallel  degree  limit  for  DB_GRP  will  be  the  minimum  of  all  the  incoming  values.
B.The  parallel  degree  limit  for  DB_GRP  will  be  the  maximum  of  all  the  incoming  values.
C.The  maximum  estimated  execution  time  for  DB_GRP  would  be  the  most  nonrestrictive  of  all  incoming
values.
D.If  session  switched  from  the  DB_GRP  consumer  group  to  another  consumer  group  because  it
exceeded  the  prescribed  switch  time,  then  that  session  would  not  execute  if  the  active  session  pool  for
the  new  consumer  group  was  full.
E.If  session  switched  from  the  DB_GRP  consumer  group  to  another  consumer  group  because  it
exceeded  the  prescribed  switch  time,  then  that  session  would  execute  even  if  the  active  session  pool  for
the  new  consumer  group  was  full.
Answer: AE

参考:

文档地址:http://docs.oracle.com/cd/B19306_01/server.102/b14231/dbrm.htm#ADMIN027

How Resource Plan Directives Interact

If there are multiple resource plan directives that refer to the same consumer group, then the following rules apply for specific cases:

  1. The parallel degree limit for the consumer group will be the minimum of all the incoming values.

  2. The active session pool for the consumer group will be the sum of all the incoming values and the queue timeout will be the minimum of all incoming timeout values.

  3. If there is more than one switch group and more than one switch time, the Database Resource Manager will choose the most restrictive of all incoming values. Specifically:

    • SWITCH_TIME = min (all incoming over_switch_time values)

    • SWITCH_ESTIMATE = TRUE overrides SWITCH_ESTIMATE = FALSE

      Notes:

      • If both plan directives specify the same switch time, but different switch groups, then the choice as to which group to switch to is statically but arbitrarily decided by the Database Resource Manager.

      • You cannot specify both SWITCH_TIME and SWITCH_TIME_IN_CALL plan directives for a single consumer group.

  4. If a session is switched to another consumer group because it exceeds its switch time, that session will execute even if the active session pool for the new consumer group is full.

  5. The maximum estimated execution time will be the most restrictive of all incoming values. Specifically:

    MAX_EST_EXEC_TIME = min (all incoming MAX_EST_EXEC_TIME values)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值