SQL Access Advisor and SQL Tunning Advisor

The SQL Access Advisor allows the DBA to gather global recommendations for a workload. The SQL Tuning

advisor is more granular, tuning a single statement.

The main functions of the SQL Access advisor is to recommend missing indexes and materialized views, but

a comprehensive task analysis will also create SQL Profiles that can be used within the SQL Tuning advisor.

The DBA defines the SQL used in the SQL Access Advisor task, and can choose current SQL, a user-defined

set of SQL, a historical workload, or a hypotheticalworkload.

A hypothetical workload is very useful because the DBA need-only specify the tables that participate in the

queries, and the SQL Access Advisor gathers the appropriate SQL statements to create theworkload.

http://www.dba-oracle.com/oracle10g_tuning/t_sql_access_advisor.htm

The SQL Tuning Advisor (STA) is primarily designed to replace the manual tuningof SQL statements and

speed up the overall SQL tuning process. The SQL Tuning Advisor studies poorly executing SQL statements

and evaluates resource consumption in terms of CPU, I/O, and temporary space.

The SQL Tuning Advisor (STA) works with the Automatic Tuning Optimizer (ATO) to analyze historical SQL

workload using data from the AWR, and it generates recommendations for new indexes and materialized views

that will reduce the disk I/O associated with troublesome SQL statements.

http://www.dba-oracle.com/oracle10g_tuning/t_sql_tuning_advisor.htm
---------------------
版权声明:本文为CSDN博主「Riveore」的原创文章,遵循CC 4.0 by-sa版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/rlhua/article/details/14088735

猜你喜欢

转载自www.cnblogs.com/shenggong/p/11328607.html