Section 16.14. Review Questions


16.14. Review Questions

1:

What isolation level acquires no row-level locks?

2:

What is the maximum requester I/O block size?

3:

How can you eliminate the need for the first connections to a database to create their own agent process?

4:

When will a database's log buffer be written to disk?

5:

When does lock escalation occur?

6:

When can you capture the statistics about your tables and indexes?

7:

What command can be used to remove overflow records from your tables?

8:

What monitor switch is enabled by default in Version 8?

9:

What command resets the counters reported by the database snapshot command?

10:

What objects must exist in your database in order to use the visual explain tool?

11:

Which of the following commands cannot update the statistical information about tables and indexes in your database?

  1. runstats

  2. load

  3. reorgchk

  4. import

12:

Which of the following does not cause the log buffer to be written to disk?

  1. When the log buffer becomes full

  2. One second since the last time the log buffer was written to disk

  3. When applications issue MINCOMMIT commit statements

  4. When the percentage of the log buffer reaches SOFTMAX

13:

When lock escalation occurs, row-level locks are converted to which of the following?

  1. Page-level locks

  2. Extent-level locks

  3. Table-level locks

  4. Table space-level locks

14:

Which of the following configuration parameters allows DB2 to detect that pages are being read in order and automatically trigger prefetching?

  1. DETECT_PREFETCH

  2. SEQ_DETECT

  3. ENABLE_PREFETCH

  4. SCAN_DETECT

15:

Which two of the following configuration parameters control when the page cleaners will be triggered to write dirty pages from the buffer pool to disk?

  1. NUM_IOCLEANERS

  2. SOFTMAX

  3. DIRTY_THRESH

  4. CHNGPGS_THRESH

  5. MAX_LOG

16:

Which of the following commands will indicate that you need to reorganize your tables because they contain too many overflow records?

  1. reorgchk

  2. runstats

  3. inspect

  4. check

17:

Which of the following SQL statements can cause an overflow record to be created by DB2?

  1. insert

  2. update

  3. delete

  4. reorg

18:

Which of the following steps is not performed by the optimizer when building the access plan for an SQL statement?

  1. Query rewrite

  2. Check query semantics

  3. Parse the query

  4. Apply hints

19:

Which of the following is not an operator that you will see in a DB2 access plan?

  1. IXSCAN

  2. TBSCAN

  3. RIDSCN

  4. DTSCAN

20:

Given the following database configuration information:

 Sort heap thres for shared sorts (4KB) (SHEAPTHRES_SHR) = 1000 Sort list heap (4KB)                         (SORTHEAP) = 256 

what is the maximum number of concurrent shared sorts than can occur without causing the sort to overflow?

  1. 1

  2. 2

  3. 3

  4. 4



Understanding DB2(R. Learning Visually with Examples)
Understanding DB2: Learning Visually with Examples (2nd Edition)
ISBN: 0131580183
EAN: 2147483647
Year: 2004
Pages: 313

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net