You are on page 1of 4

Oracle Database 10g Performance Tuning.

Total Marks: 20
Duration: 30 Minutes

1. Verify the Instance Efficiency Percentages section in the AWR report.

Instance Efficiency Percentages


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Buffer Nowait %: 100.00 Redo NoWait %: 100.00
Buffer Hit %: 99.87 In-memory Sort %: 100.00
Library Hit %: 87.90 Soft Parse %: 57.47
Execute to Parse %: 22.50 Latch Hit %: 100.00
Parse CPU to Parse Elapsd %: 83.16
% Non-Parse CPU: 17.88

During testing you came across some performance bottleneck, especially while running an
SQL statement. What could be the reason?

A. High in-memory sort.


B. High Library Hit ratio
C. High amount of CPU for parsing
D. High Buffer nowait.

2. Assume that WORKAREA_SIZE_POLICY set to AUTO.


Which parameter controls the amount of memory allocated for sorts and hash join in this
case?

A. SORT_AREA_SIZE
B. PGA_AGGREGATE_TARGET
C. SESSION_CACHED_CURSORS
D. OPTIMIZER_MODE

3. What are the various information used by the Optimizer to determine the best access
path? (Choose all that apply)

A. Hints provided by developer.


B. System Statistics
C. Expressions and conditions
D. None of the above

4. Which of the following statements are true?(Choose all that apply)

A. Hash join operation is not possible for non-equijoins.


B. In nested loop join, order of the table is important.
C. Sort merge joins perform better than an indexed nested loop join if the nuber of rows
satisfying the join condition represents major part of the total number of rows.
D. In sort merge join the performance can be influenced by temporary tablespace.
5. Which of the following view displays total wait for an event all sessions together?

A. V$SESSION_WAIT
B. V$SESSION_EVENT
C. V$SYSTEM_EVENT
D. V$EVENT_NAME

6. For server generated alerts, you nedd to set the STATISTICS_LEVEL parameter to---------

A. TYPICAL or BASIC
B. TYPICAL or ALL
C. BASIC or ALL
D. BASIC

7. Which background process helps to transfer the statistics from SGA to AWR repository?

A. MMON
B. MMAN
C. CTWR
D. RVWR

8. Automatic checkpoint is enabled by setting the FAST_START_MTTR_TARGET parameter


to a nonzero value
A. True
B. False

9. Which of the following information can be obtained from ALERT log file? (Choose Three)
A. Checkpoint Information
B. Instance Startup and Shutdown
C. All DDL operations
D. Deadlock Information

10. Which of the following view displays the parsed SQL statements stored in the library
cache?
A. V$SQLAREA
B. V$SQLCACHE
C. V$SQLPLAN
D. V$LIBRARYCACHE

11. DBA identified that the reloads-to-pin ratio is always greater than 1%. What could be the
reason? (Choose 2)

A. Shared parsed areas are invalidated.


B. Shared parsed areas have been aged out.
C. Because ASMM is enabled.
D. SESSION_CACHED_CURSOR parameter not set.

12. What are the possible symptoms of the buffer cache issues?
A. Cache hit ratio above 80%.
B. Free Buffer Wait
C. Latch. Cache buffer chains
D. Log space event.

13. What are the SGA components supported by ASMM.


A. LOG_BUFFER
B. DB_CACHE_SIZE
C. DB_KEEP_CACH_SIZE
D. STREAM_POOL_SIZE
E. FIXED SGA SIZE

14. Which statements are true regarding ASMM.

A. SGA_TAGET parameter is an auto tuned parameter.


B. SGA_MAX_SIZE parameter is a manual static parameter.
C. JAVA_POOL_SIZE parameter is a static parameter
D. None of the above.

15 Which of the following view obtain the history of SGA resize operations?
A. V$SGA_CURRENT_RESIZE_OPS
B. V$SGA_DYNAMIC_FREE_MEMORY
C. V$SGA_RESIZE_OPS
D. V$SGAINFO

16. Which statements are true about ASM? (Choose all that apply)
A. ASM divides files into small units called allocation units (AUs) and spreads the AU for
each file evenly across all the disks.
B. In ASM it is possible to adjust the speed of a rebalance operation to increase its speed or
to lower the impact on the I/O subsystem.
C. ASM does not include mirroring protection without the need to purchase a third-party
logical volume manager.
D. ASM supports only Oracle data files.

17. Which of the following are correct regarding the PGA memory management?
(Choose all that apply)

A. WORKAREA_SIZE_POLICY parameter cannot change dynamically.


B. The WORKAREA_SIZE_POLICY parameter is automatically set to AUTO when the
PGA_AGGREGATE_TARGET parameter is set to a nonzero value
C. PGA_AGGREGATE_TARGET controls work areas allocated by both dedicated and
shared connections in Oracle Database 10g.
D. None of the above.

18. What are the benefits of small block size in Oracle?


A. Good for very large rows
B. Reduce Block contention
C. Better performance for index read
D. Good for random access.

19. What are the different ways to eliminate the migrated rows?
A. Online table redefinition.
B. Increase the PCTUSED.
C. Export and Import
D. Use non-standard block size.

20. The following output is a part of Instance Efficiency Percentages section in the AWR
report.

Shared Pool Statistics Begin End


----------------------------------------------------------- ------
Memory Usage %: 92.75 92.97
% SQL with executions>1: 72.62 72.28
% Memory for SQL w/exec>1: 92.35 92.17

What is the recommended optimized memory usage value?

A. <=70%
B. 100%
C. <=90%
None of the above

You might also like