zoukankan      html  css  js  c++  java
  • 053-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

    SQL 优化指可以以下任一来源运行
    - Active SQL (活动 SQL):分析当前活顶级 SQL 语
    - SQL Tuning SetsSQL 优化集):分析用提供的一组 SQL 语句, You can create a SQL tuning task or a single SQL statement.
    - Historical SQL (AWR) (以往的 SQL (AWR)):分析 AWR 快照捕SQL 语

    关联题  053-44 
      The SQL Tuning Advisor takes one or more SQL statements and performs an analysis to determine what can be done to improve the performance of the SQLstatement(s). Recommendations include rewriting the SQL statement, adding indexes, or even changing initialization parameters or memory component sizes such as the SGAsize or buffer cache.
      The SQL Tuning Advisor is accessed via tools such as Top SQL, the Automatic SQL Tuning Advisor, or the Top Sessions interface from within EM. In contrast, the SQL Access Advisor takes a broader view of SQL tuning. It considers a larger subset of SQL statements, such as all SQL statements run within a specified time period or from a SQL Tuning Set (STS). The SQL Access advisor may recommend additional indexes as well as materialized views to improve performance.
      The SQL Repair Advisor analyzes a SQL statement that causes a critical error and records the results in theAutomatic Diagnostic Repository (ADR). It may recommend a patch to fix the problem, or may provide an alternate execution plan to avoid causing an error in the future.
      Other advisors within the advisory framework include memory advisors that monitor usage of the SGAand PGAand recommend optimal settings for these memory structures including the substructures within them, such as the library cache and the large pool.
      Answer option A is incorrect. The SQL Repair Advisor only makes recommendations for SQL statements that cause a critical error in the ADR.
      Answer option B is incorrect. There is no such advisor such as the SQL Optimizer, although the Oracle optimizer uses statistics to determine the best execution plan.
      Answer option C is incorrect. The SQL Access Advisor analyzes groups of SQL statements that run during the same time period, not one or two SQL statements in isolation as the SQL TuningAdvisor does.


  • 相关阅读:
    关于EF中实体和数据表以及查询语句映射的问题
    流程设计(流程上下文法)
    流程设计(抽象节点法)
    第六章 跑马灯实验
    如何批量导入excel数据至数据库(MySql)--工具phpMyAdmin
    win10卸载瑞星
    如何在sublime上运行php
    Pycharm+django新建Python Web项目
    部署Asp.net Core 项目发生502.5 或者500 没有其他提示信息
    常用Windows DOS命令项目部署经常用到
  • 原文地址:https://www.cnblogs.com/Babylon/p/7850631.html
Copyright © 2011-2022 走看看