nerdexam
Oracle

1Z0-054 · Question #31

You plan to collect statistics for an important table in your database to help improved query performance. You are uncertain about the optimizer behavior after the statistics have been collected…

The correct answer is A. Set the PUBLISH preference to FALSE for the table. See the full explanation below for the reasoning.

Question

You plan to collect statistics for an important table in your database to help improved query performance. You are uncertain about the optimizer behavior after the statistics have been collected because currently there are no statistics for indexes or partitions on the table. You wish to test the performance effect of the newly collected statistics. How would you prevent the optimizer from using the newly collected statistics for other sessions immediately after statistics collection?

Options

  • ASet the PUBLISH preference to FALSE for the table.
  • BSet the NO_VALIDATE preference to TRUE for the table.
  • CSet the OPTIMIZER_DYNAMIC_SAMPLING parameter to 0.
  • DSet the OPTIMIZER_USE_SQL_PLAN_BASELINES parameter to FALSE for the session.
  • ESet the OPTIMIZER_USE_PENDING_STATISTICS parameter to FALSE for the session.

How the community answered

(30 responses)
  • A
    77% (23)
  • B
    7% (2)
  • C
    13% (4)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-054 Practice