It automatically performs verification or evolves non-accepted plans, in COMPREHENSIVE mode when they perform better than existing accepted plans.
The optimizer always uses the fixed plan, if the fixed plan exists in the plan baseline.
It adds new, bettor plans automatically as fixed plans to the baseline.
The non-accepted plans are automatically accepted and become usable by the optimizer if they perform better than the existing accepted plans.
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.
第1题:
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.
第2题:
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.
第3题:
Which two statements about the SQL Management Base (SMB) are true? ()(Choose two.)
第4题:
Which three are the valid statements in relation to SQL plan baselines?()
第5题:
Examine the parameters for your database instance: Which three statements are true about the process of automatic optimization by using cardinality feedback?()
第6题:
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?()
第7题:
It contains only SQL profiles generated by SQL Tuning Advisor.
It stores plans generated by the optimizer using a stored outline.
It is part of the data dictionary and stored in the SYSAUX tablespace.
It is part of the data dictionary and stored in the SYSTEM tablespace.
It contains the statement log, the plan history, plan baselines, and SQL profiles.
第8题:
The optimizer adds the new plan to the plan history.
The optimizer selects the new plan for the execution of the SQL statement.
The optimizer adds the new plan to the SQL plan baseline as an accepted plan.
The optimizer adds the new plan to the SQL plan baseline but not in the ENABLED state.
The optimizer costs each of the accepted plans in the SQL plan baseline and picks the one with the lowest cost.
第9题:
They are tied to a specific statement or SQL id.
They instruct the maintenance job to collect missing statistics or perform dynamic sampling to generate a more optimal plan.
They are used to gather only missing statistics.
They are created for a query expression where statistics are missing or the cardinality estimates by the optimizer are incorrect.
They instruct the optimizer to create only column group statistics.
Improve plan accuracy by persisting both compilation and execution statistics in the SYSAUX tablespace.
第10题:
The plan baselines can be evolved over time to produce better performance.
The newly generated plans are directly placed into the SQL plan baseline without being verified.
The new SQL statements initially run with the plans that are known to produce good performance under standard test configuration.
The optimizer does not generate new plans for the SQL statements for which the SQL plan baseline has been imported.
第11题:
It detects changes in SQL execution plans.
It produces results that can be used to create the SQL plan baseline.
The importance of SQL statements is based on the size of the objects accessed.
It generates recommendations to run SQL Tuning Advisor to tune regressed SQLs.
It shows only the overall impact on workload and not the net SQL impact on workload.
第12题:
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.
The optimizer can re optimize a query only once using cardinality feedback.
The optimizer enables monitoring for cardinality feedback after the first execution of a query.
The optimizer does not monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled.
After the optimizer identifies a query as a re-optimization candidate, statistics collected by the collectors are submitted to the optimizer.
第13题:
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.
第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?()
第15题:
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?()
第16题:
Which three statements are true about adaptive SQL plan management?()
第17题:
Which statement describes the effect of the execution of the above PL/SQL block?()
第18题:
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?()
第19题:
It detects changes in SQL execution plans.
It produces results that can be used to create the SQL plan baseline.
The importance of SQL statements is based on the size of the objects accessed.
It generates recommendations to run SQL Tuning Advisor to tune regressed SQLs.
It shows only the overall impact on workload and not the net SQL impact on workload.
第20题:
It contains only SQL profiles generated by SQL Tuning Advisor.
It stores plans generated by the optimizer using a stored outline.
It is part of the data dictionary and stored in the SYSAUX tablespace.
It is part of the data dictionary and stored in the SYSTEM tablespace.
It contains the statement log, the plan history, plan baselines, and SQL profiles.
第21题:
It is built by Automatic Tuning Optimizer.
It cannot be stored persistently in the data dictionary.
It can be used by the query optimizer automatically.
It can be created manually by using the CREATE PROFILE command.
第22题:
The plan baselines are verified with the SQL profiles.
All fixed plan baselines are converted into nonfixed plan baselines.
All the nonaccepted SQL profiles are accepted into the plan baseline.
The nonaccepted plans in the SQL Management Base are verified with the existing plan baselines.
第23题:
The plans can be manually loaded to the SQL plan baseline.
The plans in the SQL plan baseline are verified and accepted plans.
The plans generated for every SQL statement are stored in the SQL plan baseline by default.
The plan baselines are stored temporarily in the memory as long as the database instance is running.
For the SQL plan baselines to be accessible to the optimizer, the SYSAUX tablespace must be online.