OCP 1Z0 053 61

来源:互联网 发布:凌游网络 编辑:程序博客网 时间:2024/05/18 08:56
61.Which of the following advisors within the Oracle advisory framework will analyze a single SQL 
statement and make recommendations for performance improvement? 
A. SQL Repair Advisor 
B. SQL Optimizer 
C. SQL Access Advisor 
D. SQL Tuning Advisor 
Answer: D

http://docs.oracle.com/cd/E11882_01/server.112/e40540/cncptdba.htm#CNCPT1380

Application and SQL Tuning

Oracle Database completely automates the SQL tuning process. ADDM identifies SQL statements consuming unusually high system resources and therefore causing performance problems. In addition, AWR automatically captures the top SQL statements in terms of CPU and shared memory consumption. The identification of high-load SQL statements happens automatically and requires no intervention.

SQL Tuning Advisor

Automatic SQL tuning is exposed through SQL Tuning Advisor. SQL Tuning Advisor runs automatically during system maintenance windows as a maintenance task. During each automatic run, the advisor selects high-load SQL queries in the database and generates recommendations for tuning these queries.

SQL Tuning Advisor recommendations fall into the following categories:

  • Statistics analysis

  • SQL profiling

  • Access path analysis

  • SQL structure analysis

SQL profile contains additional statistics specific to a SQL statement and enables the optimizer to generate a better execution plan. Essentially, a SQL profile is a method for analyzing a query. Both access path and SQL structure analysis are useful for tuning an application under development or a homegrown production application.

A principal benefit of SQL Tuning Advisor is that solutions come from the optimizer rather than external tools (see "Overview of the Optimizer"). Thus, tuning is performed by the database component that is responsible for the execution plans and SQL performance. The tuning process can consider past execution statistics of a SQL statement and customizes the optimizer settings for this statement.


0 0
原创粉丝点击