
Chapter 11. Environmental settings that affect SQL performance 387
scan to build a Hash Table. The optimizer took some time to build the Hash Table. Once the
Hash table was ready it speeded up the query.
Figure 11-6 Sample of Visual Explain of the SQL statement with optimization goal ALL I/O and
Optimize for ALL rows clause
11.3 Sensitive Cursors
Cursor sensitivity controls whether or not the result set returned by a cursor will include
changes (Insert/Update/Delete) made to a table after the cursor was opened.
There are three types of settings for Sensitive Cursors
ASENSITIVE
– The Default setting. ASENSITIVE cursor allows DB2 to choose to implement ...