1z1-062J Free Dumps Study Materials
Question 15: データベース・インスタンスのパラメータを確認してください:
どの3つのステートメントはカーディナリティのフィードバックを使用して、自動最適化の
プロセスについて真ですか。
A.
オプティマイザの推定と実行統計に大きな差がある場合、オプティマイザは自動的にSQL文
の次の実行中に計画を変更します。
B.
オプティマイザは基数のフィードバックを一度使用するだけにクエリを再最適化することが
できます。
C.
オプティマイザはクエリの最初の実行後にカーディナリティフィードバックの監視を可能に
します。
D.
動的サンプリングと複数列の統計情報が有効になっている場合、オプティマイザは基数のフ
ィードバックを監視しません。
E.
オプティマイザが再最適化の候補としてクエリを特定した後、コレクターによって収集され
た統計はオプティマイザに提出されています。
Correct Answer: A C D
Explanation
C: During the first execution of a SQL statement, an execution plan is generated as usual.
D: if multi-column statistics are not present for the relevant combination of columns, the
optimizer can fall back on cardinality feedback.
(not B)* Cardinality feedback. This feature, enabled by default in 11.2, is intended to improve
plans for repeated executions.
optimizer_dynamic_sampling
optimizer_features_enable
* dynamic sampling or multi-column statistics allow the optimizer to more accurately estimate
selectivity of conjunctive predicates.
Note:
* OPTIMIZER_DYNAMIC_SAMPLING controls the level of dynamic sampling performed by
the optimizer.
Range of values. 0 to 10
* Cardinality feedback was introduced in Oracle Database 11gR2. The purpose of this feature
is to automatically improve plans for queries that are executed repeatedly, for which the
optimizer does not estimate cardinalities in the plan properly. The optimizer may misestimate
cardinalities for a variety of reasons, such as missing or inaccurate statistics, or complex
predicates. Whatever the reason for the misestimate, cardinality feedback may be able to
help.