单项选择题
You have created a resource plan, DAY. You execute the following code:
SQL> BEGIN
DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_DIRECTIVE
( PLAN => ’DAY’,
COMMENT => ’DEPARTMENTS PLAN’,
GROUP_OR_SUBPLAN => ’DEPARTMENTS’,
CPU_P1=0);
END;
Then, you issue the following code:
SQL> BEGIN
DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_DIRECTIVE
( PLAN => ’DAY’,
COMMENT => ’DEPARTMENTS PLAN’,
GROUP_OR_SUBPLAN => ’DEVELOPERS’,
CPU_P2=100);
END;
What will be the impact of executing the above code?()
A. The DEVELOPERS and DEPARTMENTS subplans will be allocated CPU equally.
B. The DEVELOPERS subplan will be allocated 100 percent CPU if there are no resources allocated to the DEPARTMENTS subplan.
C. The DEPARTMENT subplan will be allocated 100 percent CPU if there are no resources allocated to the DEVELOPERS subplan.
D. The second code will not execute because one resource plan cannot be used by more than one subplan.
相关考题
-
单项选择题
Youarecreatingaresourceconsumergroupusingthe DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUPprocedure.Whichparameterwillyouusetodefinetheresourceschedulingmethodusedbetweensessionswithintheresourcegroup?()
A. CPU_MTH
B. NEW_CPU_MTH
C. CPU_P1
D. CPU_P2 -
多项选择题
YousettheundopoolresourceplandirectivefortheconsumergroupnamedDSS_USERSthatisassignedtotheDAY_SHIFTplan.Thedatabaseusers,SCOTTandBLAKE,belongtotheDSS_USERSresourcegroup.Theuser,SCOTT,initiatesadatabasesessionandexecutesabatchoperationthatinsertsmillionsofrowsintotheHISTORYtable.WhichtwooptionsaretrueifthetotalundospaceallocatedtotheDSS_USERSgroupexceedsthevaluespecifiedintheundopoolresourceplandirective?()
A. The batch operation started by the user, SCOTT, terminates with an error.
B. The batch operation started by the user, SCOTT, hangs and you are required to increase the undo pool resource plan directive.
C. The batch operation started by the user, SCOTT, runs uninterrupted because the database uses the SYSTEM tablespace for the undo operation.
D. The user, BLAKE, cannot start a transaction that uses any DML operations until you increase the value of the undo pool resource plan directive.
E. The user BLAKE can start a transaction that uses any DML operations after the batch operation started by the user, SCOTT, terminates with an error. -
单项选择题
YouarecreatingthesimpleresourceplanusingtheDBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLANprocedure.Whichresourceallocationpolicywillbeusedfortheresourceplan?()
A. RATIO
B. EMPHASIS
C. ACTIVE_SESS_POOL_MTH
D. RESOURCE_DEGREE_LIMIT_ABSOLUTE
