ocp-422

QUESTION NO: 422?
To generate recommendations to improve the performance of a set of SQL queries in an application, you
execute the following blocks of code:
BEGIN dbms_advisor.create_task(dbms_advisor.sqlaccess_advisor,’TASK1’);
END;
/
BEGIN dbms_advisor.set_task_parameter(‘TASK1’,’ANALYSIS_SCOPE’,’ALL’);
dbms_advisor.set_task_parameter(‘TASK1’,’MODE’,’COMPREHENSIVE’); END;
/ BEGIN dbms_advisor.execute_task(‘TASK1’);
dbms_output.put_line(dbms_advisor.get_task_script(‘TASK1’));
END;
/
The blocks of code execute successfully; however, you do not get the required outcome. What could be the
reason?
A. A template needs to be associated with the task.
B.A workload needs to be associated with the task.
C. The partial or complete workload scope needs to be associated with the task.
D. The type of structures (indexes, materialized views, or partitions) to be recommended need to be specified
for the task.
Answer: B

为了生成建议以提高在应用程序中的一套SQL查询性能,你执行下面的
代码块:
代码块执行成功,但是你没有得到所需的结果。可能是什么原因?

B.工作负载需要与任务相关联。

你可能感兴趣的:(ocp-422)