单选题Examine the following PL/SQL block:   DECLARE   my_plans pls_integer; BEGIN  my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id=> ?9twu5t2dn5xd?; END;   Which statement is true about the plan being loaded into the SQL plan baseline by the above 

题目
单选题
Examine the following PL/SQL block:   DECLARE   my_plans pls_integer; BEGIN  my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id=> ?9twu5t2dn5xd?; END;   Which statement is true about the plan being loaded into the SQL plan baseline by the above command?()
A

 It is loaded with the FIXED status.

B

 It is loaded with the ACCEPTED status.

C

 It is not loaded with the ENABLED status.

D

 It is not loaded with the ACCEPTED status.


相似考题
更多“单选题Examine the following PL/SQL block:   DECLARE   my_plans pls_integer; BEGIN  my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id= ?9twu5t2dn5xd?; END;   Which statement is true about the plan being loaded into the SQL plan baseline by the above c”相关问题
  • 第1题:

    ExaminethefollowingPL/SQLblock:DECLAREmy_planspls_integer;BEGINmy_plans:=DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE(sql_id=>?9twu5t2dn5xd?;END;WhichstatementistrueabouttheplanbeingloadedintotheSQLplanbaselinebytheabovecommand?()

    A.ItisloadedwiththeFIXEDstatus.

    B.ItisloadedwiththeACCEPTEDstatus.

    C.ItisnotloadedwiththeENABLEDstatus.

    D.ItisnotloadedwiththeACCEPTEDstatus.


    参考答案:B

  • 第2题:

    To make audit information more productive, the DBA executes the following command before startingan audit operation:  SQL> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;  Which statement is true regarding the audit record generated when auditing starts after restarting thedatabase()

    • A、It contains only the plan for the SQL statement executed by the user.
    • B、It contains the SQL text executed by the user and the bind variables used with it.
    • C、It contains the plan and statistics associated with the SQL statement executed by the user.
    • D、It contains the plan for the SQL statement executed by the user and the bind variables used with it.

    正确答案:B

  • 第3题:

    You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL plan baseline. The STA generates a SQL profile for the SQL statement, which recommends that you accept the profile. Which statement is true when you accept the suggested SQL profile?()

    • A、The tuned plan is not added to the SQL plan baseline.
    • B、The tuned plan is added to the fixed SQL plan baseline as a fixed plan.
    • C、The tuned plan is added to the fixed SQL plan baseline as a nonfixed plan.
    • D、The tuned plan is added to a new nonfixed SQL plan baseline as a nonfixed plan.

    正确答案:C

  • 第4题:

    Examine the following PL/SQL block:   DECLARE   my_plans pls_integer; BEGIN  my_plans := DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE (sql_id=> ?9twu5t2dn5xd?; END;   Which statement is true about the plan being loaded into the SQL plan baseline by the above command?()

    • A、 It is loaded with the FIXED status.
    • B、 It is loaded with the ACCEPTED status.
    • C、 It is not loaded with the ENABLED status.
    • D、 It is not loaded with the ACCEPTED status.

    正确答案:B

  • 第5题:

    Which three statements are true about adaptive SQL plan management?()

    • A、It automatically performs verification or evolves non-accepted plans, in COMPREHENSIVE mode when they perform better than existing accepted plans.
    • B、The optimizer always uses the fixed plan, if the fixed plan exists in the plan baseline.
    • C、It adds new, bettor plans automatically as fixed plans to the baseline.
    • D、The non-accepted plans are automatically accepted and become usable by the optimizer if they perform better than the existing accepted plans.
    • E、The non-accepted plans in a SQL plan baseline are automatically evolved, in COMPREHENSIVE mode, during the nightly maintenance window and a persistent verification report is generated.

    正确答案:A,D,E

  • 第6题:

    Which statement describes the effect of the execution of the above PL/SQL block?()

    • A、The plan baselines are verified with the SQL profiles.
    • B、All fixed plan baselines are converted into nonfixed plan baselines.
    • C、All the nonaccepted SQL profiles are accepted into the plan baseline.
    • D、The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.

    正确答案:D

  • 第7题:

    Examine the following PL/SQL block:   SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob;  BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END;   Which statement describes the effect of the execution of the above PL/SQL block?()  

    • A、 The plan baselines are verified with the SQL profiles.
    • B、 All fixed plan baselines are converted into nonfixed plan baselines.
    • C、 All the nonaccepted SQL profiles are accepted into the plan baseline.
    • D、 The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.

    正确答案:D

  • 第8题:

    多选题
    The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario?()
    A

    The optimizer adds the new plan to the plan history.

    B

    The optimizer selects the new plan for the execution of the SQL statement.

    C

    The optimizer adds the new plan to the SQL plan baseline as an accepted plan.

    D

    The optimizer adds the new plan to the SQL plan baseline but not in the ENABLED state.

    E

    The optimizer costs each of the accepted plans in the SQL plan baseline and picks the one with the lowest cost.


    正确答案: A,E
    解析: 暂无解析

  • 第9题:

    单选题
    You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL plan baseline. The STA generates a SQL profile for the SQL statement, which recommends that you accept the profile. Which statement is true when you accept the suggested SQL profile?()
    A

    The tuned plan is not added to the SQL plan baseline.

    B

    The tuned plan is added to the fixed SQL plan baseline as a fixed plan.

    C

    The tuned plan is added to the fixed SQL plan baseline as a nonfixed plan.

    D

    The tuned plan is added to a new nonfixed SQL plan baseline as a nonfixed plan.


    正确答案: A
    解析: 暂无解析

  • 第10题:

    单选题
    Examine the following PL/SQL block:   SET SERVEROUTPUT ON SET LONG 10000 ECLARE report clob;  BEGIN report := DBMS_SPM.EVOLVE_SQL_PLAN_BASELINE(); DBMS_OUTPUT.PUT_LINE(report); END;   Which statement describes the effect of the execution of the above PL/SQL block?()
    A

     The plan baselines are verified with the SQL profiles.

    B

     All fixed plan baselines are converted into nonfixed plan baselines.

    C

     All the nonaccepted SQL profiles are accepted into the plan baseline.

    D

     The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.


    正确答案: A
    解析: 暂无解析

  • 第11题:

    多选题
    Which three are the valid statements in relation to SQL plan baselines?()
    A

    The plans can be manually loaded to the SQL plan baseline.

    B

    The plans in the SQL plan baseline are verified and accepted plans.

    C

    The plans generated for every SQL statement are stored in the SQL plan baseline by default.

    D

    The plan baselines are stored temporarily in the memory as long as the database instance is running.

    E

      For the SQL plan baselines to be accessible to the optimizer, the SYSAUX tablespace must be online.


    正确答案: A,B,E
    解析: 暂无解析

  • 第12题:

    单选题
    To make audit information more productive, the DBA executes the following command before startingan audit operation:  SQL> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE;  Which statement is true regarding the audit record generated when auditing starts after restarting thedatabase()
    A

    It contains only the plan for the SQL statement executed by the user.

    B

    It contains the SQL text executed by the user and the bind variables used with it.

    C

    It contains the plan and statistics associated with the SQL statement executed by the user.

    D

    It contains the plan for the SQL statement executed by the user and the bind variables used with it.


    正确答案: B
    解析: 暂无解析

  • 第13题:

    Examine the structure of the EMPLOYEES and DEPARTMENTS tables:Evaluate this SQL statement:Which SQL statement is equivalent to the above SQL statement?()

    A.

    B.

    C.

    D.


    参考答案:C

  • 第14题:

    While deploying a new application module, the software vendor ships the application software along with appropriate SQL plan baselines for the new SQLs being introduced. Which two statements describe the consequences?()

    • A、The plan baselines can be evolved over time to produce better performance.
    • B、The newly generated plans are directly placed into the SQL plan baseline without being verified.
    • C、The new SQL statements initially run with the plans that are known to produce good performance under standard test configuration.
    • D、The optimizer does not generate new plans for the SQL statements for which the SQL plan baseline has been imported.

    正确答案:A,C

  • 第15题:

    Which two statements about the SQL Management Base (SMB) are true? ()(Choose two.)

    • A、It contains only SQL profiles generated by SQL Tuning Advisor.
    • B、It stores plans generated by the optimizer using a stored outline.
    • C、It is part of the data dictionary and stored in the SYSAUX tablespace.
    • D、It is part of the data dictionary and stored in the SYSTEM tablespace.
    • E、It contains the statement log, the plan history, plan baselines, and SQL profiles.

    正确答案:C,E

  • 第16题:

    Which three are the valid statements in relation to SQL plan baselines?()

    • A、 The plans can be manually loaded to the SQL plan baseline.
    • B、 The plans in the SQL plan baseline are verified and accepted plans.
    • C、 The plans generated for every SQL statement are stored in the SQL plan baseline by default. 
    • D、 The plan baselines are stored temporarily in the memory as long as the database instance is running.
    • E、 For the SQL plan baselines to be accessible to the optimizer, the SYSAUX tablespace must be online.

    正确答案:A,B,E

  • 第17题:

    You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()

    • A、Every SQL statement in the STS is considered only once for execution
    • B、The SQL statements in the STS are executed concurrently to produce the execution plan and execution statistics
    • C、The execution plan and execution statistics are computed for each SQL statement in the STS
    • D、The effects of DDL and DML are considered to produce the execution plan and execution statistics

    正确答案:A,C

  • 第18题:

    The OPTIMIZER_USE_PLAN_BASELINES parameter is set to TRUE. The optimizer generates a plan for a SQL statement but does not find a matching plan in the SQL plan baseline. Which two operations are performed by the optimizer in this scenario?()

    • A、The optimizer adds the new plan to the plan history.
    • B、The optimizer selects the new plan for the execution of the SQL statement.
    • C、The optimizer adds the new plan to the SQL plan baseline as an accepted plan.
    • D、The optimizer adds the new plan to the SQL plan baseline but not in the ENABLED state.
    • E、The optimizer costs each of the accepted plans in the SQL plan baseline and picks the one with the lowest cost.

    正确答案:A,E

  • 第19题:

    多选题
    Which two statements about the SQL Management Base (SMB) are true?()
    A

    It contains only SQL profiles generated by SQL Tuning Advisor.

    B

    It stores plans generated by the optimizer using a stored outline.

    C

    It is part of the data dictionary and stored in the SYSAUX tablespace.

    D

    It is part of the data dictionary and stored in the SYSTEM tablespace.

    E

    It contains the statement log, the plan history, plan baselines, and SQL profiles.


    正确答案: D,B
    解析: 暂无解析

  • 第20题:

    单选题
    You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL plan baseline. The STA generates a SQL profile for the SQL statement,which recommends that you accept the profile.  Which statement is true when you accept the suggested SQL profile?()
    A

     The tuned plan is not added to the SQL plan baseline.

    B

     The tuned plan is added to the fixed SQL plan baseline as a fixed plan.

    C

     The tuned plan is added to the fixed SQL plan baseline as a nonfixed plan.

    D

     The tuned plan is added to a new nonfixed SQL plan baseline as a nonfixed plan.


    正确答案: B
    解析: 暂无解析

  • 第21题:

    多选题
    While deploying a new application module, the software vendor ships the application software along with appropriate SQL plan baselines for the new SQLs being introduced. Which two statements describe the consequences?()
    A

    The plan baselines can be evolved over time to produce better performance.

    B

    The newly generated plans are directly placed into the SQL plan baseline without being verified.

    C

    The new SQL statements initially run with the plans that are known to produce good performance under standard test configuration.

    D

    The optimizer does not generate new plans for the SQL statements for which the SQL plan baseline has been imported.


    正确答案: C,A
    解析: 暂无解析

  • 第22题:

    单选题
    Which statement describes the effect of the execution of the above PL/SQL block?()
    A

    The plan baselines are verified with the SQL profiles.

    B

    All fixed plan baselines are converted into nonfixed plan baselines.

    C

    All the nonaccepted SQL profiles are accepted into the plan baseline.

    D

    The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.


    正确答案: D
    解析: 暂无解析

  • 第23题:

    单选题
    To make audit information more productive, the DBA executes the following command before starting an auditoperation: SQL> ALTER SYSTEM SET AUDIT_TRAIL=DB,EXTENDED SCOPE=SPFILE; Which statement is true regarding the audit record generated when auditing starts after restarting Thedatabase()
    A

    It contains only the plan for the SQL statement executed by the user.

    B

    It contains the SQL text executed by the user and the bind variables used with it.

    C

    It contains the plan and statistics associated with the SQL statement executed by the user.

    D

    It contains the plan for the SQL statement executed by the user and the bind variables used with it


    正确答案: C
    解析: 暂无解析