1Z0-117 無料問題集「Oracle Database 11g Release 2: SQL Tuning」
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.
正解:D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
Examine the Exhibit1 to view the structure of an indexes for the EMPLOYEES table.

Examine the query:
SQL> SELECT * FROM employees WHERE employees_id IN (7876, 7900, 7902);
EMPLOYEE_ID is a primary key in the EMPLOYEES table that has 50000 rows.
Which statement is true regarding the execution of the query?

Examine the query:
SQL> SELECT * FROM employees WHERE employees_id IN (7876, 7900, 7902);
EMPLOYEE_ID is a primary key in the EMPLOYEES table that has 50000 rows.
Which statement is true regarding the execution of the query?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
You are administering a database supporting an OLTP application. The application runs a series of extremely similar queries the MYSALES table where the value of CUST_ID changes.
Examine Exhibit1 to view the query and its execution plan.

Examine Exhibit 2 to view the structure and indexes for the MYSALES table. The MYSALES table has 4 million records.

Data in the CUST_ID column is highly skewed. Examine the parameters set for the instance:

Which action would you like to make the query use the best plan for the selectivity?
Examine Exhibit1 to view the query and its execution plan.

Examine Exhibit 2 to view the structure and indexes for the MYSALES table. The MYSALES table has 4 million records.

Data in the CUST_ID column is highly skewed. Examine the parameters set for the instance:

Which action would you like to make the query use the best plan for the selectivity?
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
A database supports three applications: CRM, ERP, and ACC. These applications connect to the database by using three different services: CRM_SRV for the CRM application, ERP_SRV for the ERP application, and ACC_SRV for the ACC application.
You enable tracing for the ACC_SRV service by issuing the following command:
SQL> EXECUTE DBMS for the ACC_SRV service by issuing the following command:
SQL> EXECUITIVE DBMS_MONITOR. SERV_MOD_ACT_TRACE_ENABLE (service_name => 'ACC_SRV', waits => TRUE, binds = > FALSE, instance_name = > 'inst1');
Which statement is true?
You enable tracing for the ACC_SRV service by issuing the following command:
SQL> EXECUTE DBMS for the ACC_SRV service by issuing the following command:
SQL> EXECUITIVE DBMS_MONITOR. SERV_MOD_ACT_TRACE_ENABLE (service_name => 'ACC_SRV', waits => TRUE, binds = > FALSE, instance_name = > 'inst1');
Which statement is true?
正解:D
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)