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.

► The per<strong>for</strong>mance benchmarks <strong>for</strong> non-data sharing and data sharing environments have<br />

shown slight differences.<br />

► For the online transaction distributed workload, the increase in CPU can be up to 20% with<br />

an ITR reduction up to 12%. Batch DRDA can take advantage of multi-row fetch, so it can<br />

even show an improvement of 20%.<br />

For details on these results, see Chapter 4, “<strong>DB2</strong> subsystem per<strong>for</strong>mance” on page 127.<br />

2.1.7 New-function mode<br />

After you have run in CM <strong>for</strong> the appropriate length of time determined by your needs, you<br />

decide when it is time to get to the next step which is enabling-new-function mode (ENFM).<br />

You run a job to do so, and now you are ready to enable new-function mode (NFM). ENFM<br />

affects the changes to the catalog, including adding long name support to the catalog,<br />

converting to Unicode, changing system-defined indexes to not-padded, and changing the<br />

page size <strong>for</strong> some of the catalog table spaces to 8 KB, 16 KB, and so on. Once this job is<br />

started, you cannot fallback to <strong>DB2</strong> V7 or to <strong>DB2</strong> V8 CM; the capability to fallback is removed<br />

and en<strong>for</strong>ced once you enable new function mode.<br />

While you are in ENFM, you cannot begin to use any new function yet, but you are no longer<br />

in CM either.<br />

We recommend you consider a minimum amount of changes as you flow through the<br />

migration path to NFM. Be sure to start with the same DSNZPARM settings, and then slowly<br />

begin making changes to your environment one parameter at a time. Similarly, when you<br />

finally reach NFM, slowly begin exploiting some of the new features. This slow path is the best<br />

path <strong>for</strong> risk mitigation and to evaluate the per<strong>for</strong>mance impact of the new features.<br />

A measurement of the IRWW non-data sharing workload has shown no significant difference<br />

in CPU time between CM and no new function NFM.<br />

Coexistence with data sharing<br />

Data sharing coexistence exists only in CM. Coexistence means having both V7 and V8 CM<br />

subsystems in a single data sharing group. ENFM is a group wide event since it affects a<br />

single catalog. As soon as you enable new-function mode on one of the members, it occurs<br />

<strong>for</strong> all of the members in the group.<br />

<strong>DB2</strong> catalog and directory<br />

Once the <strong>DB2</strong> catalog and directory are converted to V8 mode, the size of these structures<br />

can be slightly affected. Many existing VARCHAR columns are altered to VARCHAR(128).<br />

Since most of the columns that are being changed are already VARCHAR, the effect should<br />

be minimal. The maximum length is changing, and not the data that is already there. Some<br />

columns are changed from CHAR(8) to VARCHAR(24). The columns that used to be CHAR<br />

and are changed to VARCHAR get bigger by two bytes. The system-defined catalog indexes,<br />

since they are NOT PADDED, may actually get smaller.<br />

Some catalogs rarely get reorganized, so <strong>for</strong> those that do not, there may be a reclaiming of<br />

space. As a result, it is possible when you migrate to NFM that the size of the catalog may be<br />

slightly reduced.<br />

Typically, we experienced a small amount of <strong>DB2</strong> catalog and directory growth, but not more<br />

than 10%.<br />

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