Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

Q&A

• Give brief description of two types of tuning: Proactive


Monitoring and Bottleneck Elimination.

1
Q&A
• What is a wait event? Briefly describe kinds of wait
events.

2
Q&A
• How should we use the STATISTICS_LEVEL
and DBIO_EXPECTED parameters?

3
Q&A
• To enable the automatic database diagnostic feature of ADDM, one sets
STATISTICS_LEVEL to ____.

• a. TYPICAL
• b. ALL
• c. BASIC
• d. More than one of the above.

• What is a goal of SQL Tuning?

• a. Reduce workload
• b. Balance workload
• c. Parallelize workload
• d. All of the above.

4
Q&A
• Briefly describe the goals of SQL Tuning.

5
Q&A
• What is the correct order of Query Optimization?

• a. Parsed Query, Plan Generator, Estimator, Query Transformer


• b. Parsed Query, Estimator, Plan Generator, Query Transformer
• c. Parsed Query, Plan Generator, Query Transformer, Estimator
• d. Parsed Query, Query Transformer, Estimator, Plan Generator

6
Q&A
• Briefly describe Parsed Query, Plan Generator,
Estimator and Query Transformer in Query Optimizer

7
Q&A
• Which of the following is NOT a factor considered by
the Oracle Query Optimizer when performing Cost-
Based query transformation?
• a. Selectivity
• b. Connectivity
• c. Cardinality
• d. Number of disk I/Os

8
Q&A
• Briefly explain techniques (Predicate Pushing, View
Merging, Sub-query Un-nesting, Query Rewrite with
Materialized Views) in Query Transformer.

9
Q&A
• The ____ command is used to examine potential
query plans that the optimizer may utilize, when
executing a particular query of DML statement.
• a. TKPROF
• b. EXPLAIN PLAN
• c. OPTIMIZE
• d. STATSPACK

10
Q&A
• Which of the following statements is FALSE?
• a. A fast full index scan can eliminate a sort operation.
• b. An index range scan can eliminate a sort operation.
• c. Full table scan is used when the query retrieves
data from a small table which can be read by a single
I/O call.
• d. Rowid scan is usually used after retrieving the
rowid from an index.

11
Q&A
• To access a large portion of a table, Query Optimizer
will use

• a. Rowid scan
• b. Index scan
• c. Full table scan
• d. None of the above

12

You might also like