1Z0-182 practice question 9 of 15
Which two statements describe how Optimizer Statistics are collected?
Full set: 94 questionsOptimizer statistics, which are crucial for generating efficient execution plans, are collected in two primary ways. First, Oracle Database includes an automated maintenance task, "auto optimizer stats collection," that runs during predefined maintenance windows to gather stale or missing statistics. Second, for more granular control or immediate updates, a Database Administrator can manually collect statistics at various levels (e.g., table, schema, database) using the procedures within the DBMSSTATS PL/SQL package, such as GATHERTABLESTATS or GATHERSCHEMASTATS.
B. While Real-Time Statistics exist for bulk loads, general DML operations do not trigger real-time statistics collection; it is primarily a scheduled or manual task.
D. The Statistics Advisor analyzes existing statistics and provides recommendations for improvement; it does not perform the collection itself.
E. The Automatic Workload Repository (AWR) collects performance metrics and workload data, not the optimizer statistics used for query planning.
Oracle Database 23ai SQL Tuning Guide, "Managing Optimizer Statistics", section "Automatic Optimizer Statistics Collection".
Oracle Database 23ai SQL Tuning Guide, "Managing Optimizer Statistics", section "Manual Optimizer Statistics Collection".
Oracle Database 23ai PL/SQL Packages and Types Reference, "DBMSSTATS", for a full list of manual gathering procedures.
Keep practicing
Take the free 1Z0-182 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-182 practice questions
- Question 1Which data dictionary view describes the data sources of external tables?
- Question 2You want to view the initialization parameter settings for only a specific PDB. Which of …
- Question 3Which three tasks are performed by background processes in an Oracle database instance?
- Question 4Which statement is true about database links?
- Question 5Which three statements are true about the Oracle Database server during and immediately a…
- Question 6Which two methods can be used to purge audit records of the Unified Audits?
