Which of the following identifies and creates an index to minimize the DB time for a particular SQL statement?
A. The SGA Tuning Advisor
B. The SQL Access Advisor
C. The SQL Tuning Advisor
D. The Memory Advisor
相关题053-61
SQL 优化指导:分析各个 SQL 语句, 并建议 SQL 概要文件, 统计信息, 索引和重构的 SQL 以改善 SQL性能。
SQL 访问指导:评估 SQL 的全部工作量, 并建议索引, 分区和实体化视图, 它们将改善 SQL 工作量的总体性能。
SQL Access Advisor 允许 DBA 收集工作负载的全局建议。 SQL 调优顾问是更细粒度的, 调整单个语句。
SQL Access advisor 的主要功能是建议缺少索引和实例化视图,但是综合任务分析还将创建可在 SQL Tuning 顾问程序中使用的 SQL 配置文件。
DBA 定义 SQL Access Advisor 任务中使用的 SQL,并且可以选择当前 SQL(用户定义的)SQL 集合, 历史工作负载或假设工作负载。
假设的工作负载非常有用,因为 DBA 只需要指定参与的表查询, SQL Access Advisor 会收集相应的 SQL 语句以创建工作负载。
参考:http://www.dba-oracle.com/oracle10g_tuning/t_sql_access_advisor.htm
SQL 调整顾问(STA)主要设计用于替换手动调整 SQL 语句和加快整个 SQL 调优过程。 SQL Tuning Advisor 研究执行不佳的 SQL 语句并根据 CPU, I / O 和临时空间评估资源消耗。
SQL 调优顾问(STA)使用自动调优优化器(ATO)来分析历史 SQL工作负载使用来自 AWR的数据,并且它生成对新索引和物化视图的建议这将减少与麻烦的 SQL 语句相关联的磁盘 I / O .
The SQLAccessAdvisor allows the DBA to gather global recommendations for a workload.
TheSQLTuningadvisor 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 SQLTuning 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 hypothetical workload.
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 the workload.
The SQL TuningAdvisor (STA) is primarily designed to replace the manual tuning of 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 AutomaticTuning Optimizer (ATO)to analyze historical SQLworkload using data from theAWR,andit generates recommendations fornew indexes and materialized views that will reduce the disk I/O associated with troublesome SQL statements.