Oracle认证考试

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 sto

题目

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.
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

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

第2题:

View the Exhibit exhibit1 to examine the series of SQL commands. View the Exhibit exhibit2 to examine the plans available in the SQL plan baseline. The baseline in the first row of the Exhibit is created when OPTIMIZER_MODE was set to FIRST_ROWS.Which statement is true if the SQL query in exhibit1 is executed again when the valueof OPTIMIZER_MODE is set to FIRST_ROWS?()

A. The optimizer uses a new plan because none of the plans in the exhibit2 are fixed plans.

B. The optimizer uses the plan in the second row of the exhibit2 because it is an accepted plan.

C. The optimizer uses the plan in the first row of the exhibit2 because it is the latest generated plan.

D. The optimizer uses the plan in the first row of the exhibit2 because OPTIMIZER_MODE was set to FIRST_ROW during its creation.


参考答案:B

第3题:

You perform the following activities during the database upgrade from Oracle Database 10g to Oracle Database 11g:1. Capture plans for a SQL workload into a SQL Tuning Set (STS) before upgrade.2. Load these plans from the STS into the SQL plan baseline immediately after the upgrade.What is the reason for performing these activities? ()

A. to minimize plan regression due to the use of a new optimizer version

B. to completely avoid the use of new plans generated by a new optimizer version

C. to prevent plan capturing when the SQL statement is executed after the database upgrade

D. to keep the plan in the plan history so that it can be used when the older version of the optimizer is used


参考答案:A

第4题:

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

第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 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.


参考答案:A, B, D

第7题:

Identify the two direct sources from where SQL plans can be loaded into the SQL plan baselines.()

A. Cursor cache

B. Stored outline

C. SQL Tuning Set

D. Automatic Workload Repository (AWR) snapshots


参考答案:A, C

第8题:

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.


参考答案:C, E

第9题:

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

第10题:

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

更多相关问题