0% found this document useful (0 votes)
217 views

Quiz 2

The document contains 20 multiple choice questions about Oracle database concepts like the shared pool, redo log buffer, and database buffer cache. It asks about dynamic performance views used to monitor these components, operations that generate redo log entries, and parameters that impact the sizes of shared memory areas. The last question indicates that methods to improve redo log buffer performance include increasing its size, reducing redo with NOLOGGING, and avoiding unnecessary checkpoints.

Uploaded by

Prashanth Padal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views

Quiz 2

The document contains 20 multiple choice questions about Oracle database concepts like the shared pool, redo log buffer, and database buffer cache. It asks about dynamic performance views used to monitor these components, operations that generate redo log entries, and parameters that impact the sizes of shared memory areas. The last question indicates that methods to improve redo log buffer performance include increasing its size, reducing redo with NOLOGGING, and avoiding unnecessary checkpoints.

Uploaded by

Prashanth Padal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

1. Which one of these is not part of the Shared Pool?

A. Dictionary Cache
B. Redo Log Buffer
C. Library Cache
D. User Global Area

2. What is the process of preparing a statement for execution


called?

A. Caching
B. Hashing
C. Parsing
D. None of the above

3. Which of the following dynamic Data Dictionary views contains the


entire SQL statement issued by a user?

A. V$LIBRARYCACHE
B. V$SQLTEXT
C. V$SQLAREA
D. V$ROWCACHE

4. According to Oracle, what Reload Ratio would a well-tuned


system have?

A. 90 percent or higher
B. 10 percent or higher
C. Less than 1 percent
D. More than 1 percent

5. Which of the following Oracle-supplied PL/SQL packages is used to


pin PL/SQL packages into the Shared Pool?
A. DBMS_UTILITY
B. DBMS_SYSTEM
C. DBMS_SHARED_POOL
D. DBMS_KEEP

6. Which of these parameters does not have an effect on the size of the
Database Buffer Cache?

A. DB_KEEP_CACHE_SIZE
B. DB_BLOCK_SIZE
C. DB_MAX_CACHE_SIZE
D. DB_RECYCLE_CACHE_SIZE
7. Given the following query output from V$DB_CACHE_ADVICE, what
would be the optimal size of the database buffer cache without
wasting resources?
NAME SIZE_FOR_ESTIMATE ESTD_PHYSICAL_READS
-------------------- ----------------- -------------------
DEFAULT 10.1797 7686
DEFAULT 20.3594 6614
DEFAULT 30.5391 6028
DEFAULT 40.7188 5785
DEFAULT 50.8984 5497
DEFAULT 61.0781 5342
DEFAULT 71.2578 4915
DEFAULT 81.4375 4867
DEFAULT 91.6172 4866
DEFAULT 101.7969 4866
DEFAULT 111.9766 4866
DEFAULT 122.1563 4866
DEFAULT 132.3359 4866

A. 70MB
B. 50MB
C. 100MB
D. 132MB

8.Which of the following dynamic performance views is used to calculate


the Database Buffer Cache hit ratio?

A. V$BUFFERCACHE
B. V$SYSTEMSTATS
C. V$SYSSTAT
D. V$SGASTAT

9. Which of the following processes copy the segment blocks from disk
into the Database Buffer Cache buffers?
A. DBW0
B. LGWR
C. Server Process
D. PMON

10. What is a buffer whose copy in the Database Buffer Cache does not
match the copy of the segment block on disk called?

A. Pinned buffer
B. Free buffer
C. Dirty buffer
D. Rollback buffer

11. Which mechanism does a user’s Server Process use when locating a
free buffer in the Database Buffer Cache?

A. LRU List
B. Dirty List
C. DBW0
D. All of the above

12. Which of the following command types do not place entries in the
Redo Log Buffer?

A. INSERT
B. SELECT
C. UPDATE
D. DROP TAB

13. Which of the following events will not cause LGWR to write the entire
contents of the Redo Log Buffer to disk?
A. The application user issues a COMMIT.
B. The database is shutdown normally.
C. A checkpoint occurs.
D. The application user issues an UPDATE.

14. You want to make a copy of a large table. What keyword could be
added to the ‘CREATE TABLE AS’ syntax to minimize the impact on the
Redo Logs?

A. NOLOG
B. NOLOGGING
C. NOCACHE
D. NORECOVER

15. If the EMP table is specified as LOGGING, which of the following operations
will generate redo information for rows inserted into the table?
A. The INSERT DML statement.
B. Direct Path loads using SQL*Loader.
C. Direct load inserts using the /*+ APPEND */ hint.
D. All of the above cause redo information to be generated.

16. Which dynamic performance view can be used to calculate the Redo
Log Buffer Retry Ratio?
A. V$SYSSTAT
B. V$SESSION
C. V$SYSTEM_EVENT
D. V$SGASTAT
17. Which statistic in the V$SESSION_WAIT dynamic performance view
can be used to determine which users are currently experiencing waits
for access to the Redo Log Buffer?
A. buffer wait
B. redo log buffer wait
C. log buffer space
D. log buffer wait

18. You look in the init.ora file of your production instance and see the
following line: FAST_START_MTTR_TARGET = 240. Which answer
best explains what this line means?
A. A checkpoint will be performed every 240 seconds
B. Oracle will perform no more than 240 checkpoints per day
C. Oracle will perform sufficient checkpoints to ensure that the mean
time to recover after instance failure will not exceed 240 seconds.
D. Oracle will ensure that it will not have to apply more than
240 checkpoints to recover from an instance failure.

19. Which statistics file can be used to identify excessive checkpoint activity?

A. check point start/ checkpoint stop


B. database checkpoints started/ database checkpoint
ended
C. background checkpoints started/ background checkpoints
completed
D. background checkpoint start time/ background
checkpoint end time

20. Which of the following methods can be used to improve the performance
of the Redo Log Buffer?
A. Increase the value for the LOG_BUFFER init.ora parameter.
B. Reduce the amount of redo generated by using the NOLOGGING
option.
C. Avoid unnecessary checkpoints.
D. All of the above are effective methods of improving the performance
of the Redo Log Buffer.

You might also like