zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V13.02-233题

    233.Your system has been upgraded from Oracle Database 10g to Oracle Database 11g. You imported

    SQL Tuning Sets (STS) from the previous version. After changing the OPTIMIZER_FEATURE_ENABLE

    parameter to 10.2.0.4 and running the SQL Performance Analyzer, you observed performance regression

    for a few SQL statements. What would you do with these SQL statements?

    A. Set OPTIMIZER_USE_PLAN_BASELINES to FALSE to prevent the use of regressed plans.

    B. Capture the plans from the previous version using STS and then load them into the stored outline.

    C. Capture the plans from the previous version using STS and then load them into SQL Management Base (SMB).

    D. Set OPTIMIZER_CAPTURE_SQL_PLAN_BASELINES to FALSE to prevent the plans from being loaded to the SQL plan baseline.

    Answer: C

    答案解析:

    参考:http://blog.csdn.net/rlhua/article/details/16369811


    SQL 性能分析器和SQL 计划基准方案
    上一个图中所述的第一种方法的一个变体是通过使用SQL 性能分析器。可以捕获STS  中Oracle Database 11 g 之前的计划,并将这些计划导入到Oracle Database 11 g。然后,将初始化参数optimizer_features_enable设置为10g,使优化程序将此数据库当成10g Oracle DB 进行操作。接下来,为STS  运行SQL 性能分析器。运行完成后,将初始化参数optimizer_features_enable设置回11g,并为STS  重新运行SQL 性能分析器。
    SQL 性能分析器将生成一个报表,列出了从10g 到11g 其计划已发生回归的SQL 语句。
    对于那些SQL 性能分析器显示的由于新优化程序版本而发生性能回归的SQL 语句,可以使用STS  捕获其计划,然后将这些计划加载到SMB 中。
    此方法提供了计划植入进程的最佳形式,因为它有助于在保留数据库升级所带来的性能改进的同时,防止性能回归。

     

  • 相关阅读:
    ios arc __strong与__weak的一个小实例
    ObjectiveC block详解
    网站开发中JS中的常用语句
    js数组的操作
    sql常用语句
    复制myeclipse工程,注意事项
    JSP入门代码
    传智播客——struts2添加request/session/application属性
    WEB 开发前传——js笔记
    jdbc初步(转)
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316301.html
Copyright © 2011-2022 走看看