What are leaf pages ?
They are the opposite of root pages. Leaf pages are the lowest level index pages - the pages that contain index entries and information to the corresponding table... Read more »
They are the opposite of root pages. Leaf pages are the lowest level index pages - the pages that contain index entries and information to the corresponding table... Read more »
This is a key concept for any relational database. Isolation level is the manner in which locks are applied and released during a transaction. For DB@ a ‘repeatable... Read more »
It is a write to disk that may occur before or long after a commit. The write is controlled by the buffer manager. Read more »
Package and plan are usually used synonymously, as in this site. Both contain optimized code for SQL statements - a package for a single program, module or subroutine... Read more »
A Cartesian product results from a faulty query. It is a row in the results for every combination in the join tables. Read more »
If there is an index on the attributes tested an IN is more efficient since DB2 uses the index for the IN. Read more »
Any subselect can be rewritten as a join, but not vice versa. Joins are usually more efficient as join rows can be returned immediately, subselects require a temporary... Read more »
A merge join requires that the tables being joined be in a sequence; the rows are retrieved with a high cluster ratio index or are sorted by DB2. A nested join... Read more »
The FREE command can be used to delete plans and/or packages no longer needed. Read more »
The WHENEVER statement is coded once in the host program to control program actions depending on the SQL-CODE returned by each sql statement within the program. Read more »
The clause avoids closing the cursor and repositioning it to the last row processed when the cursor is reopened. Read more »
Static SQL is hard-coded in a program when the programmer knows the statements to be executed. For dynamic sql the program must dynamically allocate memory to... Read more »
An intent lock is at the table level for a segmented tablespace or at the tablespace level for a non-segmented tablespace. They indicate at the table or tablespace... Read more »
The three types are shared, update and exclusive. Shared locks allow two or more programs to read simultaneously but not change the locked space. An exclusive... Read more »
DB2 imposes locks of four differing sizes: pages, tables, tablespace and for indexes subpage. Read more »