Oracle Database 11g Release 2: SQL Tuning - 1Z0-117 FREE EXAM DUMPS QUESTIONS & ANSWERS
Examine Exhibit 1 to view the query and its execution plan.

Examine Exhibit 2 to view the structure and indexes for the EMPLOYEES and DEPARTMENTS tables.

Examine Exhibit 3 to view the initialization parameters for the instance.

Why is sort-merge join chosen as the access method?

Examine Exhibit 2 to view the structure and indexes for the EMPLOYEES and DEPARTMENTS tables.

Examine Exhibit 3 to view the initialization parameters for the instance.

Why is sort-merge join chosen as the access method?
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Examine the statements being executed for the first time:

Steps followed by a SQL statement during parsing:
1.Search for a similar statement in the shared pool.
2.Search for an identical statement in the shared pool.
3.Search the SQL area of identical statement already in the shared pool.
4.Proceed through the remaining steps of the parse phase to ensure that the execution plan of the existing statements is applicable to the view statement.
5.Perform hard parsing.
6.Share the SQL area of the similar statement already in the shared pool.
Identify the required steps in the correct sequence used by the third query.

Steps followed by a SQL statement during parsing:
1.Search for a similar statement in the shared pool.
2.Search for an identical statement in the shared pool.
3.Search the SQL area of identical statement already in the shared pool.
4.Proceed through the remaining steps of the parse phase to ensure that the execution plan of the existing statements is applicable to the view statement.
5.Perform hard parsing.
6.Share the SQL area of the similar statement already in the shared pool.
Identify the required steps in the correct sequence used by the third query.
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Examine the Exhibit 1 to view the structure of and indexes for EMPLOYEES and DEPARTMENTS tables.


Which three statements are true regarding the execution plan?


Which three statements are true regarding the execution plan?
Correct Answer: B,C,D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Which two tasks would you perform to achieve this?
Correct Answer: D,E
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
View the exhibit and examine the findings provided by the SQL Tuning Advisor for SELECT Statement.

A SWL plan baseline already exists for the execution plan.
What two methods can you use to ensure that an alternate plan becomes an accepted plan?

A SWL plan baseline already exists for the execution plan.
What two methods can you use to ensure that an alternate plan becomes an accepted plan?
Correct Answer: B,C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You are administering a database that supports a DSS workload, where in an application a set of queries use the query rewrite on materialized views. You notice that these queries are performing poorly.
Which two actions can you make to improve the performance of theses queries?
Which two actions can you make to improve the performance of theses queries?
Correct Answer: A,B
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You are administering a database that supports an OLTP workload. Automatic optimizer statistics collection is scheduled in the night maintenance window. Some of the tables get updated frequently during day time and you notice a performance degradation for queries using those tables due to stale statistics.
Which two options might help to avoid the performance degradation of the queries?
Which two options might help to avoid the performance degradation of the queries?
Correct Answer: B,D
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
You need to migrate database from oracle Database 10g to 11g. You want the SQL workload to start the 10g plans in the 11g database instance and evolve better plans.
Examine the following steps:
1.Capture the pre-Oracle Database 11g plans in a SQL Tuning Set (STS)
2.Export the STS from the 10g system.
3.Import the STS into Oracle Database 11g.
4.Set the OPTIMIZER_FEATURES_ENABLE parameter to 10.2.0.
5.Run SQL Performance Analyzer for the STS.
6.Set the OPTIMIZER_FEATURES_ENABLE parameter to 11.2.0.
7.Rerun the SQL Performance Analyzer for the STS.
8.Set OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE to TRUE.
9.Use DBMS_SPM.EVOLVE_SQL_BASELINE function to evolve the plans.
10.
Set the OPTIMIZER_USE_SQL_PLAN_BASELINE to TRUE.
Identify the required steps in the correct order.
Examine the following steps:
1.Capture the pre-Oracle Database 11g plans in a SQL Tuning Set (STS)
2.Export the STS from the 10g system.
3.Import the STS into Oracle Database 11g.
4.Set the OPTIMIZER_FEATURES_ENABLE parameter to 10.2.0.
5.Run SQL Performance Analyzer for the STS.
6.Set the OPTIMIZER_FEATURES_ENABLE parameter to 11.2.0.
7.Rerun the SQL Performance Analyzer for the STS.
8.Set OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE to TRUE.
9.Use DBMS_SPM.EVOLVE_SQL_BASELINE function to evolve the plans.
10.
Set the OPTIMIZER_USE_SQL_PLAN_BASELINE to TRUE.
Identify the required steps in the correct order.
Correct Answer: C
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
View the exhibit and examine the plans in the SQL baseline for a given statement. Which interpretation is correct?


Correct Answer: A
Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).