QUESTION NO: 499
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语句时, SQL调整顾问
会发现现有的SQL配置文件文件的语句有陈旧的统计。在这种情况下,优化器能做什么?
B.它使统计信息可用于收集统计作业。
时间: 2024-10-07 05:22:52