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

abstractcyj發表於2016-04-03
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部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2074560/,如需轉載,請註明出處,否則將追究法律責任。

相關文章