What must be done to ensure that an optimizer uses the latest statistics of the table?

You are administering a database that supports an OLTP workload in which one of the applications inserts rows in a table until 12 noon every, after which multiple years perform frequent queries on the table. You want the statistics to be more representative of the table population.
What must be done to ensure that an optimizer uses the latest statistics of the table?
A. Set the STALE_PERCENT preference to 0.
B. Set the OPTIMIZER_MODE parameter to ALL_ROWS.
C. Set the OPTIMIZER_DYNAMIC_SAMPLING parameter to 0.
D. Use the FIRST_ROWS_n hint in the queries.
E. Unlock and gather statistics for the table after inserts are done and lock them again.

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.