Finish DB2 Data Structures, More on Tablespaces




CS185c

Chris Pollett

Feb. 2, 2010

(These notes are based on slides which are copyright IBM)

Outline

Introduction

Image showing the persistent and in memory data structures of DB2

Logs

Log Structure

The Persistent and In-memory components of logs

When is something written to the active log?

In-memory Structures -- Buffer Pool

Data Definition Language (DDL) and Buffer Pools

Types of Buffer Pool Pages

At any moment, a database buffer pool can have in-use, updated, and available pages.

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:

Back to Table Space Details

Characteristics of Segmented Table Spaces

Partitioned Table Spaces

Diagram of a partitioned table space

Definition of Partitioned Table Spaces

More on Partitioning

Diagram of a partitioned index

LOB Tablespaces

Diagram of how a LOB Tablespace can be associated with a tables columns