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/
,如需转载,请注明出处,否则将追究法律责任。