19.06.2013 Views

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

DB2 UDB for z/OS Version 8 Performance Topics - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

from the hiperpools, they were not byte-addressable, and their pages could be stolen any<br />

time. Data spaces were technically byte-addressable, but, <strong>for</strong> per<strong>for</strong>mance reasons, a<br />

lookaside pool was used instead to copy the page. Whenever an application tried to read data<br />

from a data space buffer page, the page was copied from the data space into this temporary<br />

work area within the 2 GB address space.<br />

Another disadvantage of data spaces and hiperpools is that the control blocks representing<br />

these buffers resided in the 2 GB address space. These control blocks created a practical<br />

limit to the size of the buffer pools, depending on other demands <strong>for</strong> virtual storage in the<br />

DBM1 region. Given the control block storage requirements, it is unlikely that a single <strong>DB2</strong><br />

member could exploit all of the central storage that a z/Series processor is capable of<br />

supporting, which is now up to 256 GB, and growing.<br />

<strong>DB2</strong> V8 no longer supports data spaces or hiper pools since 64-bit addressing makes them<br />

obsolete. <strong>DB2</strong> V8 stores all buffers above the bar. <strong>DB2</strong> does I/O directly into and out of the<br />

buffers and never has to copy the data merely to facilitate byte addressability. <strong>DB2</strong> systems<br />

management and operations tasks are simplified and the cost of data moves is reduced.<br />

As of <strong>DB2</strong> V8, the terms buffer pool and virtual pool become synonymous, with the tendency<br />

to use just the term buffer pools.<br />

Buffer pools can now scale to extremely large sizes, constrained only by the physical memory<br />

limits of the machine (64-bit allows <strong>for</strong> 16 exabytes of addressability). However <strong>DB2</strong> imposes<br />

a 1 TB limit, as a safety valve <strong>for</strong> real storage available, as follows:<br />

► The maximum size <strong>for</strong> a single buffer pool is 1 TB.<br />

► The maximum size <strong>for</strong> summation of all active buffer pools is 1 TB.<br />

The buffer pool control blocks, also known as page manipulation blocks (PMBs), are also<br />

moved above the 2 GB bar. Castout buffers used <strong>for</strong> data sharing, are also relocated above<br />

the bar.<br />

When you first migrate to V8, <strong>DB2</strong> determines the buffer pool size based on the following<br />

equation:<br />

VPSIZE + HPSIZE = BPSIZE<br />

We there<strong>for</strong>e recommend you review your virtual buffer pool sizes and your hiperpool buffer<br />

sizes be<strong>for</strong>e you migrate to V8 to make sure you have enough real storage to fully back the<br />

new default buffer pool sizes (see 2.7, “New installation default values” on page 24.).<br />

You also need to adjust down the buffer pool thresholds, since they were initially set up <strong>for</strong> the<br />

write activity of just the relatively small virtual pools.<br />

The EDM pool<br />

The Environmental Descriptor Manager (EDM) deals with the <strong>DB2</strong> metadata of your<br />

databases and applications. It caches and manages the following objects in the EDM pool:<br />

► Data base descriptors (DBDs), skeleton cursor tables (SKCTs), skeleton plan tables<br />

(SKPTs), cache blocks <strong>for</strong> plans, and skeleton dynamic statements (SKDSs)<br />

► Private user versions of the plan (CTs and PTs) during execution<br />

► Authorization cache<br />

DBDs in the EDM pool<br />

In V8, almost all of the storage related to managing DBDs is allocated above the 2 GB bar.<br />

This gives the DBDs the needed space to grow and relieves contention with other objects in<br />

the EDM pool. DBDs are also larger in <strong>DB2</strong> V8 in new-function mode. The size of the DBD<br />

142 <strong>DB2</strong> <strong>UDB</strong> <strong>for</strong> z/<strong>OS</strong> <strong>Version</strong> 8 Per<strong>for</strong>mance <strong>Topics</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!