Professional Documents
Culture Documents
A developer has sent you multiple user SQL trace files related to the user sessi
on.
Which Oracle utility will convert this trace data into useable information?
A. TKPROF
B. UTLESTAT
C. UTLBSTAT
D. STATSPACK
E. LOG MINER
F. SQL ANALYZER
Answer: A
Explanation:
QUESTION NO 3.
A latch is defines as ________.
A. A mechanism used by the Oracle optimizer to run user queries in parallel.
B. A mechanism to prevent data files that make up the database from auto-extendi
ng.
C. A low-level serialization mechanism to protect shared data structures in the
system global area
(SGA)
D. A mechanism used by the background process PMON for cleaning up the caches an
d freeing up
resources the user processes were using.
Answer: C
Explanation: Explanation:
A latch is defines as a low-level serialization mechanism to protect shared data
structures in the
system global area (SGA). Latches are used to protect access to Oracle memory st
ructures. A latch
is a specialized type of lock that is used to serialize access to a particular m
emory structure or
serialize the execution of kernel code.
Incorrect Answers:
A: This is not a mechanism used by the Oracle optimizer to run user queries in p
arallel.
B: This is not a mechanism to prevent data files that make up the database from
auto-extending.
D: Latches are not used by background process PMON.
OCP: Oracle 9i Performance Tuning Study Guide, Joseph C. Johnson, p. 468-470 Cha
pter 9:
Tuning Contention
QUESTION NO 4.
A question about what to do first in the tuning process?
A. Tune the OS.
B. Tune database I/O.
C. Tune memory
D. Tune the network.
E. Tune the application.
F. First monitor performance
G. Tune the design.
Answer: F
QUESTION NO 5.
After new version of OLTP applications implementation for testing several QA use
rs have called to
state that response time for applications is now very low. You find the followin
g:
- The hit ratio in the buffer cache has fallen from its normal level of 88 to 90
percent and is only
averaging 75 percent when you look at several different the reports from STATSPA
CK.
y doubling the
workload.
Answer: D
Explanation: Explanation:
Your main goal during tuning is to avoid a FTS, full-table scans, for large tabl
es. By using indexes
you can achieve this goal.
Incorrect Answers:
A: Highly normalized tables will not always provide optimal query performance. S
ometimes you
need to decrease normalization level to achieve better performance results.
B: Uncommitted SQL statements are effect database performance because you need t
o maintain
rollback segments for a read-consistent copy of data.
C: Every type of SQL has different impact on DB performance. For example, when S
ELECT
statement uses FTS it can be disastrous for large tables, but it will be very go
od for small lookup
tables. And vice versa, each DML operation will be slower for table with indexes
than for flat table.
E: The impact of adding a new application to the system cannot be directly measu
rable by doubling
the workload. It depends on a lot of other factors.
OCP: Oracle 9i Performance Tuning Study Guide, Joseph C. Johnson, p. 187-188 Cha
pter 3: SQL
Application Tuning and Design
QUESTION NO 10.
As a conscientious DBA you are aware that tuning should begin at the initial sta
ge of the
application development phase. Assuming you have optimal data model and data fil
e layout to
eliminate hot spots, what is the next step you should take to isolate the proble
ms that may cause
poor database performance?
A. Tune indexes
B. Increase SGA
C. Add more CPUs
D. Add more LRU latches
E. Monitor performance
Answer: E
Explanation: