More Database Services




CS185c

Chris Pollett

Feb. 18, 2010

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

Outline

Introduction

Data Manager and Data Manipulation

image showing how a select-rt maps to pages

More on Data Manipulation

Data Manipulation without Using Index

A picture of the DB2 components of DM and BM involved in a Relation scan

Data Manipulation Using Index Access

A picture of the DB2 components of DM and BM involved when an Index is involved

Index Manager

Index Management Scenario

A picture showing how index pages can live in the buffer pool

Relation Scan versus Index Scan

Lock Management

Log Management

Temporary File Management

Recovery Management

DM for INSERT Statement with Cluster Index

A picture with what DM does for a clustered index insert

DM for INSERT Statement without Cluster Index

A picture with what DM does for a non - clustered index insert

DM for UPDATE and DELETE Statements

A picture with what DM does for update and delete

Buffer Manager

Major Functions of Buffer Manager

Buffer Pools Management Strategy

Here are the major operations that the BM needs to perform and the algorithm or data structure used to do it:

Buffer Pools Management Queues

Prefetch

Controlling the Number of Prefetch Pages in the Buffer Queue

Automatic Page Recovery

Data Set Management

New Topic -- Z/OS services that DB2 make use of

The Physical Storage Manager

Making use of SMS