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.

16 EB<br />

2 GB<br />

64-bit summary<br />

64-bit AS<br />

31-bit AS<br />

Figure 2-1 Virtual storage growth<br />

<strong>DB2</strong> code<br />

2.5.2 No more hiperpools and data spaces<br />

Buffer pool<br />

RID pool<br />

Sort pool<br />

BP ctl blks<br />

Compr dict<br />

Castout buf<br />

DBD, DSC<br />

<strong>DB2</strong> code<br />

Locks<br />

IRLM code<br />

<strong>DB2</strong> code<br />

User pgm/st proc MSTR DBM1 IRLM DDF<br />

In <strong>DB2</strong> V8 CM, there are no longer hiperpools and buffer pools in data spaces; if they existed<br />

prior to the migration, they automatically revert to buffer pools. <strong>DB2</strong> automatically reallocates<br />

the buffer pool sizes based on the original virtual buffer pools and the hiperpools or buffer<br />

pools in data spaces. For example, if BP4 consisted of 4,000 virtual buffer pool pages and<br />

20,000 hiperpool pages, then after the migration, BP4 contains 24,000 pages in a buffer pool.<br />

These buffer pools are automatically allocated and reside above the 2 GB bar. <strong>DB2</strong> no longer<br />

uses the terminology virtual pool and instead uses buffer pool. The total buffer pool storage<br />

must never exceed the real storage available <strong>for</strong> buffers. There are also reasonableness<br />

checks <strong>for</strong> 1 terabyte of storage <strong>for</strong> a single buffer pool and <strong>for</strong> the sum of all buffer pools. Not<br />

only do the buffer pools reside above the bar, but so do the corresponding buffer pool control<br />

blocks.<br />

Important: If you are using a large number of hiper pools with V7, review the buffer pool<br />

definitions be<strong>for</strong>e your <strong>DB2</strong> V8 migration. Make sure you have adequate real storage, and<br />

also adjust the thresholds of the new buffer pools, especially if they are not defined in<br />

percentages. When in doubt, use the V8 defaults.<br />

An important per<strong>for</strong>mance consideration here is to make sure you have enough real storage<br />

to back these entities. If you do not, you can encounter severe per<strong>for</strong>mance penalties <strong>for</strong><br />

paging; since expanded storage no longer exists, you page to DASD.<br />

One immediate benefit of having one type of buffer pool is simplification, and you also have<br />

immediate virtual storage constraint relief. This factor alone can move you toward increasing<br />

the number of threads, but since the thread-related storage stays below the bar, we do not<br />

recommend this type of change so soon after migrating to CM without verification.<br />

Chapter 2. Per<strong>for</strong>mance overview 19

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

Saved successfully!

Ooh no, something went wrong!