- Page 1: ibm.com/redbooks Front cover DB2 UD
- Page 5 and 6: Contents Figures . . . . . . . . .
- Page 7 and 8: 3.6.1 Performance . . . . . . . . .
- Page 9 and 10: 5.5.1 Partitioned table space witho
- Page 11 and 12: 10.2 DB2 Performance Expert . . . .
- Page 13 and 14: Figures 2-1 Virtual storage growth
- Page 15 and 16: 5-18 Rotate partition - Elapsed tim
- Page 17 and 18: Tables 2-1 Changed DSNZPARM default
- Page 19 and 20: Examples 3-1 Insert 10 rows using h
- Page 21 and 22: Notices This information was develo
- Page 23 and 24: Summary of changes This section des
- Page 25 and 26: January 2006, Fourth Update Changed
- Page 27 and 28: Preface IBM® DATABASE 2 Universal
- Page 29 and 30: Figure 1 Left to right: Yoshio, Tsu
- Page 31 and 32: IBM Corporation, International Tech
- Page 33 and 34: Chapter 1. DB2 UDB for z/OS Version
- Page 35 and 36: - Buffer pools and buffer pool cont
- Page 37 and 38: ► REORG utility enhancements The
- Page 39 and 40: With this SQL enhancement, a single
- Page 41 and 42: Chapter 2. Performance overview 2 S
- Page 43 and 44: 2.1 Overview of major impact items
- Page 45 and 46: 2.1.5 Real storage DB2 V8 extends u
- Page 47 and 48: 2.2 CPU usage The most common quest
- Page 49 and 50: ► Reduced the number of objects u
- Page 51 and 52: 16 EB 2 GB 64-bit summary 64-bit AS
- Page 53 and 54:
2.5.5 Fast log apply Once you migra
- Page 55 and 56:
NFM in data sharing because some da
- Page 57 and 58:
New buffer pool threshold values Fo
- Page 59 and 60:
z/OS version 2.8.1 Multilevel secur
- Page 61 and 62:
Chapter 3. SQL performance 3 In thi
- Page 63 and 64:
3.1 Multi-row FETCH, INSERT, cursor
- Page 65 and 66:
In an application, multi-row insert
- Page 67 and 68:
► Static SQL with table space sca
- Page 69 and 70:
3.1.5 Conclusion The performance im
- Page 71 and 72:
05 SERIAL-NUMBER PIC S9(9) COMP-4 O
- Page 73 and 74:
For instance, in a data warehouse e
- Page 75 and 76:
Rules for query rewrite If the quer
- Page 77 and 78:
3.2.4 Performance The SQL statement
- Page 79 and 80:
Increase of BIND cost BIND cost for
- Page 81 and 82:
Figure 3-12 Query rewrite for join
- Page 83 and 84:
► V8 using MQT 0.92 sec. elapsed
- Page 85 and 86:
The most important factor in the re
- Page 87 and 88:
Star join technical issues The tech
- Page 89 and 90:
ISCAN (Mat) 3.3.3 Sparse index In m
- Page 91 and 92:
Sparse Index T1 Binary Search Figur
- Page 93 and 94:
Sparse index (SI) performance Large
- Page 95 and 96:
CPU reduction using in memory work
- Page 97 and 98:
► In memory work file which cache
- Page 99 and 100:
3.4.1 New indexable predicates in V
- Page 101 and 102:
3.4.3 Performance ► char/varchar(
- Page 103 and 104:
3.4.4 Conclusions Summary of measur
- Page 105 and 106:
Figure 3-29 Access path graph in Vi
- Page 107 and 108:
Better filter factor estimation V7
- Page 109 and 110:
Consider this option if the long ru
- Page 111 and 112:
3.6.2 Conclusion Figure 3-33 Query
- Page 113 and 114:
► Reduced improvement when merge
- Page 115 and 116:
3.7.3 Recommendations Parallel sort
- Page 117 and 118:
Table UDF - Cardinality Option SELE
- Page 119 and 120:
3.10.1 Performance WHEN (NROW.EMPDP
- Page 121 and 122:
The accounting class 1 and class 2
- Page 123 and 124:
3.11.1 Performance 3.11.2 Conclusio
- Page 125 and 126:
Specification on DECLARE Specificat
- Page 127 and 128:
If you specify this option, the res
- Page 129 and 130:
3.12.3 Performance To describe the
- Page 131 and 132:
The second program, shown in Exampl
- Page 133 and 134:
DO I = 1 TO 1000; FETCH SENSITIVE N
- Page 135 and 136:
Single row vs. multi-row FETCH To t
- Page 137 and 138:
FOR UPDATE OF COL6; FETCH SENSITIVE
- Page 139 and 140:
manage the number of qualifying row
- Page 141 and 142:
3.14.1 Performance In V8 you can co
- Page 143 and 144:
You can also use Visual Explain:
- Page 145 and 146:
An auxiliary node includes any node
- Page 147 and 148:
► Timestamp: 2004-11-15 13:44:36.
- Page 149 and 150:
Figure 3-49 Starting to analyze a s
- Page 151 and 152:
Figure 3-52 Saved queries We now ex
- Page 153 and 154:
Figure 3-55 Recollection of inconsi
- Page 155 and 156:
problems with optimization. The con
- Page 157 and 158:
Figure 3-61 Explain using an MQT ta
- Page 159 and 160:
Chapter 4. DB2 subsystem performanc
- Page 161 and 162:
4.1 DB2 CPU considerations With eve
- Page 163 and 164:
oltp oltp in data sharing batch ins
- Page 165 and 166:
► COPY varied from a 0% reduction
- Page 167 and 168:
DB2 AS class 2 CPU time (msec / com
- Page 169 and 170:
Generally, you should experience mo
- Page 171 and 172:
your buffer pools. We recommend you
- Page 173 and 174:
Attention: 4.2.1 The DB2 pools LOBs
- Page 175 and 176:
cache is governed by the DSNZPARM E
- Page 177 and 178:
elationship between RID map and RID
- Page 179 and 180:
4.2.2 Performance storage pools tha
- Page 181 and 182:
to above the bar, for example, buff
- Page 183 and 184:
Attention: The ranges of percentage
- Page 185 and 186:
Thread-related storage is much larg
- Page 187 and 188:
MB 1600 1400 1200 1000 800 600 400
- Page 189 and 190:
If you have not measured the amount
- Page 191 and 192:
Be aware that IFCID 225 represents
- Page 193 and 194:
- LOCAL DYNAMIC STMT CACHE CTL BLKS
- Page 195 and 196:
= MVS EXTENDED REGION SIZE (MAX) -
- Page 197 and 198:
In addition, DB2 shows a high water
- Page 199 and 200:
PMDB2 is the DB2 performance consul
- Page 201 and 202:
Megabytes 15 10 5 0 A V7 Customer D
- Page 203 and 204:
4.5.2 Conclusion The performance im
- Page 205 and 206:
Table 4-11 IRLM CPU - V2.1 vs. V2.2
- Page 207 and 208:
multinational companies to combine
- Page 209 and 210:
Since the database is defined as Un
- Page 211 and 212:
Still, this second conversion is a
- Page 213 and 214:
Figure 4-16 shows the Universal Jav
- Page 215 and 216:
Choosing between UTF-8 and UTF-16 W
- Page 217 and 218:
achieved by simply moving to DB2 V8
- Page 219 and 220:
4.7.2 Conclusion The enhancements w
- Page 221 and 222:
Each CP on the z990 has an assist p
- Page 223 and 224:
4.8.3 Recommendations For both DB2
- Page 225 and 226:
up to eight uppercase alphanumeric
- Page 227 and 228:
4.9.1 Performance We can implement
- Page 229 and 230:
The performance impact of Row Level
- Page 231 and 232:
4.10 New CI size To preserve the SE
- Page 233 and 234:
Table 4-14 I/O service time on ESS
- Page 235 and 236:
z9-109 I/O Overview I/O Enhancemen
- Page 237 and 238:
4.12.1 Unicode IFCIDs In this secti
- Page 239 and 240:
|PRIMAUTH : AND PLAN NAME : DISTSER
- Page 241 and 242:
invoked; for example, the loading o
- Page 243 and 244:
Full SQL statement text trace recor
- Page 245 and 246:
DB2 V8 in new-function mode increas
- Page 247 and 248:
In addition, with V8, PQ89070 imple
- Page 249 and 250:
Chapter 5. Availability and capacit
- Page 251 and 252:
► DSN: Unique DB2 product identif
- Page 253 and 254:
5.1.1 Performance MB as default. Th
- Page 255 and 256:
to execute the prepare outside the
- Page 257 and 258:
RESTORE SYSTEM measurements • RES
- Page 259 and 260:
users of ERP and CRM vendor solutio
- Page 261 and 262:
5.2.1 Conclusion If MGEXTSZ is set
- Page 263 and 264:
► The data is accessible but unti
- Page 265 and 266:
5.3.2 Performance - Invalidation oc
- Page 267 and 268:
CPU time (microseconds) 90 80 70 60
- Page 269 and 270:
Alter Index Padding In a first test
- Page 271 and 272:
Percent of CPU overhead Average CPU
- Page 273 and 274:
250 200 150 100 50 0 Load Reorg IX
- Page 275 and 276:
Alter Table Rotate Partition We exe
- Page 277 and 278:
Class 1 Elapsed Tim (Seconds) Reorg
- Page 279 and 280:
the PARTITION BY clause in the CREA
- Page 281 and 282:
► With one NPI or one DPSI ► Wi
- Page 283 and 284:
The reduction in CPU of DPSI is due
- Page 285 and 286:
time in second Check Index a partit
- Page 287 and 288:
Table 5-5 DPSI overhead Access path
- Page 289 and 290:
5.6.4 Improved LPL recovery One sou
- Page 291 and 292:
Application programmers need to be
- Page 293 and 294:
Chapter 6. Utilities The utilities
- Page 295 and 296:
If you specify SHRLEVEL CHANGE, the
- Page 297 and 298:
► Configuration - DB2 for z/OS V8
- Page 299 and 300:
time in seconds 6.1.2 Conclusion 18
- Page 301 and 302:
time in second 500 450 400 350 300
- Page 303 and 304:
6.3.1 Performance ► Upload the sa
- Page 305 and 306:
RUNSTATS option TABLE 137 140 115 1
- Page 307 and 308:
6.4.4 Performance ► ST01WKnn: You
- Page 309 and 310:
Time in Sec. DSTATS performance com
- Page 311 and 312:
Table 6-4 RUNSTATS with DSTATS meas
- Page 313 and 314:
Chapter 7. Networking and e-busines
- Page 315 and 316:
7.1 DDF enhancements A requester da
- Page 317 and 318:
The following query was utilized: S
- Page 319 and 320:
► IBM z900 Series 2064 2-way proc
- Page 321 and 322:
time for an insert increases by 3.7
- Page 323 and 324:
2.3% and CPU time at the server wit
- Page 325 and 326:
or net driver, but if you are not u
- Page 327 and 328:
With the z/OS Application Connectiv
- Page 329 and 330:
WebSphere z/OS - DB2 for z/OS V8 -
- Page 331 and 332:
SQLJ programs need to use explicitl
- Page 333 and 334:
The JCC connection concentrator fea
- Page 335 and 336:
7.3.2 DB2 Universal Driver X/Open X
- Page 337 and 338:
Trans/second - higher is better 250
- Page 339 and 340:
7.4.4 ODBC support for 2 MB SQL 7.4
- Page 341 and 342:
There are restrictions for the use
- Page 343 and 344:
Composition - Extender and Publishi
- Page 345 and 346:
7.6.2 Description EWLM is an implem
- Page 347 and 348:
Figure 7-24 Enterprise Workload Man
- Page 349 and 350:
offloaded to a zSeries Application
- Page 351 and 352:
Chapter 8. Data sharing enhancement
- Page 353 and 354:
8.1 CF request batching 8.1.1 Perfo
- Page 355 and 356:
decreased slightly. The CF Link uti
- Page 357 and 358:
8.1.2 Conclusion not all that signi
- Page 359 and 360:
For partitioned table spaces define
- Page 361 and 362:
Req Out (req / sec) CHPID Busy (%)
- Page 363 and 364:
8.2.2 Conclusion The purpose of the
- Page 365 and 366:
8.3.2 Conclusion The impact of IMME
- Page 367 and 368:
8.4.2 Conclusion The values listed
- Page 369 and 370:
All users requesting new access to
- Page 371 and 372:
8.5.5 Buffer pool long term page fi
- Page 373 and 374:
Chapter 9. Installation and migrati
- Page 375 and 376:
Figure 9-1 Unicode conversion examp
- Page 377 and 378:
Summary of DB2 Catalog changes The
- Page 379 and 380:
MAXERRORS value can be modified dur
- Page 381 and 382:
Class 1 CPU time (MSEC) Multi-row F
- Page 383 and 384:
Table 9-2 shows the most important
- Page 385 and 386:
9.4 Migration - Use “Inactive DBA
- Page 387 and 388:
6. After (5) is successful, start t
- Page 389 and 390:
spring cleaning of the directory: B
- Page 391 and 392:
Summary and recommendations Migrati
- Page 393 and 394:
Table 9-7 Catalog consistency - Que
- Page 395 and 396:
Chapter 10. Performance tools In th
- Page 397 and 398:
The following changes to DB2 V8 hav
- Page 399 and 400:
The ability to integrate informatio
- Page 401 and 402:
DB2 Query Monitor V2.1 supports and
- Page 403 and 404:
and DB2 V8. These two products prov
- Page 405 and 406:
Test case HPU V2.2 DB2 V8 UNLOAD %
- Page 407 and 408:
DSNTIAUL without multi-row fetch Th
- Page 409 and 410:
Appendix A. Summary of performance
- Page 411 and 412:
APAR # Area Text PTF and Notes PQ86
- Page 413 and 414:
APAR # Area Text PTF and Notes PQ91
- Page 415 and 416:
APAR # Area Text PTF and Notes PK10
- Page 417 and 418:
APAR # Area Text PTF and Notes PK26
- Page 419 and 420:
APAR # Area Text PTF and Notes PQ69
- Page 421 and 422:
APAR # Area Text PTF and Notes PQ89
- Page 423 and 424:
APAR # Area Text PTF and Notes OA15
- Page 425 and 426:
Appendix B. The DBM1 storage map B
- Page 427 and 428:
Storage heading Description TOTAL A
- Page 429 and 430:
Table B-3 REAL AND AUXILIARY STORAG
- Page 431 and 432:
Appendix C. SQL PA sample reports I
- Page 433 and 434:
|This clustering (insert) index has
- Page 435 and 436:
|This statement contains a Built in
- Page 437 and 438:
|On composite (multi-column) indexe
- Page 439 and 440:
Appendix D. EXPLAIN and its tables
- Page 441 and 442:
Note: If you want to empty the PLAN
- Page 443 and 444:
Column Type Content ACCESSTYPE CHAR
- Page 445 and 446:
Column Type Content ACCESS_DEGREE S
- Page 447 and 448:
Column Type Content --------58 Colu
- Page 449 and 450:
Column Type Content VIEW_NAME VARCH
- Page 451 and 452:
CREATE TYPE 2 INDEX DSN_STATEMENT_C
- Page 453 and 454:
Column Type Content STAT_PGRP Numbe
- Page 455 and 456:
Abbreviations and acronyms ACS auto
- Page 457 and 458:
Related publications IBM Redbooks T
- Page 459 and 460:
http://www.ibm.com/support/docview.
- Page 461 and 462:
Index Numerics 00D70027 229 16 exab
- Page 463 and 464:
UNLOAD 371 DES 188-189 DFSMS 201, 2
- Page 465 and 466:
IMMEDWRITE NO 333 Implicit clusteri
- Page 467 and 468:
Partitioning 4, 217, 233, 247-248,
- Page 469 and 470:
201, 320, 339, 365, 397 REBALANCE 2
- Page 471 and 472:
U UA05789 184, 186 UA08703 390 UA11
- Page 473 and 474:
VDWQT 25, 345 VE 117, 124 VERSION 4
- Page 475 and 476:
DB2 UDB for z/OS Version 8 Performa
- Page 478:
DB2 UDB for z/OS Version 8 Performa