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.

4.2.3 Conclusion<br />

Nondistributed per<strong>for</strong>mance<br />

We examined the per<strong>for</strong>mance characteristics <strong>for</strong> a local workload in both data sharing and<br />

non-data sharing environments. The measurement test used the IRWW OLTP workload using<br />

78 concurrent threads with 480 MB of virtual buffer pools in <strong>DB2</strong> V7 vs. V8.<br />

There was an 8% increase in real storage usage in <strong>DB2</strong> V8 at the LPAR overall level as<br />

compared to <strong>DB2</strong> V7.<br />

A batch workload with a small number of threads each doing a single-thread table space scan<br />

with a 1200 MB buffer pool configuration showed only a 3% increase in real storage usage in<br />

<strong>DB2</strong> V8 at the overall LPAR level as compared to <strong>DB2</strong> V7.<br />

<strong>DB2</strong> V8 has significant improvements in virtual storage constraint relief as many of the large<br />

<strong>DB2</strong> structures (<strong>for</strong> example, buffer pools, EDM DBDs, and compression dictionaries) in the<br />

DBM1 address space have moved above the 2 GB bar. The most important factor here is the<br />

percentage of storage used <strong>for</strong> threads and local DSC compared to other users of DBM1<br />

below 2 GB in V7. This can vary widely among installations.<br />

For the same <strong>DB2</strong> configuration (<strong>for</strong> example, buffer pool sizes), we experienced a 1% to 20%<br />

increase in real storage requirements <strong>for</strong> medium and large <strong>DB2</strong> subsystems. Larger<br />

increases are possible <strong>for</strong> smaller <strong>DB2</strong> subsystems. This is a result of higher defaults,<br />

minimum and maximum buffer pool sizes, RID pool size, Sort pool size, EDM pool size and<br />

bigger threads. Bigger modules, control blocks and working storage also contribute to the<br />

increase in demand <strong>for</strong> real storage.<br />

How many additional threads, if any, can be supported depends on the Thread Footprint®<br />

which varies by workload depending on the duration of the thread, SQL workload, RELEASE<br />

parameter setting on plan and package bind, effectiveness of thread storage contraction<br />

(CONTSTOR=YES), and storage <strong>for</strong> pools, control blocks, and work areas moved above the<br />

2 GB bar.<br />

4.2.4 Recommendations<br />

<strong>DB2</strong> V8 64-bit support does not totally eliminate virtual storage constraint below the 2 GB bar<br />

in the DBM1 address space. However, V8 provides valuable additional relief, but the relief<br />

varies by installation.<br />

<strong>DB2</strong> V8 is able to exploit all available processors’ storage on the latest processor models<br />

(currently 256 GB, current <strong>DB2</strong> limit of 1 TB), through:<br />

► Supporting extremely large buffer pools to eliminate I/O<br />

► Exploiting increased ESA Compression<br />

► Using larger thread Sort pool<br />

► Allowing more compressed table spaces and partitions<br />

You must have sufficient real storage to fully back increased storage use usage.<br />

You must still continue to plan <strong>for</strong>, monitor and tune virtual storage usage below the 2 GB bar.<br />

The <strong>DB2</strong> Lab's recommendation is that users should implement a methodology which<br />

incorporates the development and measurement of a production workload to achieve<br />

accurate projections <strong>for</strong> virtual storage recommendations. The resulting measurements need<br />

to be evaluated using <strong>for</strong>mulas <strong>for</strong> calculating the thread storage footprint (virtual storage per<br />

thread) and the estimation of the maximum possible threads.<br />

156 <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!