ITPub博客

首页 > 数据库 > Oracle > Oracle OCP 1Z0 053 Q298(SQL Tuning Advisor&GATHER_STATS_JOB)

Oracle OCP 1Z0 053 Q298(SQL Tuning Advisor&GATHER_STATS_JOB)

原创 Oracle 作者:abstractcyj 时间:2016-04-03 14:39:57 0 删除 编辑
298.While tuning a SQL statement, the SQL Tuning Advisor finds an existing SQL profile for the statement
that has stale statistics available.
What would the optimizer do in this situation?
A. It updates the existing SQL profiles with current statistics.
B. It makes the statistics information available to GATHER_STATS_JOB.
C. It initiates the statistics collection process by running GATHER_STATS_JOB.
D. It logs a warning message in the alert log so that the DBA can perform statistics collection manually.
Answer: B

发现有过时的统计信息时,SQL Tuning Advisor通过启用一个作业去重新收集统计信息

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

Actions represent the jobs that are performed by a module. For example, the DBMS_SCHEDULER module can run the GATHER_STATS_JOB action to gather statistics on all database objects. If a single action is using the majority of the wait time, then you should investigate it.

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/8520577/viewspace-2074560/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
曾从事java方向开发多年。近年已经转入数据库方向。主要擅长SQL优化,Oracle数据库问题诊断,Oracle备份与恢复等。服务于医药物流,医院等行业

注册时间:2010-01-26

  • 博文量
    602
  • 访问量
    1091647