[每日一题] 11gOCP 1z0-053 :2013-10-27 SQL Tuning Advisor

[复制链接]
查看11 | 回复8 | 2014-4-5 19:53:18 | 显示全部楼层 |阅读模式
最先答对且答案未经编辑的puber将获得纪念章一枚(答案不可编辑但可发新贴补充或纠正),注意:会员需对此贴答案进行说明和简要分析,无说明者不能获得奖励。其他会员如果提供有价值的分析、讨论也可获得纪念章一枚。


109.jpg (55.4 KB, 下载次数: 8)
下载附件
2013-10-27 07:47 上传


回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
选:C D
Input for SQL Tuning Advisor can come from several sources, including the following:
ADDM (Automatic Database Diagnostic Monitor)
The primary input source is ADDM. By default, ADDM runs proactively once every hour and analyzes key statistics gathered by the Automatic Workload Repository (AWR) over the last hour to identify any performance problems including high-load SQL statements. If a high-load SQL is identified, ADDM recommends running SQL Tuning Advisor on the SQL. See "Overview of the Automatic Database Diagnostic Monitor".
AWR
The second most important input source is the Automatic Workload Repository (AWR). AWR takes regular snapshots of system activity, including high-load SQL statements ranked by relevant statistics, such as CPU consumption and wait time.
You can view the AWR and manually identify high-load SQL statements. You can run SQL Tuning Advisor on these statements, although Oracle Database automatically performs this work as part of automatic SQL tuning. By default, AWR retains data for the last eight days. You can locate and tune any high-load SQL that ran within the retention period of AWR using this method. See "Overview of the Automatic Workload Repository".
Shared SQL area
The third likely source of input is the shared SQL area. The database uses this source to tune recent SQL statements that have yet to be captured in the AWR. The shared SQL area and AWR provide the capability to identify and tune high-load SQL statements from the current time going as far back as the AWR retention allows, which by default is at least 8 days.
SQL tuning set
Another possible input source for SQL Tuning Advisor is the SQL tuning set. A SQL tuning set (STS) is a database object that stores SQL statements along with their execution context. An STS can include SQL statements that are yet to be deployed, with the goal of measuring their individual performance, or identifying the ones whose performance falls short of expectation. When a set of SQL statements serve as input, the database must first construct and use an STS. See "Managing SQL Tuning Sets".

--Oracle? Database Performance Tuning Guide11g Release 2 (11.2)
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
消灭零回复...
CD不对.
E不清楚为什么对?
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
正确答案CD,2楼获奖。
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
SQL Tuning Advisor分的一条或多条SQL语句,检测统计信息,并可能给出创建SQL配置文件、新索引、物化视图或修改SQL语句的建议。
1、分析统计信息
2、分析SQL
3、访问路径
4、分析结构
SQL Tuning Advisor可以将多个源用于分析:
1、当前缓存在共享池的库缓存中的SQL语句
2、预先创建的一组语句
3、从AWR中检索的语句
4、单独的即时语句

回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
guoyJoe 发表于 2013-10-27 22:30
SQL Tuning Advisor分的一条或多条SQL语句,检测统计信息,并可能给出创建SQL配置文件、新索引、物化视图或 ...

学习了,好多题只能死记硬背啊,悲剧.
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
本帖最后由 guoyJoe 于 2013-10-28 15:18 编辑
dosimple 发表于 2013-10-28 13:44
学习了,好多题只能死记硬背啊,悲剧.

嘿嘿,好好学习,天天向上。。。要学的东西太多了,学不完啊,我也跟着大家一起学习讨论交流。。。。
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
46.What happens when you run the SQL Tuning Advisor with limited scope?
A. Access path analysis is notperformed for SQL statements.
B. SQL structure analysis is notperformed for SQL statements.
C. SQL Profile recommendations are not generated for SQL statements.
D. Staleness and absence of statistics are not checked for the objects in the SQL Tuning Advisor.
Answer: B
大神 这道题是不是应该选C呀?
回复

使用道具 举报

千问 | 2014-4-5 19:53:18 | 显示全部楼层
jia_33 发表于 2013-12-19 11:12
46.What happens when you run the SQL Tuning Advisor with limited scope?
A. Access path analysis is ...

应该是选C,答案有问题,仅供参考
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行