PQ84160 378, 387 PQ85764 387 PQ85843 388 PQ86037 388 PQ86049 388 PQ86071 335, 378 PQ86074 379 PQ86201 379 PQ86477 204, 379, 388 PQ86787 305, 379 PQ86904 327, 379 PQ87126 305, 379, 388 PQ87129 305, 379 PQ87168 327, 379 PQ87381 379, 388 PQ87390 379 PQ87447 379, 388 PQ87509 275, 379 PQ87611 172, 379 PQ87756 327, 379 PQ87764 157 PQ87783 388 PQ87848 210, 379 PQ87917 379, 388 PQ87969 39, 379 PQ88073 379, 417 PQ88224 365 PQ88375 275, 380 PQ8841 179 PQ88582 307, 380 PQ88587 388 PQ88665 229, 380 PQ88784 24 PQ88896 368, 380 PQ89070 215, 380 PQ89181 39 PQ89297 380, 388 PQ89919 335, 380, 389 PQ90022 111, 259, 380, 389 PQ90075 380, 389 PQ90147 260, 380 PQ90263 380, 389 PQ90547 365, 380 PQ90884 275, 277, 280, 380 PQ91009 353, 380 PQ91101 158, 163, 365, 381, 389 PQ91493 381 PQ91509 313, 381 PQ91898 39, 381 PQ92072 381 PQ92227 254, 381 PQ92749 262, 268, 381 PQ93009 389 PQ93156 381 PQ93458 285 PQ93620 39, 381 PQ93821 111, 259, 381, 389 PQ93943 190 PQ9414 381 PQ94147 389 436 <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> PQ94303 381 PQ94793 389 PQ94822 190, 381 PQ94872 158, 163, 365, 381 PQ94923 381 PQ95164 221, 225, 381 PQ95881 304, 381 PQ95989 365 PQ96189 213, 381 PQ96628 382, 389 PQ96772 143, 152, 382 PQ96956 262, 268, 382 PQ97794 382 PQ99181 380 PQ99482 39 PQ99524 382, 389 PQ99608 382 PQ99658 xxii, 382, 389 PQ99707 xxii, 313, 382 PQTY 228 PRECISION 68 Precompiler 23, 354 NEWFUN 23, 354 PREFETCH 12, 158, 160, 170, 221, 225, 229, 319, 321, 324, 333, 395, 400, 402, 405, 412 Print Log Map utility 283 PRIQTY 226, 228–229 Private Protocol 284 PT 143 Q Q3STHWCT 205 Q3STHWIB 205 Q3STHWIF 205 QMF 212, 408 QMF <strong>for</strong> TSO/CICS 8.1 39 Qualified partitions 256 QUALIFIER 259, 408 QUERY 219 Query parallelism 29, 78, 254, 413 QUERYNO 50, 400, 402, 405, 410, 415–416 QUIESCE 263, 327, 331, 370 Quotation mark 272 R RACF 26, 139, 191–198 RACROUTE 26 RBA 256, 358 RBDP 231–232, 236 RBLP 220 RDS 158, 160, 164, 395 RDS sort 144 Read For Castout Multiple 321 READS interface 211 Read-up 194 Real contention 329 Real memory 18, 153, 165 Real storage 3, 9, 11, 13, 17, 19, 21, 65, 97, 127, 129, 138, 142, 148, 153–154, 156–158, 165, 169–171, 174,
201, 320, 339, 365, 397 REBALANCE 245 Rebalance partitions 3, 233 REBUILD INDEX 132, 202, 235, 237–238, 242, 249, 252, 263 Rebuild pending 231–232 RECOVER 4, 21, 133, 183, 217–221, 233, 257, 320, 336, 367 Recovery base log point 220 Recursive SQL 6 Common table expressions 6 <strong>Redbooks</strong> Web site 427 Contact us xxviii Reduced lock contention 7 REFRESH DEFERRED 40 refresh MQTs 41 REFRESH TABLE 40–42, 53, 124 REGION 142, 158, 161, 173, 396 REMARKS 412 REORG 4, 8, 11, 132, 197, 202, 226, 230–231, 233–235, 240, 242, 244–245, 247–248, 255, 258, 264, 268–269, 354, 356, 359, 371 Clustering order 268 DISCARD 5, 197 Implicit clustering index 247 REBALANCE 244–245 REORG INDEX 133 REORG TABLESPACE 197, 233 REBALANCE 233 REORG utility enhancements 5 REORP 233 REPORT 7, 73–74, 116, 118, 122–123, 149, 162, 164, 166, 207, 213, 258, 276, 328–330, 334, 365, 394 Requester database ALIAS 281, 283 RESET 16, 209, 236 Residual predicates 66 Resource Security label 192–193 RESTART 218, 221, 256, 326–327, 331, 337 Restart light enhancements 320, 337 RESTART WITH 221 RESTORE 4, 261, 367 RESTORE SYSTEM 4, 21, 217–218, 220–221, 224–226 RESTRICT 94 Retained locks 172, 325, 337 RETVLCFK 232 Reverse dominance 194 RFCOM 321–322 RID 402, 404 RID Pool 3, 17, 140, 144, 148–149, 153, 158, 160, 394–395 RIDBLOCK 145 RIDLIST 145 RIDLISTs 144 RIDMAP 145 RIDs 73, 115, 145 RMF 26, 148, 166, 322, 324, 328–329 ROLLBACK 206, 332, 368 ROWID 5 Rowset 29, 31, 33, 92, 94, 103, 105, 288–290, 292 Rowsets 31, 33, 288–289 RQRIOBLK 285 RRSAF 8, 208, 296 RUNSTATS 7, 53, 71, 73, 76, 110–111, 115–117, 122–124, 132, 231, 238, 240, 242, 246, 248, 253, 273, 275–278, 280, 401–403, 405 RUNSTATS enhancement 272 S SBCS 22, 174, 180, 185–186, 342–343, 414 SCA 220, 320, 336 Scalability xxv, 3, 9, 12, 20, 128–129, 212 SCHEMA 54, 65, 217, 230, 233, 259, 353, 416 Schema changes 230 Schema evolution xxv, 3–4, 217, 230, 261 SECDATA 192 SECLABEL 192–193, 195–198, 212 SECLEVEL 192, 198 secondary AUTHIDs 260 Secondary authorization ID in<strong>for</strong>mation 212 Secondary index 4, 247–248, 274 Clustering index 247 SECQTY 226, 229 secure key 189 Security Object 192 Security category 192 Security label 192–194, 198, 212 Security labels 192–194, 198 Assigning 193 Defining 192 Security level 192, 194 Security policy 191 Security Server 191–192, 212 SENSITIVE DYNAMIC 94, 96, 101, 105 SENSITIVE STATIC 93–94, 100, 104 Separation of partitioning and clustering 4 Serialized profile 300 Server location ALIAS 281, 283 service time 9 SET 34, 172, 226 SET clause in the SQL UPDATE 199 SET CURRENT REFRESH AGE ANY 42 SET DPTDPTSZ 87 SET ENCRYPTION PASSWORD 188 SET QUERYNO 50 -SET SYSPARM 256 Shift-in 185, 344 Shift-out 185, 344 short prepare 146 SIGNON 206, 260 SJMXPOOL 54, 57, 65 SKCT 143 SKPT 143, 357 SMF 26, 128, 136, 213, 351 SMF89 213–214 SMFSTST 26 SMS-managed data sets 218 Sort pool 3, 17, 144, 148–149, 153, 156 SORT pools 144 Index 437
- Page 1:
ibm.com/redbooks Front cover DB2 UD
- Page 4 and 5:
Note: Before using this information
- Page 6 and 7:
2.5.3 Increased number of deferred
- Page 8 and 9:
4.5.2 Conclusion . . . . . . . . .
- Page 10 and 11:
7.4.1 ODBC Unicode support . . . .
- Page 12 and 13:
x DB2 UDB for z/OS Version 8 Perfor
- Page 14 and 15:
3-48 Consistency query - 31 New . .
- Page 16 and 17:
xiv DB2 UDB for z/OS Version 8 Perf
- Page 18 and 19:
8-5 CF Request Batching - DB2 CPU .
- Page 20 and 21:
xviii DB2 UDB for z/OS Version 8 Pe
- Page 22 and 23:
Trademarks The following terms are
- Page 24 and 25:
Added information The following APA
- Page 26 and 27:
► Added reference to June 15, 200
- Page 28 and 29:
Michael Parbs is a DB2 Specialist w
- Page 30 and 31:
Hugh Smith Jim Teng John Tobler Yoi
- Page 32 and 33:
xxx DB2 UDB for z/OS Version 8 Perf
- Page 34 and 35:
1.1 Overview 1.1.1 Architecture IBM
- Page 36 and 37:
- Column data type changes can be d
- Page 38 and 39:
1.1.3 Data warehouse 1.1.4 Performa
- Page 40 and 41:
Volatile (or cluster) tables, used
- Page 42 and 43:
In this chapter we anticipate the a
- Page 44 and 45:
2.1.3 I/O time 2.1.4 Virtual storag
- Page 46 and 47:
► The performance benchmarks for
- Page 48 and 49:
application that can have great pot
- Page 50 and 51:
Because you can significantly incre
- Page 52 and 53:
The possible increase in thread foo
- Page 54 and 55:
2.5.9 Unicode parser Important: Con
- Page 56 and 57:
You can keep the DBRMs in EBCDIC fo
- Page 58 and 59:
Macro Parameter Old value New value
- Page 60 and 61:
28 DB2 UDB for z/OS Version 8 Perfo
- Page 62 and 63:
► Parallel sort enhancement Paral
- Page 64 and 65:
Characteristics of the host variabl
- Page 66 and 67:
3.1.4 Performance Update 10 rows us
- Page 68 and 69:
► Complexity of the fetch. The fi
- Page 70 and 71:
► More rows per one SQL statement
- Page 72 and 73:
3.2.1 Creating MQTs MQTs compared t
- Page 74 and 75:
Special register CURRENT REFRESH AG
- Page 76 and 77:
the materialized query table. If it
- Page 78 and 79:
Figure 3-9 MQTs and short running q
- Page 80 and 81:
► The elapsed time is 22 times sm
- Page 82 and 83:
Figure 3-13 Regrouping on MQT resul
- Page 84 and 85:
EVE.EXT = 'ADD BILL' AND EVE.TXC =
- Page 86 and 87:
Star Schema Figure 3-15 Star schema
- Page 88 and 89:
merge joins and work file usage. DB
- Page 90 and 91:
Star join access path without a spa
- Page 92 and 93:
3.3.4 Performance Sparse index for
- Page 94 and 95:
V8 Star Join Access Path Figure 3-2
- Page 96 and 97:
3.3.5 Conclusion Star join workload
- Page 98 and 99:
. SELECT * FROM PAOLO.TORDER WHERE
- Page 100 and 101:
But not all mismatched numeric type
- Page 102 and 103:
V8 shows that PL is joined with CV
- Page 104 and 105:
Query performance problem Lack of m
- Page 106 and 107:
3.5.1 Performance SORTDEVT SYSDA IN
- Page 108 and 109:
3.5.2 Conclusions Figure 3-31 Acces
- Page 110 and 111:
Mismatched data types SELECT COUNT(
- Page 112 and 113:
3.7.1 Performance In V8 the paralle
- Page 114 and 115:
3.7.2 Conclusions Example 3-9 Multi
- Page 116 and 117:
3.8.2 Performance We show three exa
- Page 118 and 119:
3.8.3 Conclusion The measurements s
- Page 120 and 121:
100 Inserts activated trigger 100 t
- Page 122 and 123:
3.10.2 Conclusion 100 Inserts activ
- Page 124 and 125:
stores the selected columns from ea
- Page 126 and 127:
While there is no optimistic lockin
- Page 128 and 129:
FETCH FROM Figure 3-45 FETCH syntax
- Page 130 and 131:
► Measurement data collected with
- Page 132 and 133:
application has decidedly higher Cl
- Page 134 and 135:
Static updatable cursor You can see
- Page 136 and 137:
Multi-row FETCH with a static curso
- Page 138 and 139:
3.12.5 Conclusion Multi-row FETCH a
- Page 140 and 141:
While, for or SELECT ... FROM ...
- Page 142 and 143:
3.14.2 Conclusion Percent reduction
- Page 144 and 145:
3.15.1 Installation commands. Of co
- Page 146 and 147:
Figure 3-47 Explain of the old cons
- Page 148 and 149:
in ms = 1 and the CPU cost is 16 se
- Page 150 and 151:
Figure 3-50 Suggested RUNSTATS stat
- Page 152 and 153:
Looking at the explanation, we can
- Page 154 and 155:
The Plug-In Options screen of Stati
- Page 156 and 157:
Before the introduction of MQTs, DB
- Page 158 and 159:
126 DB2 UDB for z/OS Version 8 Perf
- Page 160 and 161:
► Larger VSAM CI sizes: DB2 V8 in
- Page 162 and 163:
4.1.1 Performance support caused al
- Page 164 and 165:
Regression is about 5% better than
- Page 166 and 167:
The results indicate no significant
- Page 168 and 169:
Important: 4.1.2 Conclusion If you
- Page 170 and 171:
However, the combined impact of oth
- Page 172 and 173:
Frees up space below the bar for ot
- Page 174 and 175:
from the hiperpools, they were not
- Page 176 and 177:
So, we advise you to not overalloca
- Page 178 and 179:
See 4.3, “Monitoring DBM1 storage
- Page 180 and 181:
Table 4-4 System storage configurat
- Page 182 and 183:
Stack 11356 21033 85% 8648 19799 12
- Page 184 and 185:
KB 600 500 400 300 200 100 0 Figure
- Page 186 and 187:
For the same buffer pool size and o
- Page 188 and 189:
4.2.3 Conclusion Nondistributed per
- Page 190 and 191:
Important: With PTFs UK04394 (DB2 V
- Page 192 and 193:
- DATASPACE BP CONTROL BLOCKS = 0 M
- Page 194 and 195:
The EXTENDED REGION SIZE (MAX) is t
- Page 196 and 197:
RDS OP POOL (MB) N/A RID POOL (MB)
- Page 198 and 199:
As you can now appreciate, it is im
- Page 200 and 201:
Megabytes A V7 Customer DBM1 Thread
- Page 202 and 203:
4.5.1 Performance The most buffer p
- Page 204 and 205:
4.6.1 Performance maintained in a 2
- Page 206 and 207:
4.6.2 Conclusion We can conclude th
- Page 208 and 209:
service for Unicode conversions, an
- Page 210 and 211:
overcome this, when DB2 Connect is
- Page 212 and 213:
INSERT HV1 1200 HV2 1200 SELECT HV1
- Page 214 and 215:
AIX C-program Conversion Routines P
- Page 216 and 217:
4.7.1 Performance The improvements
- Page 218 and 219:
In October 2003, a new enhancement
- Page 220 and 221:
UseServerEncoding data source prope
- Page 222 and 223:
4.8.1 Performance 4.8.2 Conclusion
- Page 224 and 225:
Multilevel security with row-level
- Page 226 and 227:
► The security level that defines
- Page 228 and 229:
DB2 must call RACF for this dominan
- Page 230 and 231:
4.9.2 Conclusion The CPU increase c
- Page 232 and 233:
4.10.1 Performance VSAM does not kn
- Page 234 and 235:
4.10.2 Conclusion 4.10.3 Striping A
- Page 236 and 237:
5 4 3 2 1 0 9109TLLB 4 Parallel DB2
- Page 238 and 239:
--------------------------- -------
- Page 240 and 241:
This message is completed with the
- Page 242 and 243:
This enhancement is introduced by P
- Page 244 and 245:
This record is activated by: -START
- Page 246 and 247:
an online transaction with very sim
- Page 248 and 249:
216 DB2 UDB for z/OS Version 8 Perf
- Page 250 and 251:
5.1 System level point-in-time reco
- Page 252 and 253:
BACKUP SYSTEM During backup DB2 rec
- Page 254 and 255:
Figure 5-1 FRBACKUP PREPARE elapsed
- Page 256 and 257:
Figure 5-4 BACKUP SYSTEM FULL measu
- Page 258 and 259:
5.1.2 Conclusion The BACKUP SYSTEM
- Page 260 and 261:
Figure 5-7 shows the sliding scale
- Page 262 and 263:
Maybe you have implemented a space
- Page 264 and 265:
For dynamically prepared queries, D
- Page 266 and 267:
► CHAR(8) to VARCHAR(8) ► CHAR(
- Page 268 and 269:
Before ALTER INDEX add column, a ta
- Page 270 and 271:
30 25 20 15 10 Figure 5-12 FETCH CP
- Page 272 and 273:
Percent of index pages Avg. Index L
- Page 274 and 275:
300 250 200 time in seconds 150 100
- Page 276 and 277:
REORG REBALANCE We executed and mea
- Page 278 and 279:
5.4 Volatile table 5.4.1 Conclusion
- Page 280 and 281:
If explicit clustering for a table
- Page 282 and 283:
Load table of 20M rows, 10 partitio
- Page 284 and 285:
Times in seconds 20 18 16 14 12 10
- Page 286 and 287:
RUNSTATS INDEX PARTITION of a DPSI
- Page 288 and 289:
Note that when the qualified partit
- Page 290 and 291:
► “NO” - Values in such colum
- Page 292 and 293:
5.6.10 Support for more than 245 se
- Page 294 and 295:
6.1 Online CHECK INDEX Online CHECK
- Page 296 and 297:
SORTOUT DD UNIT=SYSDA,SPACE=(CYL,(5
- Page 298 and 299:
- SORT 6 indexes in parallel - CHEC
- Page 300 and 301:
make DB2 take the maximum paralleli
- Page 302 and 303:
6.3 LOAD and UNLOAD delimited input
- Page 304 and 305:
6.3.2 Conclusion We measured the CP
- Page 306 and 307:
Options for cardinality and distrib
- Page 308 and 309:
► Number of column groups: 1 ►
- Page 310 and 311:
cases is the total time of RUNSTATS
- Page 312 and 313:
6.4.5 Conclusion Statistics Advisor
- Page 314 and 315:
goals for end-user services. We sho
- Page 316 and 317:
alanced across all members. With th
- Page 318 and 319:
method. Prior to DB2 V8 those array
- Page 320 and 321:
when compared to DB2 V7. At the ser
- Page 322 and 323:
7.2.2 Performance - Distributed cli
- Page 324 and 325:
Recommendation If you currently do
- Page 326 and 327:
► The DB2 Universal JDBC type 4 D
- Page 328 and 329:
WebSphere z/OS - DB2 z/OS V8 - Serv
- Page 330 and 331:
DB2 Universal Type 4 Driver - JDBC
- Page 332 and 333:
Use DB2 Connect when a high amount
- Page 334 and 335:
JCC Type 4 Direct 4:3 Concentration
- Page 336 and 337:
The SYSIBM.INDOUBT table and the pa
- Page 338 and 339:
Batch updates A batched update is a
- Page 340 and 341:
Example In DB2 V8 SQL/XML publishin
- Page 342 and 343:
INSERT INTO PUB_TAB(DOC) SELECT XML
- Page 344 and 345:
7.5.3 Conclusion The new XML publis
- Page 346 and 347:
A second role of the managed server
- Page 348 and 349:
7.6.3 Performance The following inf
- Page 350 and 351:
318 DB2 UDB for z/OS Version 8 Perf
- Page 352 and 353:
Impact on coupling facility: You do
- Page 354 and 355:
Table 8-1 shows extracts from DB2 P
- Page 356 and 357:
and secondary GBP structures have t
- Page 358 and 359:
DB2 member already has the table sp
- Page 360 and 361:
8.2.1 Performance We ran a number o
- Page 362 and 363:
esolve any contention. This extra a
- Page 364 and 365:
There is also no need to use RELEAS
- Page 366 and 367:
Table 8-12 DB2 I/O CI Limit Removal
- Page 368 and 369:
8.5 Miscellaneous items In this sec
- Page 370 and 371:
DB2 V8 improves Restart Light. If i
- Page 372 and 373:
340 DB2 UDB for z/OS Version 8 Perf
- Page 374 and 375:
9.1 Unicode catalog DB2 for z/OS su
- Page 376 and 377:
that all applications are converted
- Page 378 and 379:
- CLASST: Specifies the threshold a
- Page 380 and 381:
From these measurements we observe
- Page 382 and 383:
Class 1 CPU time (MSEC) 200 150 100
- Page 384 and 385:
dynamic statement cache. If activat
- Page 386 and 387:
that everything is ready. This step
- Page 388 and 389:
Table Number of rows SYSDATABASE 75
- Page 390 and 391:
In Figure 9-7 we describe the perfo
- Page 392 and 393:
Old - Query 5 New - Query 5 CPU (se
- Page 394 and 395:
Query 35 36 Old DSNTESQ CPU 1 hr 1
- Page 396 and 397:
10.1 DB2 Estimator DB2 Estimator V8
- Page 398 and 399:
- REAL AND AUXILIARY STORAGE This i
- Page 400 and 401:
Another use is during back out of a
- Page 402 and 403:
In DB2, the IBM Data Encryption too
- Page 404 and 405:
The utilities ran on a G7 Turbo wit
- Page 406 and 407:
time Figure 10-1 DB2 HPU vs. UNLOAD
- Page 408 and 409:
DSNTIAUL with multi-row fetch The r
- Page 410 and 411:
A.1 Maintenance for DB2 V8 The APAR
- Page 412 and 413:
APAR # Area Text PTF and Notes PQ88
- Page 414 and 415:
APAR # Area Text PTF and Notes PQ96
- Page 416 and 417:
APAR # Area Text PTF and Notes PK21
- Page 418 and 419: APAR # Area Text PTF and Notes PK46
- Page 420 and 421: APAR # Area Text PTF and Notes PQ85
- Page 422 and 423: APAR # Area Text PTF and Notes PK09
- Page 424 and 425: 392 DB2 UDB for z/OS Version 8 Perf
- Page 426 and 427: B.1 DB2 PE Storage Statistics trace
- Page 428 and 429: Storage heading Description 24 BIT
- Page 430 and 431: 398 DB2 UDB for z/OS Version 8 Perf
- Page 432 and 433: C.1 DB2 SQL PA additional reports N
- Page 434 and 435: |is the last matching predicate. Ap
- Page 436 and 437: |ANL6052I *** NOTE: | |This index i
- Page 438 and 439: PREDICATE ANALYSIS ----------------
- Page 440 and 441: D.1 DB2 EXPLAIN EXPLAIN describes t
- Page 442 and 443: Table D-2 PLAN_TABLE contents and b
- Page 444 and 445: Column Type Content SORTC_ORDER BY
- Page 446 and 447: Column Type Content OPTHINT CHAR(8)
- Page 448 and 449: D.1.3 DSN_FUNCTION_TABLE You can us
- Page 450 and 451: Example: D-1 Creating DSN_STATEMENT
- Page 452 and 453: Column Type Content BIND_QUALIFIER
- Page 454 and 455: 422 DB2 UDB for z/OS Version 8 Perf
- Page 456 and 457: ICF integrated catalog facility ICF
- Page 458 and 459: ► DB2 UDB for z/OS V8: Through th
- Page 460 and 461: 428 DB2 UDB for z/OS Version 8 Perf
- Page 462 and 463: character set 174 CHECK DATA 262 CH
- Page 464 and 465: Equi-join predicates 54, 402 Equiva
- Page 466 and 467: MINSTOR 145-146 Mismatched data typ
- Page 470 and 471: Sort tree nodes 144 SORTDATA 268 SO
- Page 472 and 473: 306 Universal Driver for SQLJ and J
- Page 474 and 475: 442 DB2 UDB for z/OS Version 8 Perf
- Page 476: DB2 UDB for z/OS Version 8 Performa