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.

your buffer pools. We recommend you implement long term page fixing, buffer pool by<br />

buffer pool, <strong>for</strong> I/O intensive profiles. See 4.5, “Buffer pool long term page fixing” on<br />

page 169, <strong>for</strong> a more detailed discussion on long term page fixing.<br />

► Multi-row FETCH and INSERT<br />

Although this <strong>DB2</strong> V8 enhancement requires you to modify your application, it has a<br />

significant potential to save CPU cycles. See the sections on Multi-row FETCH and<br />

INSERT in Chapter 3, “SQL per<strong>for</strong>mance” on page 29 <strong>for</strong> more details.<br />

4.2 Virtual storage constraint relief<br />

<strong>DB2</strong> V8 exploits 64-bit storage in the DBM1 address space which provides significant virtual<br />

storage constraint relief (VSCR).<br />

By way of background, MVS addressing is represented in the power of 2 closest to the<br />

corresponding power of 10. Refer to the z/Architecture Principles of Operation, SA22-7832 <strong>for</strong><br />

a more detailed discussion.<br />

2#10 Kilo (1024 bytes)<br />

2#20 Mega (1024 * 1024 bytes)<br />

2#30 Giga (1024 * 1024 * 1024 bytes)<br />

2#40 Tera (1024 * 1024 * 1024 * 1024 bytes)<br />

2#50 Peta (a really big number)<br />

2#60 Exa (an even bigger number)<br />

2#70 Zetta (too big a number)<br />

2#70 Yotta (the “Restaurant at the end of the Universe!”)<br />

So 2#64 is 16EB -- and the largest z/Architecture address is 16E-1. <strong>DB2</strong> now supports a<br />

16-exabyte DBM1 address space. A 16-exabyte address space is 8 billion times larger than a<br />

2-gigabyte (GB) address space. The new virtual storage area above the old 2 GB limit is<br />

referred to as above the bar.<br />

Figure 4-3 provides a simplified introductory description of the major storage areas that have<br />

moved above the 2 GB bar in the DBM1 address space. The 64-bit storage exploitation in<br />

<strong>DB2</strong> V8 provides a number of per<strong>for</strong>mance improvements to <strong>DB2</strong> which we discuss in this<br />

section.<br />

The entities which have been moved above the bar in the <strong>DB2</strong> V8 DBM1 address space<br />

include:<br />

► 64-bit virtual buffer pool and their control blocks<br />

Larger buffer pools enable I/O reduction <strong>for</strong> random access, and enable larger page sizes<br />

which benefit sequential access. Buffer pool management is also made simpler.<br />

► DBDs in the EDM pool<br />

More database objects can be defined and I/O to the <strong>DB2</strong> directory is reduced because<br />

the pool can be larger.<br />

► EDM statement cache<br />

A larger cache may avoid dynamic SQL PREPAREs.<br />

► Compression dictionaries<br />

You no longer need to manage the open and close <strong>for</strong> table spaces to manage the amount<br />

of DBM1 storage which is required by compression dictionaries <strong>for</strong> open compressed table<br />

spaces.<br />

► Sort pools<br />

Chapter 4. <strong>DB2</strong> subsystem per<strong>for</strong>mance 139

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

Saved successfully!

Ooh no, something went wrong!