Types of Buffer Pool Pages
At any moment, a database buffer pool can have in-use, updated, and available pages.
- In-use pages --
Pages that are for read-only or intent-for-update. The data they contain are available for use by other applications.
- Updated pages --
Pages whose data has been changed but have not yet been written to disk.
- Available pages --
Pages that can be considered for new use, to be overwritten by an incoming page of new data. Both in-use pages and updated pages are unavailable in this sense; they are not considered for new use.
In-memory Data Structures -- EDM Pool
The environmental descriptor manager, or EDM, pool contains active and skeleton application plans and packages. EDM storage is composed of these five components, each of which is in a separate storage area:
- EDM skeleton pool -- Contains skeleton package tables (SKPTs) and skeleton cursor tables (SKCTs). Here SKCT: Internal representation of a plan. SKPT: Internal representation of a package. A plan or package is an executable module containing the access path logic produced by the DB2 optimizer. Before a DB2 for z/OS program (with static SQL) can be run, it must have a plan associated with it.
- EDM PT/CT pool -- Contains part of the cursor table (CTs) and package tables (PTs). CT: runtime copy of SKCT. PT: Runtime copy of SKPT
- EDM RDS Section pool -- Contains RDS sections. RDS sections are executable formats for SQL statements.
- EDM Dynamic Statement Cache -- Contains the skeleton package for dynamic cached statement.
- EDM DBD -- Contains database descriptors (DBDs)