1Z0-117 無料問題集「Oracle Database 11g Release 2: SQL Tuning」
An application frequently executed similar types of queries that vary only in the usage of literals in the WHERE clause. You plan to use bind variable in place of literal values.
The CURSOR_SHARING parameter to set to EXACT.
Which two statements are true about the usage of bind variables?
The CURSOR_SHARING parameter to set to EXACT.
Which two statements are true about the usage of bind variables?
正解:A、B
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
To accomplish this, identify the required steps in the correct order from the steps given below:
1.Use DBNMS_APPLICATION_INFO to set the name of the module
2.Use DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE to enable statistics gathering for the module.
3.Use DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE to enable tracing for the service
4.Use the trcsess utility to consolidate the trace files generated.
5.Use the tkprof utility to convert the trace files into formatted output.
1.Use DBNMS_APPLICATION_INFO to set the name of the module
2.Use DBMS_MONITOR.SERV_MOD_ACT_STAT_ENABLE to enable statistics gathering for the module.
3.Use DBMS_MONITOR.SERV_MOD_ACT_TRACE_ENABLE to enable tracing for the service
4.Use the trcsess utility to consolidate the trace files generated.
5.Use the tkprof utility to convert the trace files into formatted output.
正解:C
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
The following parameter values are set for the instance:
OPTIMIZER_CAPTURE_SQL_BASELINE = FALSE OPTIMIZER_USESQL_PLAN_BASELINE = TRUE The SQL plan baseline for a SQL statement contains an accepted plan.
You want to add a new plan automatically as an accepted plan to the existing SQL plan baseline.
Examine the following tasks.
1.Set the OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE parameter to TRUE.
2.Evolve the new plan.
3.Fix the existing accepted plan.
4.Manually load the new plan.
Identify the task(s) that must be performed to accomplish this.
OPTIMIZER_CAPTURE_SQL_BASELINE = FALSE OPTIMIZER_USESQL_PLAN_BASELINE = TRUE The SQL plan baseline for a SQL statement contains an accepted plan.
You want to add a new plan automatically as an accepted plan to the existing SQL plan baseline.
Examine the following tasks.
1.Set the OPTIMIZER_CAPTURE_SQL_PLAN_BASELINE parameter to TRUE.
2.Evolve the new plan.
3.Fix the existing accepted plan.
4.Manually load the new plan.
Identify the task(s) that must be performed to accomplish this.
正解:F
解答を投票する
解説: (JPNTest メンバーにのみ表示されます)
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 メンバーにのみ表示されます)