多选题Which three statements are true about SQL plan directives?()AThey are tied to a specific statement or SQL id.BThey instruct the maintenance job to collect missing statistics or perform dynamic sampling to generate a more optimal plan.CThey are used to

题目
多选题
Which three statements are true about SQL plan directives?()
A

They are tied to a specific statement or SQL id.

B

They instruct the maintenance job to collect missing statistics or perform dynamic sampling to generate a more optimal plan.

C

They are used to gather only missing statistics.

D

They are created for a query expression where statistics are missing or the cardinality estimates by the optimizer are incorrect.

E

They instruct the optimizer to create only column group statistics.

F

Improve plan accuracy by persisting both compilation and execution statistics in the SYSAUX tablespace.


相似考题
更多“多选题Which three statements are true about SQL plan directives?()AThey are tied to a specific statement or SQL id.BThey instruct the maintenance job to collect missing statistics or perform dynamic sampling to generate a more optimal plan.CThey are used to ”相关问题
  • 第1题:

    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

  • 第2题:

    Which two statements about subqueries are true? ()

    • A、A subquery should retrieve only one row.
    • B、A subquery can retrieve zero or more rows.
    • C、A subquery can be used only in SQL query statements.
    • D、Subqueries CANNOT be nested by more than two levels.
    • E、A subquery CANNOT be used in an SQL query statement that uses group functions.
    • F、When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.

    正确答案:B,F

  • 第3题:

    Which statement is true when you run the SQL Tuning Advisor with limited scope?()

    • A、Access path analysis is not performed for the SQL statements.
    • B、SQL structure analysis is not performed for the SQL statements.
    • C、SQL Profile recommendations are not generated for the SQL statements.
    • D、The staleness and absence of the statistics are not checked for the objects in the query supplied to the SQL Tuning Advisor.

    正确答案:C

  • 第4题:

    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

  • 第5题:

    Examine the parameters for your database instance: Which three statements are true about the process of automatic optimization by using cardinality feedback?()

    • A、The optimizer automatically changes a plan during subsequent execution of a SQL statement if there is a huge difference in optimizer estimates and execution statistics.
    • B、The optimizer can re optimize a query only once using cardinality feedback.
    • C、The optimizer enables monitoring for cardinality feedback after the first execution of a query.
    • D、The optimizer does not monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled.
    • E、After the optimizer identifies a query as a re-optimization candidate, statistics collected by the collectors are submitted to the optimizer.

    正确答案:A,C,D

  • 第6题:

    多选题
    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
    解析: 暂无解析

  • 第7题:

    多选题
    Which three statements about performance analysis by SQL Performance Analyzer are true? ()(Choose three.)
    A

    It detects changes in SQL execution plans.

    B

    It produces results that can be used to create the SQL plan baseline.

    C

    The importance of SQL statements is based on the size of the objects accessed.

    D

    It generates recommendations to run SQL Tuning Advisor to tune regressed SQLs.

    E

    It shows only the overall impact on workload and not the net SQL impact on workload.


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

  • 第8题:

    多选题
    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.


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

  • 第9题:

    单选题
    You are maintaining the PROD database of NetFx Corporation. You set the value of the SQL_TRACE parameter to TRUE. What will be the impact of this setting?()
    A

     The SQL trace facility will generate the performance statistics for all the SQL statements for an instance and write them in the USER_DUMP_DEST directory.

    B

     The SQL trace facility will generate the performance statistics for all the SQL statements for a session and write them in the USER_DUMP_DEST directory.

    C

     The SQL trace facility will generate the performance statistics for all the SQL statements for an instance and write them in the BACKGROUND_DUMP_DEST directory.

    D

     The SQL trace facility will generate the performance statistics for all the SQL statements for a session and write them in the BACKGROUND_DUMP_DEST directory.


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

  • 第10题:

    多选题
    Which three features work together, to allow a SQL statement to have different cursors for the samestatement based on different selectivity ranges?()
    A

    Bind Variable Peeking

    B

    SQL Plan Baselines

    C

    Adaptive Cursor Sharing

    D

    Bind variable used in a SQL statement

    E

    Literals in a SQL statement


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

  • 第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题:

    多选题
    Examine the parameters for your database instance: Which three statements are true about the process of automatic optimization by using cardinality feedback?()
    A

    The optimizer automatically changes a plan during subsequent execution of a SQL statement if there is a huge difference in optimizer estimates and execution statistics.

    B

    The optimizer can re optimize a query only once using cardinality feedback.

    C

    The optimizer enables monitoring for cardinality feedback after the first execution of a query.

    D

    The optimizer does not monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled.

    E

    After the optimizer identifies a query as a re-optimization candidate, statistics collected by the collectors are submitted to the optimizer.


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

  • 第13题:

    Which three features work together, to allow a SQL statement to have different cursors for the samestatement based on different selectivity ranges?()

    • A、Bind Variable Peeking
    • B、SQL Plan Baselines
    • C、Adaptive Cursor Sharing
    • D、Bind variable used in a SQL statement
    • E、Literals in a SQL statement

    正确答案:A,C,E

  • 第14题:

    You are maintaining the PROD database of NetFx Corporation. You set the value of the SQL_TRACE parameter to TRUE. What will be the impact of this setting?()  

    • A、 The SQL trace facility will generate the performance statistics for all the SQL statements for an instance and write them in the USER_DUMP_DEST directory.
    • B、 The SQL trace facility will generate the performance statistics for all the SQL statements for a session and write them in the USER_DUMP_DEST directory.
    • C、 The SQL trace facility will generate the performance statistics for all the SQL statements for an instance and write them in the BACKGROUND_DUMP_DEST directory.
    • D、 The SQL trace facility will generate the performance statistics for all the SQL statements for a session and write them in the BACKGROUND_DUMP_DEST directory.

    正确答案:A

  • 第15题:

    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

  • 第16题:

    Which three statements about performance analysis by SQL Performance Analyzer are true?()

    • A、 It detects changes in SQL execution plans.
    • B、 It produces results that can be used to create the SQL plan baseline.
    • C、 The importance of SQL statements is based on the size of the objects accessed.
    • D、 It generates recommendations to run SQL Tuning Advisor to tune regressed SQLs.
    • E、 It shows only the overall impact on workload and not the net SQL impact on workload.

    正确答案:A,B,D

  • 第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题:

    多选题
    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,B
    解析: 暂无解析

  • 第19题:

    单选题
    Which statement is true when you run the SQL Tuning Advisor with limited scope?()
    A

    Access path analysis is not performed for the SQL statements.

    B

    SQL structure analysis is not performed for the SQL statements.

    C

    SQL Profile recommendations are not generated for the SQL statements.

    D

    The staleness and absence of the statistics are not checked for the objects in the query supplied to the SQL Tuning Advisor.


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

  • 第20题:

    多选题
    Which three statements are true about SQL plan directives?()
    A

    They are tied to a specific statement or SQL id.

    B

    They instruct the maintenance job to collect missing statistics or perform dynamic sampling to generate a more optimal plan.

    C

    They are used to gather only missing statistics.

    D

    They are created for a query expression where statistics are missing or the cardinality estimates by the optimizer are incorrect.

    E

    They instruct the optimizer to create only column group statistics.

    F

    Improve plan accuracy by persisting both compilation and execution statistics in the SYSAUX tablespace.


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

  • 第21题:

    多选题
    Which two statements about subqueries are true? ()
    A

    A subquery should retrieve only one row.

    B

    A subquery can retrieve zero or more rows.

    C

    A subquery can be used only in SQL query statements.

    D

    Subqueries CANNOT be nested by more than two levels.

    E

    A subquery CANNOT be used in an SQL query statement that uses group functions.

    F

    When a subquery is used with an inequality comparison operator in the outer SQL statement, the column list in the SELECT clause of the subquery should contain only one column.


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

  • 第22题:

    多选题
    Which three statements about performance analysis by SQL Performance Analyzer are true?()
    A

    It detects changes in SQL execution plans.

    B

    It produces results that can be used to create the SQL plan baseline.

    C

    The importance of SQL statements is based on the size of the objects accessed.

    D

    It generates recommendations to run SQL Tuning Advisor to tune regressed SQLs.

    E

    It shows only the overall impact on workload and not the net SQL impact on workload.


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

  • 第23题:

    单选题
    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
    解析: 暂无解析

  • 第24题:

    多选题
    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.


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