Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
Sponsored by
Lju
bljan
a, 13 A
pril 2
012
SQ
LA
DR
IA S
EM
INA
R
Relational Database Users Committee for Croatia and Slovenia Odbor korisnika relacijskih baza podataka Hrvatske i Slovenije
Odbor uporabnikov relacijskih baz podatkov Hrvaške in Slovenije
CTK Rijeka, Školjić 5d, 51000 Rijeka, tel. ++385 51 327 184, 213 019, fax. ++385 51 33 85 31, http://www.ctk-rijeka.hr, email: [email protected]
SQLAdria Seminar
10:00 Opening and presenting sponsor
10.15 – 12:00 V10 Migration Planning and Experiences?
Gain insight into V9 and V10 Performance and save costs?
John Campbell
IBM
12:00 Coffee Break
12:15 – 14:00 Advanced Backup and Recovery using Flashcopy?
V10 Virtual and Real Storage Management?
John Campbell
IBM
14:00 Lunch
15:00 – 15:30 User theme: Loading a Data Warehouse
Zdenka Gazvoda, Jure Lovšin
Zavod za zdravstveno zavarovanje Slovenije
Ljubljana, 13th April 2012
Hotel Slon
Sponsored by:
Participants of the SQLAdria Seminar
Ljubljana, 13th April 2012
No Name Surname Company E‐mail
1 Erika Polanič Informatika d.d. [email protected]
2 Andrej Furman Informatika d.d. [email protected]
3 Barbara Rečnik Informatika d.d. [email protected]
4 Mojca Kosirnik Informatika d.d. [email protected]
5 Marjana Glavan Informatika d.d. [email protected]
6 Karmen Kristan Kamenečki Informatika d.d. karmen.kristan‐[email protected]
7 Valerija Koletnik Informatika d.d. [email protected]
8 Brane Bruvo Informatika d.d. [email protected]
9 Matej Jozelj Informatika d.d. [email protected]
10 Aleš Vicozi Informatika d.d. [email protected]
11 Mateja Jankovič Informatika d.d. [email protected]
12 Ana Ramljak Zagrebačka banka d.d. [email protected]
13 Nenad Vidak Zagrebačka banka d.d. [email protected]
14 Sven Lovrenčić Zagrebačka banka d.d. [email protected]
15 Mirna Kos Zagrebačka banka d.d. [email protected]
16 Rok Žigon Elektro Ljubljana rok.zigon@elektro‐ljubljana.si
17 Marko Žagar Elektro Ljubljana marko.zagar@elektro‐ljubljana.si
18 Viktor Ulčar Elektro Ljubljana viktor.ulcar@elektro‐ljubljana.si
19 Vera Trtnik Elektro Ljubljana vera.trtnik@elektro‐ljubljana.si
20 Mija Glogoški Elektro Ljubljana mija.glogoski@elektro‐ljubljana.si
21 Luka Pipp NLB d.d. [email protected]
22 Majda Zajc Markelj NLB d.d. [email protected]
23 Mateja Pečarič Žunič NLB d.d. [email protected]
24 Peter Konda NLB d.d. [email protected]
25 Branko Božič NLB d.d. [email protected]
26 Istok Sajevic NLB d.d. [email protected]
27 Mitja Makovec NLB d.d. [email protected]
28 Goran Bavčar NLB d.d. [email protected]
29 Marko Koprivnikar IBM Slovenija d.o.o. [email protected]
30 Iva Mesarić HZMO [email protected]
31 Željko Blagajić HZMO ž[email protected]
32 Goran Petrinjac HZMO [email protected]
33 Dragica Šmintić Apis IT d.o.o. dragica.smintic@apis‐it.hr
34 Rok Brnot ZPIZ [email protected]
35 Rok Medja ZPIZ [email protected]
36 Viljano Pavletić ZPIZ [email protected]
37 Darija Abramič ZPIZ [email protected]
38 Mirjana Kregar ZZZS [email protected]
39 Evgen Gržanič ZZZS [email protected]
40 Zdenka Gazvoda ZZZS [email protected]
41 Janez Miko ZZZS [email protected]
42 Tine Košir ZZZS [email protected]
43 Tatjana Šumec ZZZS [email protected]
44 Andrej Koporc ZZZS [email protected]
45 Niko Schlamberger Slovensko društvo informatike [email protected]
46 Olivera Stanić CTK Rijeka, SQLAdria ostanic@ctk‐rijeka.hr
Sponsored by
Ljubljana, 13 April 2012
SQLADRIA SEMINAR
V10 Migration Planning and Experiences?Gain insight into V9 and V10 Performance
and save costs?
John CampbellIBM
IBM
DB
2 10
Mig
ratio
n P
lann
ing
and
Ver
y E
arly
Exp
erie
nces
–P
art 1
John
Cam
pbel
lD
iti
ih
dE
i
© 2
011
IBM
Cor
pora
tion
1
Dis
tingu
ishe
d En
gine
erD
B2
for z
/OS
Dev
elop
men
tN
otes
: Joh
n C
ampb
ell1
/UK
/IBM
@IB
MG
BE
mai
l: C
ampb
elJ@
uk.ib
m.c
om
Ob
ject
ives
�S
hare
less
ons
lear
ned,
sur
pris
es, p
itfal
ls�
Pro
vide
hin
ts a
nd ti
ps�
Addr
ess
som
e m
yths
�P
rovi
de a
dditi
onal
pla
nnin
g in
form
atio
n�
Pro
vide
usa
ge g
uide
lines
and
pos
ition
ing
on n
ew e
nhan
cem
ents ©
201
1 IB
M C
orpo
ratio
n2
Ag
end
a
�K
eys
to c
usto
mer
mig
ratio
n su
cces
s�
Per
form
ance
and
Sca
labi
lity
�B
IND
, RE
BIN
D a
nd E
XP
LAIN
�A
vaila
bilit
y�
Mig
ratio
n P
lann
ing
�R
emov
al o
f DD
F P
rivat
e P
roto
col
© 2
011
IBM
Cor
pora
tion
3
�S
ecur
ity C
onsi
dera
tions
whe
n re
mov
ing
DD
F P
rivat
e P
roto
col
�O
ther
�S
umm
ary
Key
s to
cu
sto
mer
mig
rati
on
su
cces
s
1.P
lan
for c
ontin
ual a
pplic
atio
n of
pre
vent
ativ
e se
rvic
e–
Nee
d to
sta
y m
ore
curre
nt o
n H
IPE
Rs
at th
is s
tage
in th
e re
leas
e ta
ke u
p cy
cle
–A
pply
pre
vent
ativ
e se
rvic
e ev
ery
3 m
onth
s•
Two
“maj
or” a
nd tw
o “m
inor
” rel
ease
s•
Ref
resh
of t
he b
ase
ever
y 6
mon
ths
(“m
ajor
”)•
Eac
h ba
se s
houl
d be
bas
ed o
n la
test
qua
rterly
RS
U a
s op
pose
d us
e of
PU
T•
In a
dditi
on, t
wo
‘min
or’ p
acka
ges
cove
ring
HIP
ER
s an
d P
Es
in b
etw
een
time
–Au
gmen
t by
expl
oitin
g En
hanc
ed H
OLD
DAT
A o
n a
wee
kly
basi
s be
fore
pr
oduc
tion
cuto
vera
ndco
ntin
ueth
erea
fter
© 2
011
IBM
Cor
pora
tion
4
prod
uctio
n cu
tove
r and
con
tinue
ther
eafte
r•
Iden
tify
and
pull
all a
pplic
able
HIP
ER
s an
d P
E fi
xes
•E
xped
ite th
e m
ost c
ritic
al P
TFs
into
pro
duct
ion
2.P
erfo
rm a
pplic
atio
n re
gres
sion
and
stre
ss te
stin
g is
the
best
way
to k
eep
‘fire
s’ a
way
from
pro
duct
ion
3.B
uild
a re
alis
tic p
roje
ct p
lan
–A
void
cra
sh p
roje
ct
–Al
low
con
tinge
ncy
for ‘
bum
ps in
the
road
’ –
Invo
lve
appl
icat
ions
team
s ea
rly•
Inve
stig
atio
n of
inco
mpa
tible
cha
nges
and
fix
up•
Test
ing
CS
T a
nd
RS
U e
xam
ple
CS
T4Q
10
RS
U10
12
All
serv
ice
thro
ug
h e
nd
S
ept
2010
no
t al
read
y m
arke
d R
SU
+
H&
PE
thro
ug
hen
dN
ov
2010
RS
U11
01
H&
PE
thro
ug
h e
nd
Dec
201
0
RS
U11
02
H&
PE
thro
ug
h e
nd
Jan
201
1
All
serv
ice
thro
ug
h e
nd
D
ec 2
010
no
t al
read
y m
arke
d R
SU
+
H&
PE
thro
ug
hen
dF
eb20
11
CS
T1Q
11
RS
U11
03
© 2
011
IBM
Cor
pora
tion
5
thro
ug
h e
nd
No
v 20
10
Ava
ilab
le a
t th
e b
egin
nin
g
of
Jan
uar
y 20
11A
vaila
ble
at
the
beg
inn
ing
o
f F
ebru
ary
2011
Ava
ilab
le a
t th
e b
egin
nin
g
of
Mar
ch 2
011
thro
ug
h e
nd
Feb
201
1
Ava
ilab
le a
t th
e b
egin
nin
g
of A
pri
l 201
1
Bas
e: S
ep 2
010
H&
PE
: N
ov
2010
Bas
e: S
ep 2
010
H&
PE
: D
ec 2
010
Bas
e: S
ep 2
010
H&
PE
: Ja
n 2
011
Bas
e: D
ec 2
010
H&
PE
: F
eb 2
011
H&
PE =
HIP
ER/S
ecur
ity/In
tegr
ity/P
erva
sive
PTF
s +
PE re
solu
tion
(and
ass
ocia
ted
requ
isite
s an
d su
pers
edes
)
Per
form
ance
an
d S
cala
bili
ty
�M
any
oppo
rtuni
ties
for p
rice/
perfo
rman
ce (c
ost)
impr
ovem
ents
–M
ajor
them
e of
this
rele
ase
–M
ost w
elco
me
to o
ur c
usto
mer
s�
Cus
tom
ers
intim
idat
ed b
y th
e m
arke
ting
nois
e ab
out i
mpr
oved
per
form
ance
–E
xpec
tatio
n of
thei
r CIO
–Fo
r som
e of
thei
r wor
kloa
ds n
ot s
eein
g im
prov
emen
ts in
CPU
and
ela
psed
tim
e–
Con
vers
ely
see
big
impr
ovem
ents
forc
erta
inw
orkl
oads
© 2
011
IBM
Cor
pora
tion
6
Con
vers
ely
see
big
impr
ovem
ents
for c
erta
in w
orkl
oads
–Sm
all w
orkl
oads
can
ske
w e
xpec
tatio
ns o
n sa
ving
s–
Som
e m
easu
rem
ents
and
quo
tes
are
insa
nely
pos
itive
•S
houl
d be
igno
red
–H
ow to
ext
rapo
late
and
est
imat
e fo
r pro
duct
ion
mix
ed w
orkl
oad?
•E
stim
atio
n w
ith a
ccur
acy
and
high
con
fiden
ce n
ot p
ract
ical
•B
ench
mar
king
effo
rt w
ould
be
requ
ired
�V
ery
impo
rtant
to c
orre
ctly
leve
l set
cus
tom
er p
erfo
rman
ce e
xpec
tatio
ns�
Cus
tom
ers
shou
ld n
ot s
pend
any
per
form
ance
ben
efits
unt
il th
ey s
ee th
em
Per
form
ance
an
d S
cala
bili
ty …
�A
ssum
es n
o m
ajor
acc
ess
path
regr
essi
ons
�O
n D
ay 1
in p
rodu
ctio
n in
CM
with
out a
ny c
hang
es (e
.g.,
no re
bind
, no
use
of 1
MB
pag
e si
ze) t
here
may
be
cust
omer
s w
ho s
ee z
ero
% im
prov
emen
t an
d ev
en s
ome
will
see
deg
rada
tion
–W
hy?
SP
RO
Cs
disa
bled
, puf
fing
of ru
n tim
e st
ruct
ures
for m
igra
ted
pack
ages
fro
m V
8 or
V9,
etc
�To
max
imis
e th
e pe
rform
ance
impr
ovem
ents
mus
t:
© 2
011
IBM
Cor
pora
tion
7
–R
EB
IND
sta
tic S
QL
pack
ages
–U
se P
GFI
X=Y
ES
buf
ferp
ools
with
suf
ficie
nt 1
MB
real
sto
rage
pag
e fra
mes
to
100%
fully
bac
k th
e re
quire
men
t fro
m P
GFI
X=Y
ES
buf
ferp
ools
�S
eein
g 0-
10%
impr
ovem
ent a
fter R
EB
IND
and
use
of 1
MB
real
sto
rage
fra
mes
�N
eed
to lo
ok a
t tot
al C
PU
reso
urce
con
sum
ptio
n pi
ctur
e ac
ross
–A
cctg
Cla
ss 2
TC
B T
ime
(Acc
ount
ing
Trac
e)–
DB
2 S
yste
m A
ddre
ss s
pace
s (S
tatis
tics
Trac
e)
Per
form
ance
an
d S
cala
bili
ty …
�C
usto
mer
s sh
ould
exp
ect t
o se
e so
me
incr
ease
in re
al s
tora
ge
cons
umpt
ion
(10-
30%
)–
Mus
t als
o fa
ctor
in M
AX
SP
AC
E re
quire
men
t for
DB2
dum
ps (a
ppro
x 16
GB)
•A
void
ver
y lo
ng d
ump
capt
ure
times
and
bad
sys
tem
per
form
ance
•C
ritic
al fo
r V10
ser
vice
abili
ty
© 2
011
IBM
Cor
pora
tion
8
Per
form
ance
an
d S
cala
bili
ty …
�Th
e 0-
10%
CP
U re
duct
ion
is b
ased
on
the
DB
2 po
rtion
of a
giv
en
appl
icat
ion
wor
kloa
d�
Cus
tom
er v
alue
driv
en o
n ho
w s
ub-c
apac
ity w
orkl
oad
licen
sing
wor
ks
–Ba
sed
on 4
-hou
r rol
ling
aver
age
MSU
util
isat
ion
–H
ighe
st ro
lling
aver
age
figur
e fo
r eac
h m
onth
use
d to
cal
cula
te s
oftw
are
char
ges
for a
ll M
LC p
rodu
cts
(IBM
and
non
-IBM
) –
Pro
vide
d D
B2
form
s a
sign
ifica
nt c
ompo
nent
of t
he to
tal M
SU
usa
ge d
urin
g
© 2
011
IBM
Cor
pora
tion
9
peak
per
iod,
any
MS
U s
avin
gs w
ill tra
nsla
te d
irect
ly to
MLC
sav
ings
–
Typi
cally
this
is th
e on
line
day
-mid
mor
ning
and
mid
afte
rnoo
n–
So fo
r exa
mpl
e -t
his
may
be
driv
en b
y C
ICS-
DB2
wor
kloa
d w
here
the
DB2
po
rtion
of t
he w
orkl
oad
only
repr
esen
ts 4
0-60
% o
f the
tota
l pat
h le
ngth
–So
the
0-10
% m
ay re
pres
ent o
nly
0 to
6%
(i.e
., ne
eds
to b
e di
scou
nted
)–
Inve
stig
ate
how
muc
h C
PU
is u
sed
in th
e 4-
hour
per
iod
for D
B2
wor
k (S
QL)
–Ev
alua
te V
10 p
rice
band
s un
der W
LC p
ricin
g vs
. V10
MS
U s
avin
gs–
Fact
or in
the
impa
ct o
n ov
eral
l z/O
S s
oftw
are
stac
k co
st re
duct
ion
–z/
OS,
CIC
S, M
Q
Per
form
ance
an
d S
cala
bili
ty …
�S
ub c
apac
ity p
ricin
g
© 2
011
IBM
Cor
pora
tion
10
Ch
art
cou
rtes
y o
f C
rist
ian
Mo
laro
, tak
en f
rom
Wh
ite
Pap
er:
Get
tin
g t
he
fin
anci
al b
enef
its
of
DB
2 10
fo
r z/
OS
Per
form
ance
an
d S
cala
bili
ty …
�O
ppor
tuni
ties
for a
dditi
onal
pric
e/pe
rform
ance
impr
ovem
ents
driv
en b
y D
BM
1 31
-bit
VS
CR
sup
porte
d by
add
ition
al re
al s
tora
ge in
clud
e –
Mor
e us
e of
per
sist
ent t
hrea
ds w
ith s
elec
tive
use
of R
ELE
AS
E(D
EA
LLO
CA
TE)
•H
igh
Per
form
ance
DB
ATs
•
CIC
S P
rote
cted
EN
TRY
Thre
ads
•C
ICS
Unp
rote
cted
EN
TRY
Thre
ads
with
que
uing
•Ty
pica
l sav
ings
0-1
0%, m
ay b
e m
ore
© 2
011
IBM
Cor
pora
tion
11
–In
crea
sing
MA
XKE
EP
D to
impr
ove
Loca
l Dyn
amic
Sta
tem
ent C
ache
hit
ratio
an
d re
duce
the
num
ber o
f sho
rt pr
epar
es–
Sysp
lex/
Dat
a sh
arin
g G
roup
con
solid
atio
n•
So
for e
xam
ple,
8-w
ay to
4-w
ay•
Red
uced
cos
t of d
ata
shar
ing
�V
ery
impo
rtant
to c
orre
ctly
leve
l set
cus
tom
er p
erfo
rman
ce e
xpec
tatio
ns�
Cus
tom
ers
shou
ld n
ot s
pend
any
per
form
ance
ben
efits
unt
il th
ey s
ee th
em
Per
form
ance
an
d S
cala
bili
ty …
Wor
kloa
d C
usto
mer
Res
ults
CIC
S o
nlin
e tra
nsac
tions
A
ppro
x. 7
% C
PU
redu
ctio
n in
DB
2 10
CM
afte
r RE
BIN
D,
addi
tiona
l red
uctio
n w
hen
1MB
pag
e fra
mes
are
use
d fo
r sel
ectiv
e bu
ffer p
ools
CIC
S o
nlin
e tra
nsac
tions
A
ppro
x 10
% C
PU
redu
ctio
n fro
m D
B2
9
CIC
S o
nlin
e tra
nsac
tions
A
ppro
x 5%
CP
U re
duct
ion
from
DB
2 V
8
© 2
011
IBM
Cor
pora
tion
1212
CIC
S on
line
trans
actio
ns10
+% C
PU in
crea
se
Dis
tribu
ted
Con
curr
ent I
nser
t 50
% D
B2
elap
sed
time
redu
ctio
n, 1
5% c
harg
eabl
e C
PU
redu
ctio
n af
ter
enab
ling
high
per
form
ance
DB
AT
Dat
a sh
arin
g he
avy
conc
urre
nt in
sert
38%
CP
U re
duct
ion
Que
ries
Aver
age
CP
U re
duct
ion
28%
from
V8
to D
B2
10 N
FM
Bat
ch
Ove
rall
20-2
5% C
PU
redu
ctio
n af
ter r
ebin
d pa
ckag
es
Per
form
ance
an
d S
cala
bili
ty …
Wor
kloa
d C
usto
mer
Res
ults
Mul
ti ro
w in
sert
(dat
a sh
arin
g)33
% C
PU
redu
ctio
n fro
m V
9, 4
x im
prov
emen
t fro
m V
8 du
e to
LR
SN
spi
n re
duct
ion
Par
alle
l Ind
ex U
pdat
e 30
-40%
Ela
psed
tim
e im
prov
emen
t with
cla
ss 2
CP
U ti
me
redu
ctio
n
Inlin
e LO
BS
ELE
CT
LOB
sho
ws
80%
CP
U re
duct
ion
Incl
ude
Inde
x 17
% C
PU
redu
ctio
n in
inse
rt af
ter u
sing
INC
LUD
E IN
DE
X
© 2
011
IBM
Cor
pora
tion
1313
Has
h A
cces
s
20-3
0% C
PU
redu
ctio
n in
rand
om a
cces
s
16%
CP
U re
duct
ion
com
parin
g H
ash
Acc
ess
and
Inde
x-da
ta a
cces
s.
5% C
PU
redu
ctio
n co
mpa
ring
Has
h ag
ains
t Ind
ex o
nly
acce
ss
Furth
er im
prov
emen
ts d
eliv
ered
late
in th
e be
ta p
rogr
am.
Per
form
ance
an
d S
cala
bili
ty …
�M
easu
rem
ents
of I
BM
Rel
atio
nal
War
ehou
se W
orkl
oad
(IRW
W) w
ith
data
sha
ring
–B
ase:
DB
2 9
NFM
RE
BIN
D w
ith
PLA
NM
GM
T E
XTE
ND
ED
–D
B2
9 N
FM �
DB
2 10
CM
with
out
RE
BIN
D s
how
ed 1
.3%
CP
U re
duct
ion
8101214
© 2
011
IBM
Cor
pora
tion
14
–D
B2
10 C
M R
EB
IND
with
sam
e ac
cess
pa
th s
how
ed 4
.8%
CP
U re
duct
ion
–
DB
2 10
NFM
bro
ught
5.1
% C
PU
redu
ctio
n
–D
B2
10 C
M o
r NFM
with
RE
LEA
SE
D
EA
LLO
CA
TE 1
2.6%
CP
U re
duct
ion
from
D
B2
9
0246
CM
C
MR
EB
IND
NF
MD
EA
LL
OC
Per
form
ance
an
d S
cala
bili
ty …
�Q
uery
per
form
ance
enh
ance
men
ts–
No
REB
IND
requ
ired
for
•In
dex
list p
refe
tch
•IN
SE
RT
inde
x re
ad I/
O p
aral
lelis
m•
Wor
kfile
spa
nned
reco
rds
•S
QLP
L pe
rform
ance
•H
igh
perfo
rman
ce D
BA
Ts
© 2
011
IBM
Cor
pora
tion
15
•In
line
LOB
s
Per
form
ance
an
d S
cala
bili
ty …
�Q
uery
per
form
ance
enh
ance
men
ts …
–R
EB
IND
requ
ired
for
•U
se o
f RE
LEA
SE
(DE
ALL
OC
ATE
)•
Ear
ly e
valu
atio
n of
resi
dual
pre
dica
tes
•IN
-list
impr
ovem
ents
(new
acc
ess
met
hod)
•S
QL
pagi
natio
n (n
ew a
cces
s m
etho
d)•
Que
ry p
aral
lelis
m im
prov
emen
ts
© 2
011
IBM
Cor
pora
tion
16
•In
dex
incl
ude
colu
mns
•M
ore
aggr
essi
ve v
iew
/tabl
e ex
pres
sion
mer
ge•
Pre
dica
te e
valu
atio
n en
hanc
emen
ts•
RID
list
ove
rflow
impr
ovem
ents
–Ex
ecut
e R
UN
STA
TS b
efor
e R
EBIN
D
•W
hen
com
ing
from
V8,
to c
olle
ct im
prov
ed in
dex
stat
istic
s in
clud
ing
CLU
STE
RR
ATI
OF
•W
hen
com
ing
from
V9,
if d
o no
t alre
ady
incl
ude
the
KE
YCA
RD
opt
ion
of R
UN
STA
TS
Per
form
ance
an
d S
cala
bili
ty …
�P
oten
tial f
or a
cces
s pa
th re
gres
sion
whe
n us
ing
OP
TIM
IZE
FO
R 1
RO
W–
Use
d by
cus
tom
ers
as a
hin
t to
disc
oura
ge u
se o
f sor
t or l
ist p
refe
tch
–So
met
imes
app
lied
as a
n in
stal
latio
n SQ
L co
ding
sta
ndar
d–
DB2
acc
ess
path
sel
ectio
n ha
s al
way
s be
en c
ost b
ased
–
V10
‘ham
mer
’ cha
nge
•E
xclu
des
the
‘sor
t’ ac
cess
pla
n ca
ndid
ates
•R
emai
ning
‘sor
t avo
idan
ce’ a
cces
s pl
ans
com
pete
on
cost
–lo
wes
t cos
t win
sIf
no‘s
orta
void
ance
’acc
ess
plan
sth
en‘s
ort’
acce
sspl
ans
rem
ain
and
com
pete
on
© 2
011
IBM
Cor
pora
tion
17
•If
no ‘s
ort a
void
ance
’ acc
ess
plan
s, th
en ‘s
ort’
acce
ss p
lans
rem
ain
and
com
pete
on
cost
–Se
eing
incr
easi
ng e
vide
nce
of a
cces
s pa
th re
gres
sion
whe
n m
ultip
le c
andi
date
in
dexe
s av
aila
ble
e.g.
,•
DB
2 us
ing
alte
rnat
e in
dex
with
low
er M
ATC
HC
OLS
val
ue b
ecau
se th
ere
is n
o so
rt–
Solu
tions
•C
hang
e ap
plic
atio
n to
cod
e O
PTI
MIZ
E F
OR
2 R
OW
S•
Alte
r an
exis
ting
inde
x or
cre
ate
a ne
w in
dex
that
wou
ld s
uppo
rt bo
th s
ort a
void
ance
an
d in
dex
mat
chin
g (if
pre
dica
tes
allo
w)
•A
PA
R P
M56
845
now
ope
n to
pro
vide
opt
ion
for O
PTI
MIZ
E F
OR
1 R
OW
to a
llow
sor
t ac
cess
pla
ns
Per
form
ance
an
d S
cala
bili
ty …
�In
crea
se in
DB
2 sy
stem
add
ress
spa
ce C
PU
reso
urce
con
sum
ptio
n–
DBM
1 SR
B•
Mor
e us
e of
pre
fetc
h–
Row
leve
l seq
uent
ial d
etec
tion
and
prog
ress
ive
pref
etch
–IN
SE
RT
inde
x re
ad I/
O p
aral
lelis
m–
Inde
x lis
t pre
fetc
h w
hen
diso
rgan
ised
inde
x–
Afte
r BIN
D, m
ore
use
of li
st p
refe
tch
•zI
IP o
ffloa
d fo
r pre
fetc
han
d de
ferr
ed w
rite
See
ing
5070
%zI
IPof
fload
achi
eved
© 2
011
IBM
Cor
pora
tion
18
–S
eein
g 50
-70%
zIIP
offl
oad
achi
eved
–D
BM
1 TC
B
•C
losi
ng o
f hig
h us
e C
LOS
E=Y
ES
dat
aset
s w
hen
hitti
ng D
SM
AX
bec
ause
of s
tale
list
•S
ee A
PA
R P
M56
725
for t
his
issu
e–
MS
TR T
CB
•
Incr
ease
rela
ted
to re
al s
tora
ge m
onito
ring
whi
ch w
as in
trodu
ced
(AP
AR
PM
2472
3)•
DB
2 is
cal
ling
a z/
OS
RS
M s
ervi
ce fo
r CO
UN
TPA
GE
S fu
nctio
n w
hich
ser
ialis
edth
e fra
me
acce
ss w
ith s
pin
loop
•
CP
U in
crea
se e
spec
ially
whe
n m
ultip
le D
B2
subs
yste
ms
runn
ing
on th
e sa
me
LPA
R•
See
z/O
S A
PA
R O
A37
821
and
corr
espo
ndin
g D
B2
AP
AR
PM
4981
6 fo
r thi
s is
sue
Per
form
ance
an
d S
cala
bili
ty …
�B
uffe
rpoo
l Pag
e C
lass
ifica
tion
–S
eque
ntia
l, dy
nam
ic, a
nd li
st p
refe
tch
are
all t
reat
ed th
e sa
me
•P
ages
are
mar
ked
sequ
entia
lat t
he ti
me
they
are
pre
fetc
hed
–In
V8
•Th
ese
page
s w
ere
recl
assi
fied
as ra
ndom
whe
n su
bseq
uent
ly to
uche
d vi
a ge
tpag
e–
In V
9 an
d V1
0•
Non
e of
them
will
be
re-c
lass
ified
to ra
ndom
on a
get
page
�C
Fut
ilisa
tion
issu
e
© 2
011
IBM
Cor
pora
tion
19
�C
F ut
ilisat
ion
issu
e–
Roo
t cau
se is
the
way
GBP
dat
a in
the
CF
is d
elet
ed in
V10
–
CF
DEL
ETE
cal
l opt
ion
bein
g in
voke
d by
V10
del
etes
bot
h da
ta a
nd d
irect
ory
entri
es in
one
CF
call
•B
ut th
e co
de p
ath
used
with
nam
e cl
ass
mas
k re
quire
s m
ore
inte
rnal
CFC
C
seria
lisat
ion
and
can
take
long
er–
Res
ults
in s
igni
fican
tly m
ore
re-d
rives
of t
he D
ELE
TE re
ques
ts o
bser
ved
with
V10
–In
crea
sed
volu
me
of re
-driv
es c
ause
s th
e si
gnifi
cant
incr
ease
in C
F ut
ilisa
tion
–S
ee A
PA
R P
M51
467
for t
his
issu
e
Per
form
ance
an
d S
cala
bili
ty …
�D
B2
10 a
nd z
196
syne
rgy
–Ta
king
the
gene
ral c
ase,
per
form
ance
impr
ovem
ent f
rom
V9
to V
10 o
bser
ved
on z
10 p
roce
ssor
sho
uld
be in
sam
e ra
nge
on z
196
proc
esso
r as
long
as
they
ar
e m
easu
red
on th
e sa
me
num
ber o
f pro
cess
ors
•E
xpec
tatio
n is
stil
l in
the
5-10
% ra
nge
–
Apa
rt fro
m M
IPs
impr
ovem
ent,
z196
pro
vide
s•
Hig
her c
ache
hit
ratio
thus
bet
ter s
cala
bilit
y as
num
ber o
f pro
cess
ors
per L
PA
R
incr
ease
s (m
ore
than
16
proc
esso
rs p
er L
PA
R)
V10
perfo
rman
ceon
z196
© 2
011
IBM
Cor
pora
tion
20
–V1
0 pe
rform
ance
on
z196
•S
cale
s be
tter w
ith m
ore
proc
esso
rs p
er L
PA
R th
an z
10•
Can
run
with
hig
her n
umbe
r of c
oncu
rren
t thr
eads
–IB
M m
easu
rem
ent s
how
s 20
% IT
R i
mpr
ovem
ent f
rom
V9
(with
a fe
w
benc
hmar
k sp
ecia
ls) c
ompa
red
to V
10 o
n z1
96 8
0-w
ay w
ith IR
WW
-like
w
orkl
oad
•M
easu
rem
ent i
s ex
trem
e ca
se•
Will
onl
y ap
ply
to v
ery
high
end
cus
tom
ers
•N
ot a
gen
eral
mes
sage
–
Why
doe
s V1
0 ru
n be
tter o
n z1
96•
Latc
h co
nten
tion
redu
ctio
ns, 1
MB
real
sto
rage
pag
e fra
me
size
, gen
eral
pat
h le
ngth
Per
form
ance
an
d S
cala
bili
ty …
�U
se o
f 1M
B s
ize
real
sto
rage
pag
e fra
mes
on
z10
and
z196
–Lo
ng te
rm b
uffe
rpoo
l pag
e fix
was
intro
duce
d in
V8
to re
duce
CP
U
•M
any
cust
omer
s re
luct
ant t
o us
e P
GFI
X=Y
ES
•P
oten
tial f
or re
al s
tora
ge s
horta
ge b
ecau
se ru
nnin
g to
o cl
ose
to th
e ed
ge o
f the
am
ount
of r
eal s
tora
ge p
rovi
sion
ed•
Cus
tom
ers
do u
nder
stan
d th
e va
lue,
but
it o
nly
appl
ies
for a
few
hou
rs e
ach
day
•B
ut p
age
fix is
a lo
ng te
rm d
ecis
ion
•In
mos
t cas
es re
quire
s D
B2
recy
cle
to c
hang
e at
tribu
te
© 2
011
IBM
Cor
pora
tion
21
qy
g•
75%
cos
t red
uctio
n on
real
sto
rage
on
z196
(US
D1.
5K v
s. U
SD
6K)
Per
form
ance
an
d S
cala
bili
ty …
�U
se o
f 1M
B s
ize
real
sto
rage
pag
e fra
mes
on
z10
and
z196
…–
Pot
entia
l for
redu
ced
for C
PU
thro
ugh
less
TLB
mis
ses
–C
PU re
duct
ion
base
d on
cus
tom
er e
xper
ienc
e 0
to 6
%
–B
uffe
r poo
ls m
ust b
e de
fined
as
PG
FIX=
YE
S to
use
1M
B s
ize
page
fram
es
–M
ust h
ave
suffi
cien
t to
tal r
eal s
tora
ge to
fully
bac
k th
e to
tal D
B2
requ
irem
ent
–In
volv
es p
artit
ioni
ng re
al s
tora
ge in
to 4
KB
and
1M
B s
ize
page
fram
es•
Spe
cifie
d by
LFA
RE
A x
x% in
IEA
SYS
nn p
arm
lib m
embe
r and
onl
y ch
ange
able
by
IPL
© 2
011
IBM
Cor
pora
tion
22
•1M
B s
ize
page
fram
es a
re n
on-p
agea
ble
•If
1MB
siz
e pa
ge fr
ames
are
ove
rcom
mitt
ed, D
B2
will
use
4K
B s
ize
page
fram
es•
Rec
omm
enda
tion
to a
dd 5
-10%
to th
e si
ze to
allo
w fo
r som
e gr
owth
and
tuni
ng
–M
ust h
ave
both
eno
ugh
4KB
and
enou
gh 1
MB
size
pag
e fra
mes
–D
o no
t use
1M
B s
ize
real
sto
rage
fram
es u
ntil
runn
ing
smoo
thly
on
V10
–M
ake
sure
any
crit
ical
z/O
S m
aint
enan
ce is
app
lied
befo
re u
sing
1M
B si
ze re
al
stor
age
page
fram
es
Per
form
ance
an
d S
cala
bili
ty …
�U
se o
f 1M
B s
ize
real
sto
rage
pag
e fra
mes
on
z10
and
z196
…–
Use
ful c
omm
ands
•D
B2
-DIS
PLA
Y B
UFF
ER
PO
OL(
BP
1) S
ER
VIC
E=4
–U
sefu
l com
man
d to
find
out
how
man
y 1M
B s
ize
page
fram
es a
re b
eing
use
d–
Esp
ecia
lly u
sefu
l whe
n ru
nnin
g m
ultip
le D
B2
subs
yste
ms
on th
e sa
me
LPA
R–
See
DS
NB
999I
mes
sage
•M
VS
-DIS
PLA
Y V
IRTS
TOR
,LFA
RE
A
–S
how
tota
l LFA
RE
A, a
lloca
tion
split
acr
oss
4KB
and
1M
B s
ize
fram
es, w
hat i
s av
aila
ble
© 2
011
IBM
Cor
pora
tion
23
–S
ee IA
R01
9Im
essa
ge
Per
form
ance
an
d S
cala
bili
ty …
�E
xcep
tions
whe
re C
PU
regr
essi
on fo
r ver
y lig
ht O
LTP
tran
sact
ions
–S
kinn
y pa
ckag
es w
ith fe
w s
impl
e S
QL
–P
acka
ge a
lloca
tion
cost
ove
rride
s be
nefit
from
SQ
L op
timiz
atio
ns in
V10
–AP
AR P
M31
614
may
sol
ve th
is b
y im
prov
ing
pack
age
allo
catio
n pe
rform
ance
–G
ood
cand
idat
e fo
r the
use
of p
ersi
sten
t thr
eads
with
R
ELE
AS
E(D
EA
LLO
CA
TE) a
nd w
ill he
lp c
ompe
nsat
e
© 2
011
IBM
Cor
pora
tion
24
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e
16 E
xaB
yte=
264
Cas
tou
t b
frs
V7
V8
V9
V10
Cas
tou
t b
frs
SK
-CT
/PT
+
IRL
M lo
cks
DD
F c
trl-
blk
s
Co
mp
ress
ion
Cas
tou
t b
frs
+
CT
/PT
Th
read
© 2
011
IBM
Cor
pora
tion
252 G
igaB
yte=
231
DB
M1
add
ress
sp
ace
Rid
po
ol
Co
mp
ress
ion
So
rtp
oo
l
DB
D C
ach
eG
lob
al D
SC
ED
MP
oo
lT
hre
adD
SM
AX
Rid
po
ol
Co
mp
ress
ion
So
rtp
oo
l
DB
D C
ach
eG
lob
al D
SC
CT
/PT
Th
read
DS
MA
X
Rid
po
ol
p
So
rtp
oo
l
DB
D C
ach
eG
lob
al D
SC
SK
-CT
/PT
DS
MA
X
Real storage
Po
inte
r
All
Dat
asp
aces
CT
HR
EA
D+M
AX
DB
AT
=200
0C
TH
RE
AD
+MA
XD
BA
T=2
0000
pra
ctic
al li
mit
~a fe
w h
un
dre
ds
~a fe
w th
ou
san
ds
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e–
Avai
labl
e in
CM
–R
equi
rem
ent t
o R
EB
IND
sta
tic S
QL
pack
ages
to a
ccru
e m
axim
um b
enef
it–
Very
goo
d re
sults
ach
ieve
d (u
p to
90%
VSC
R)
–H
ave
high
deg
ree
of c
onfid
ence
that
pro
blem
add
ress
ed•
Rea
l wor
ld p
ropo
sitio
n: 5
00 ->
250
0-30
00 th
read
s pl
us
–Li
miti
ng fa
ctor
s no
w o
n ve
rtica
l sca
labi
lity
(# n
umbe
r of t
hrea
ds, t
hrea
d st
orag
e
© 2
011
IBM
Cor
pora
tion
26
gy
(,
gfo
otpr
int)
•A
mou
nt o
f rea
l sto
rage
pro
visi
oned
on
the
LPA
R•
Log
latc
h (L
C19
) con
tent
ion
•E
SQ
A/E
CS
A (3
1-bi
t) st
orag
e
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Thre
ad S
tora
ge V
9 vs
. V10
–In
itial
ly b
ut c
orre
cted
prio
r to
GA
������
��
�����
��������
��
���
����
���
V9
V10
CM
V10
CM
Reb
ind
© 2
011
IBM
Cor
pora
tion
27
�
����
����
���
��
��
��
��
��
��
��
��
��
��
��
��
��
��
��
��
��
��
��
���
��
��
��
��
� ����������
���
�����
���
��
����
�����
��
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Thre
ad S
tora
ge V
9 vs
. V10
–as
at G
A a
fter F
ix
������
��
�����
��������
��
����
���
V10
CM
V9
V10
CM
wit
h F
ix
© 2
011
IBM
Cor
pora
tion
28
�
����
����
����
��
��
��
��
��
��
���
��
����
����
����
����
����
����
����
����
����
����
���
� ����������
���
�����
���
��
����
�����
��
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e–
Maj
or c
usto
mer
opp
ortu
nitie
s he
re fo
r 31-
bit V
SC
R a
nd im
prov
ed
pric
e/pe
rform
ance
•P
oten
tial t
o re
duce
lega
cy O
LTP
tran
sact
ion
CP
U c
ost t
hrou
gh u
se o
f–
Mor
e C
ICS
pro
tect
ed E
NTR
Y (p
ersi
sten
t) th
read
s–
Mor
e us
e of
RE
LEA
SE
(DE
ALL
OC
ATE
) w
ith n
ext/e
xist
ing
pers
iste
nt th
read
s
•P
oten
tial t
o re
duce
CP
U fo
r DR
DA
tran
sact
ions
by
usin
g H
igh
Per
form
ance
DB
AT
Mus
tbe
usin
gC
MTS
TAT=
INA
CTI
VE
soth
atth
read
sca
nbe
pool
edan
dre
used
© 2
011
IBM
Cor
pora
tion
29
–M
ust b
e us
ing
CM
TSTA
T=IN
ACTI
VE s
o th
at th
read
s ca
n be
poo
led
and
reus
ed–
Pac
kage
s m
ust b
e bo
und
with
RE
LEA
SE
(DE
ALL
OC
ATE
) to
get r
euse
for s
ame
conn
ectio
n–
MO
DIF
Y D
DF
PKG
REL
(BN
DO
PT) m
ust a
lso
be in
effe
ct–
Do
not t
o ov
erus
e R
ELE
AS
E(D
EA
LLO
CA
TE) o
n pa
ckag
es>
Will
driv
e up
the
MA
XDB
AT
requ
irem
ent
•P
oten
tial t
o re
duce
CP
U w
hen
usin
g K
EE
PD
YNA
MIC
(YE
S) e
.g.,
SA
P–
Incr
ease
MA
XK
EE
PD
to im
prov
e Lo
cal D
ynam
ic C
ache
Hit
Rat
io a
nd re
duce
the
num
ber o
f sh
ort p
repa
res
–M
ust p
rovi
sion
add
ition
al re
al s
tora
geto
bac
k th
e re
quire
men
t for
eac
h op
portu
nity
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e –
Mor
e pe
rsis
tent
thre
ads
with
RE
LEA
SE
(DE
ALL
OC
ATE
) is
also
trad
e of
f with
B
IND
/RE
BIN
D a
nd D
DL
conc
urre
ncy
–Fo
r R
ELE
AS
E(D
EA
LLO
CA
TE) s
ome
lock
s ar
e he
ld b
eyon
d co
mm
it un
til
thre
ad te
rmin
atio
n•
Mas
s de
lete
lock
s (S
QL
DE
LETE
with
out W
HE
RE
cla
use)
•G
ross
leve
l loc
k ac
quire
d on
beh
alf o
f a S
QL
LOC
K T
AB
LEN
tl
blf
lll
ki
db
lk
lti
© 2
011
IBM
Cor
pora
tion
30
•N
ote:
no
long
er a
pro
blem
for g
ross
leve
l loc
k ac
quire
d by
lock
esc
alat
ion
–C
ICS
-DB
2 ac
coun
ting
for c
ost o
f thr
ead
crea
te a
nd te
rmin
ate,
or a
void
ance
th
ereo
f•
CIC
S u
ses
the
L8 T
CB
to a
cces
s D
B2
irres
pect
ive
of w
heth
er th
e ap
plic
atio
n is
thre
ad
safe
or n
ot•
Thre
ad c
reat
e an
d te
rmin
ate
cost
will
clo
ck a
gain
st th
e L8
TC
B a
nd w
ill b
e in
the
CIC
S
SM
F Ty
pe 1
10 re
cord
•N
ote:
prio
r to
OTE
did
not
cap
ture
the
thre
ad c
reat
e in
the
SM
F Ty
pe 1
10
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e –
Hig
h P
erfo
rman
ce D
BA
Ts (H
i-Per
f DB
ATs
) is
a ne
w ty
pe o
f dis
tribu
ted
thre
ad•
Mus
t be
usin
g C
MTS
TAT=
INA
CTI
VE
so
that
thre
ads
can
be p
oole
d an
d re
used
•P
acka
ges
mus
t be
boun
d w
ith R
ELE
AS
E(D
EA
LLO
CA
TE) t
o ge
t reu
se fo
r sam
e co
nnec
tion
and
-MO
DIF
Y D
DF
PK
GR
EL(
BN
DO
PT)
mus
t als
o be
in e
ffect
•W
hen
a D
BA
T ca
n be
poo
led
afte
r end
of c
lient
's U
OW
–N
ow D
BA
T an
d cl
ient
con
nect
ion
will
rem
ain
activ
e to
geth
er>
Stil
l cut
an
acco
untin
g re
cord
and
end
the
encl
ave
Aft
thH
iPfD
BA
Th
bd
200
ti
© 2
011
IBM
Cor
pora
tion
31
–A
fter t
he H
i-Per
f DB
AT
has
been
reus
ed 2
00 ti
mes
>D
BA
T w
ill b
e pu
rged
and
clie
nt c
onne
ctio
n w
ill th
en g
o in
activ
e
–A
ll th
e in
tera
ctio
ns w
ith th
e cl
ient
will
stil
l be
the
sam
e in
that
if th
e cl
ient
is p
art o
f a s
yspl
ex
wor
kloa
d ba
lanc
ing
setu
p, it
will
stil
l rec
eive
indi
catio
ns th
at th
e co
nnec
tion
can
be m
ultip
lexe
d am
ongs
t man
y cl
ient
con
nect
ions
–ID
THTO
IN w
ill no
t app
ly if
the
if th
e H
i-Per
f DB
AT
is w
aitin
g fo
r the
nex
t clie
nt U
OW
–If
Hi-P
erf D
BA
T ha
s no
t rec
eive
d ne
w w
ork
for P
OO
LIN
AC
tim
e>
DB
AT
will
be
purg
ed a
nd th
e co
nnec
tion
will
go
inac
tive
–If
# o
f Hi-P
erf D
BA
Ts e
xcee
d 50
% o
f MA
XD
BA
T th
resh
old
>D
BA
Ts w
ill b
e po
oled
at c
omm
it an
d pa
ckag
e re
sour
ces
copi
ed/a
lloca
ted
as R
ELE
AS
E(C
OM
MIT
)
–H
i-Per
f D
BA
Ts c
an b
e pu
rged
to a
llow
DD
L, B
IND
, and
util
ities
to b
reak
in>
Via
-MO
DIF
Y D
DF
PK
GR
EL(
CO
MM
IT)
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e –
Hig
h P
erfo
rman
ce D
BA
Ts (H
i-Per
f DB
ATs
) sho
uld
be c
aref
ully
•W
ant t
o ha
ve s
ome
high
per
form
ance
app
licat
ions
runn
ing
on L
UW
app
licat
ion
serv
ers
conn
ecte
d to
DB
2 10
for z
/OS
runn
ing
with
Hig
h P
erfo
rman
ce D
BA
Ts a
nd
othe
rs n
ot•
Sta
ndar
d O
DB
C a
nd J
DB
C p
acka
ges
supp
lied
with
driv
ers/
conn
ect p
acka
ges
shou
ld
be b
ound
twic
e in
to tw
o di
ffere
nt p
acka
ge c
olle
ctio
ns e
.g.,
–Th
e C
S p
acka
ge in
col
lect
ion1
will
be
boun
d w
ith R
ELE
AS
E(D
EA
LLO
CA
TE) s
o th
at th
e ap
plic
atio
nsus
ing
that
pack
age
will
beel
igib
leto
use
high
perfo
rman
ceD
BA
Ts
© 2
011
IBM
Cor
pora
tion
32
appl
icat
ions
usi
ng th
at p
acka
ge w
ill b
e el
igib
le to
use
hig
h pe
rform
ance
DBA
Ts–
The
CS
pac
kage
in c
olle
ctio
n2 (e
.g.,
NU
LLID
) wou
ld b
e bo
und
with
RE
LEA
SE
(CO
MM
IT) a
nd
wou
ld n
ot u
se h
igh
perfo
rman
ce D
BA
Ts
•Fo
r JD
BC
app
licat
ions
–S
et th
e cu
rren
tPac
kage
Set
pro
perty
in th
e re
spec
tive
data
sour
ce
•Fo
r .N
ET
and
OD
BC
/ C
LI a
pplic
atio
ns–
Set
Cur
rent
Pac
kage
Set
par
amet
er in
the
db2d
sdriv
er.c
fg c
onfig
urat
ion
Per
form
ance
an
d S
cala
bili
ty …
�D
BM
1 31
-bit
Virt
ual S
tora
ge C
onst
rain
t Rel
ief w
ith 6
4-bi
t SQ
L ru
n tim
e–
Pot
entia
l to
redu
ce th
e nu
mbe
r of D
B2
subs
yste
ms
in d
ata
shar
ing
grou
p•
Firs
t ste
p is
to c
olla
pse
mul
tiple
DB
2 m
embe
rs ru
nnin
g on
the
sam
e LP
AR
•M
ay th
en b
e ab
le to
redu
ce th
e nu
mbe
r of L
PA
Rs/
DB
2 m
embe
rs•
Con
side
r the
incr
ease
in lo
ggin
g ra
te p
er D
B2
mem
ber
–P
ossi
ble
aggr
avat
ion
of L
C19
con
tent
ion
desp
ite V
10 im
prov
emen
t•
Con
side
r the
incr
ease
in S
MF
data
vol
ume
per L
PA
R–
Can
ena
ble
DB
2 co
mpr
essi
on o
f SM
F da
ta to
redu
ce S
MF
data
vol
ume
© 2
011
IBM
Cor
pora
tion
33
>E
xper
ienc
e is
that
Acc
ount
ing
reco
rds
com
pres
s 70
-80%
>
Tiny
CP
U o
verh
ead
at ~
1%
–R
e-co
nsid
er u
se o
f acc
ount
ing
roll
up fo
r DD
F an
d R
RS
AF
wor
kloa
d (d
efau
lt)>
Com
prom
ises
per
form
ance
PD
/PS
I as
lose
info
rmat
ion
on o
utly
ing
trans
actio
ns>
Sig
nific
ant e
nhan
cem
ents
to p
acka
ge le
vel a
ccou
ntin
g so
it is
now
use
ful
•C
onsi
der t
he in
crea
sed
DU
MP
SR
V a
nd M
AX
SP
AC
E re
quire
men
t–
Re-
emph
asis
e th
e co
ntin
ued
valu
e of
dat
a sh
arin
g to
diff
eren
tiate
the
plat
form
•S
uppo
rt av
oida
nce
of p
lann
ed o
utag
es•
Avo
id h
umon
gous
sin
gle
poin
ts o
f fai
lure
•M
inim
um o
f 4-w
ay fo
r tru
e co
ntin
uous
ava
ilabi
lity
Per
form
ance
an
d S
cala
bili
ty …
�64
-bit
virtu
al s
tora
ge–
Thre
e la
rge
area
s al
loca
ted
at IP
L tim
e•
Com
mon
6G
B (z
/OS
def
ault)
–A
ddre
ssab
le b
y al
l aut
horiz
ed p
rogr
ams
on th
e LP
AR
–IF
C fo
r acc
ount
ing
•P
rivat
e 1T
B
–B
uffe
r poo
ls–
XM
L an
d LO
B a
re h
uge
user
s, R
TS b
lock
s, T
RA
CE
buf
fers
,
© 2
011
IBM
Cor
pora
tion
34
–so
me
RID
blo
cks,
IFC
wor
k bu
ffers
and
few
oth
er m
isc
syst
em p
ools
•S
hare
d (P
rivat
e) 1
28G
B–
Add
ress
able
by
all a
utho
rized
pro
duct
s w
hich
hav
e re
gist
ered
thei
r int
eres
t to
z/O
S u
sing
the
uniq
ue o
bjec
t to
ken
crea
ted
whe
n th
e m
emor
y ob
ject
is c
reat
ed–
V9
intro
duce
d 64
-bit
shar
ed p
rivat
e st
orag
e bu
t it w
as u
sed
in li
mite
d fa
shio
n–
Alm
ost a
ll th
e D
B2
stor
age
in V
10 is
now
64-
bit s
hare
d pr
ivat
e
–D
B2
is o
nly
"res
ervi
ng" v
irtua
l sto
rage
, it d
oes
not m
ean
it is
bei
ng u
sed
•It
cost
s no
thin
g to
rese
rve
virtu
al s
tora
ge i.
e., a
ddre
ssin
g ra
nge
•H
avin
g a
fixed
siz
e ar
eas
is a
lazy
des
ign
but i
t mak
es it
eas
ier f
or s
eria
lizat
ion
–N
eeds
to b
e ba
cked
by
real
sto
rage
whe
n it
is a
lloca
ted
with
in th
e re
fere
nce
area
Per
form
ance
an
d S
cala
bili
ty …
�31
-bit
and
64-b
it vi
rtual
sto
rage
con
tract
ion
–C
ON
TSTO
R=Y
ES
and
MIN
STO
R=Y
ES
•Th
ese
exis
ting
syst
em p
aram
eter
s dr
ive
the
cont
ract
ion
of 3
1-bi
t sto
rage
poo
ls a
nd th
e be
st fi
t allo
catio
n of
31-
bit s
tora
ge re
spec
tivel
y•
Not
app
licab
le to
64-
bit s
tora
ge•
Not
as
criti
cal a
s be
fore
V10
•A
ssum
ing
gene
rous
DB
M1
31-b
it V
SC
R in
V10
, set
CO
NS
TOR
=MIN
STO
R=N
O–
64-b
it th
read
poo
ls a
re c
ontra
cted
und
er c
ontro
l of
© 2
011
IBM
Cor
pora
tion
35
•C
omm
it co
unt
•N
ew R
eal S
tora
ge M
anag
emen
t DIS
CA
RD
func
tion
(see
follo
w o
n sl
ides
)
Per
form
ance
an
d S
cala
bili
ty …
�R
eal s
tora
ge–
Nee
d to
car
eful
ly p
lan,
pro
visi
on a
nd m
onito
r rea
l sto
rage
con
sum
ptio
n –
Prio
r to
V10
a h
idde
n zp
arm
SP
RM
RS
MX
(‘re
al s
tora
ge k
ill sw
itch’
) exi
sted
•S
PR
MR
SM
X p
reve
nts
a ru
naw
ay D
B2
subs
yste
m fr
om ta
king
the
LPA
R d
own
–S
houl
d be
use
d w
hen
ther
e is
mor
e th
an o
ne D
B2
subs
yste
m ru
nnin
g on
the
sam
e LP
AR
–A
im is
to p
reve
nt m
ultip
le o
utag
es b
eing
cau
sed
by a
sin
gle
DB
2 su
bsys
tem
out
age
–S
houl
d to
set
to 1
.5x
to 2
x no
rmal
DB
2 su
bsys
tem
usa
ge–
Kills
the
DB
2 su
bsys
tem
whe
n S
PR
MR
SM
X v
alue
reac
hed
•W
ithV
10,w
illne
edto
fact
orin
64-b
itsh
ared
and
com
mon
use
toes
tabl
ish
new
© 2
011
IBM
Cor
pora
tion
36
With
V10
, will
nee
d to
fact
or in
64
bit s
hare
d an
d co
mm
on u
se to
est
ablis
h ne
w
foot
prin
t–
Pro
blem
s w
ith in
trodu
ctio
n of
V10
•U
nabl
e to
mon
itor t
he R
EA
L an
d A
UX
sto
rage
fram
es u
sed
for 6
4-bi
t sha
red
stor
age
–V
9 no
t rea
lly a
n is
sue,
as
limite
d us
e of
64-
bit s
hare
d–
But
now
V10
mak
es e
xten
sive
use
of 6
4-bi
t sha
red
•LP
AR
leve
l ins
trum
enta
tion
buck
ets
for R
EA
L an
d A
UX
sto
rage
use
–If
mor
e th
e on
e D
B2
subs
yste
m o
n th
e sa
me
LPA
R th
en th
e nu
mbe
rs re
porte
d ar
e in
accu
rate
–O
nly
able
to g
et re
liabl
e nu
mbe
rs if
onl
y on
e su
bsys
tem
like
DB
2 on
the
LPA
R u
ses
64-b
it sh
ared
•La
ck o
f EN
F 55
con
ditio
n m
onito
ring
–50
% o
f AU
X u
sed
Per
form
ance
an
d S
cala
bili
ty …
�R
eal s
tora
ge …
–D
B2
AP
AR
PM
2472
3 is
ver
y im
porta
nt•
Mon
itorin
g is
sue
is a
ddre
ssed
and
new
ext
ensi
ons
to IF
CID
225
pro
vide
d–
Pre
-req
is n
ew M
VS
AP
AR
OA
3588
5 w
hich
pro
vide
s a
new
cal
labl
e se
rvic
e to
RS
M to
pro
vide
R
EA
L an
d A
UX
use
d fo
r add
ress
ing
rang
e fo
r sha
red
obje
cts
•S
PR
MR
SM
X h
idde
n zp
arm
now
bec
omes
an
opaq
ue p
aram
eter
R
EA
LSTO
RA
GE
_MA
X•
Intro
duce
s D
ISC
AR
D m
ode
to c
ontra
ct s
tora
ge u
sage
to p
rote
ct a
gain
st e
xces
sive
pa
ging
and
use
of A
UX
New
zpar
mR
EA
LSTO
RA
GE
MA
NA
GE
ME
NT
cont
rols
whe
nD
B2
frees
stor
age
fram
esba
ckto
© 2
011
IBM
Cor
pora
tion
37
–N
ew z
parm
RE
ALS
TOR
AG
E_M
ANAG
EMEN
T co
ntro
ls w
hen
DB2
free
s st
orag
e fra
mes
bac
k to
z/
OS
>
ON
-> D
isca
rd u
nuse
d fr
ames
all
the
time
-dis
card
sta
ck, t
hrea
d st
orag
e, k
eep
foot
prin
t sm
all
>O
FF ->
Do
not d
isca
rd u
nuse
d fra
mes
unl
ess
thin
gs a
re g
ettin
g ou
t of h
and
>A
UTO
(def
ault)
->
Det
ect w
heth
er p
agin
g is
imm
inen
t and
redu
ce th
e fra
me
coun
ts to
avo
id s
yste
m p
agin
g–
With
AU
TO, D
B2
mon
itors
pag
ing
rate
s, s
witc
hes
betw
een
ON
/OFF
and
dec
ides
whe
n to
di
scar
d fra
mes
bas
ed o
n>
80%
of S
PR
MR
SM
X re
ache
d>
50%
of A
UX
(EN
F55
cond
ition
) use
d>
Hitt
ing
AV
QLO
W (a
vaila
ble
real
sto
rage
fram
e)–
New
mes
sage
s (D
SN
V51
6I, 5
17I)
for w
hen
pagi
ng ra
te th
resh
olds
cau
se D
B2
to fr
ee re
al
fram
es•
Stro
ng re
com
men
datio
n to
app
ly P
TF fo
r A
PA
R P
M24
723
befo
re g
oing
into
bus
ines
s pr
oduc
tion
and
to ru
n w
ith R
EA
LSTO
RA
GE
_MA
NA
GE
ME
NT=
AU
TO
Per
form
ance
an
d S
cala
bili
ty …
�M
onito
ring
Virt
ual a
nd R
elea
se S
tora
ge–
SP
RE
AD
SH
EE
TDD
sup
port
in O
MP
E h
as n
ot b
een
enha
nced
to s
uppo
rt V
10•
OM
PE
are
wor
king
on
a 'g
ener
ic' s
prea
dshe
et g
ener
ator
•O
utst
andi
ng re
quire
men
t to
also
incl
ude
serv
icea
bilit
y fie
lds
–M
EMU
2 an
d M
EMU
SAG
E al
read
y en
hanc
ed fo
r V10
and
ava
ilabl
e on
the
DB2
fo
r z/O
S E
xcha
nge
com
mun
ity w
ebsi
te o
n IB
M M
y de
velo
perW
orks
1.Fr
om IB
M M
y de
velo
perW
orks
My
Hom
e (s
ign
in w
ith y
our I
BM
logi
n at
ht
tps:
//ww
wib
mco
m/d
evel
oper
wor
ks/m
ydev
elop
erw
orks
/hom
epag
e)se
arch
'mem
u2'
© 2
011
IBM
Cor
pora
tion
38
http
s://w
ww
.ibm
.com
/dev
elop
erw
orks
/myd
evel
oper
wor
ks/h
omep
age)
, sea
rch
mem
u2
in A
ll M
y de
velo
perW
orks
.2.
(Fro
m D
B2
for z
/OS
Exc
hang
e (h
ttp://
ww
w.ib
m.c
om/d
evel
oper
wor
ks/s
oftw
are/
exch
ange
/db2
zos)
, clic
k on
'Vie
w a
nd
dow
nloa
d ex
ampl
es'.
The
file
is ta
gged
with
'mem
u2'.
3.To
acc
ess
ME
MU
2 di
rect
ly (b
ut n
ote
that
if y
ou w
ant t
o be
kep
t inf
orm
ed o
f upd
ates
an
d ne
w v
ersi
ons,
you
nee
d to
log
on to
dev
elop
erW
orks
rath
er th
an d
ownl
oad
the
file
anon
ymou
sly.
..)–
V8/
V9
http
s://w
ww
.ibm
.com
/dev
elop
erw
orks
/myd
evel
oper
wor
ks/fi
les/
app/
file/
3af1
2254
-478
1-43
f3-b
4a8-
3336
e09c
36df
?lan
g=en
–V
10
http
s://w
ww
.ibm
.com
/dev
elop
erw
orks
/myd
evel
oper
wor
ks/fi
les/
app/
file/
e273
6ed5
-0c7
3-4c
59-b
291-
9da0
8255
b941
?lan
g=en
Qu
esti
on
s
© 2
011
IBM
Cor
pora
tion
39©
201
1 IB
M C
orpo
ratio
n40
IBM
DB
2 10
Mig
ratio
n P
lann
ing
and
Ver
y E
arly
Exp
erie
nces
–P
art 2
John
Cam
pbel
lD
iti
ih
dE
i
© 2
011
IBM
Cor
pora
tion
1
Dis
tingu
ishe
d En
gine
erD
B2
for z
/OS
Dev
elop
men
tN
otes
: Joh
n C
ampb
ell1
/UK
/IBM
@IB
MG
BE
mai
l: C
ampb
elJ@
uk.ib
m.c
om
Ob
ject
ives
�S
hare
less
ons
lear
ned,
sur
pris
es, p
itfal
ls�
Pro
vide
hin
ts a
nd ti
ps�
Addr
ess
som
e m
yths
�P
rovi
de a
dditi
onal
pla
nnin
g in
form
atio
n�
Pro
vide
usa
ge g
uide
lines
and
pos
ition
ing
on n
ew e
nhan
cem
ents ©
201
1 IB
M C
orpo
ratio
n2
Ag
end
a
�K
eys
to c
usto
mer
mig
ratio
n su
cces
s�
Per
form
ance
and
Sca
labi
lity
�B
IND
, RE
BIN
D a
nd E
XP
LAIN
�A
vaila
bilit
y�
Mig
ratio
n P
lann
ing
�R
emov
al o
f DD
F P
rivat
e P
roto
col
© 2
011
IBM
Cor
pora
tion
3
�S
ecur
ity C
onsi
dera
tions
whe
n re
mov
ing
DD
F P
rivat
e P
roto
col
�O
ther
�S
umm
ary
Per
form
ance
an
d S
cala
bili
ty …
�H
igh
INS
ER
T pe
rform
ance
–S
igni
fican
t im
prov
emen
ts fo
r UTS
•N
ow s
uppo
rt fo
r ME
MB
ER
CLU
STE
R•
Cha
nges
to s
pace
sea
rch
algo
rithm
(lik
e cl
assi
c pa
rtitio
ned)
–G
oal w
as fo
r UTS
to b
e eq
ual o
r bet
ter t
han
clas
sic
parti
tione
d (P
TS)
•N
ot th
ere
yet,
but m
uch
clos
er•
Ver
y w
orkl
oad
depe
nden
t
© 2
011
IBM
Cor
pora
tion
4
•S
ome
good
, som
e w
orse
•S
till t
rade
off
betw
een
spac
e vs
. thr
ough
put a
nd re
duce
d co
nten
tion
•W
ork
still
to d
o on
UTS
PB
R/P
BG
with
RLL
and
seq
uent
ial i
nser
t
Per
form
ance
an
d S
cala
bili
ty …
�H
igh
INS
ER
T pe
rform
ance
…–
Red
uced
LR
SN
spi
n fo
r ins
erts
to th
e sa
me
page
•W
orks
wel
l for
MR
I and
INS
ER
T w
ithin
loop
in a
dat
a sh
arin
g en
viro
nmen
t
–O
ptim
izat
ion
for ‘
pock
et’ s
eque
ntia
l ins
ert w
orks
wel
l•
Inde
x m
anag
er p
icks
the
cand
idat
e R
ID d
urin
g se
quen
tial i
nser
t (ne
xt lo
wes
t key
rid)
•H
ighe
r cha
nce
to fi
nd th
e sp
ace
and
avoi
ding
a s
pace
sea
rch
–P
aral
lel i
ndex
IO w
orks
ver
y w
ell w
hen
activ
ated
for r
ando
m k
ey in
serts
© 2
011
IBM
Cor
pora
tion
5
•>=
3 in
dexe
s•
Pre
fetc
h an
d de
ferr
ed w
rite
offlo
ad to
zIIP
to c
ompe
nsat
e
Hig
h In
sert
Wo
rklo
ad D
escr
ipti
on
�2-
way
dat
a sh
arin
g�
Dat
abas
e sc
hem
a–
3 ta
bles
with
tota
l of 6
inde
xes
(4 u
niqu
e, 2
non
-uni
que
inde
xes,
2 s
econ
dary
in
dexe
s)–
Tabl
e sp
ace
type
s: C
lass
ic P
artit
ione
d, C
lass
ic S
egm
ente
d, U
TS (P
BR
, PB
G)
�S
QL
–IN
SER
Ts c
onta
in 5
, 9 a
nd 4
6 co
lum
ns o
f int
eger
, big
int,
char
, var
char
, dec
imal
© 2
011
IBM
Cor
pora
tion
6
and
times
tam
p da
ta ty
pe�
Appl
icat
ion
impl
emen
ted
in J
ava
�S
eque
ntia
l ins
erts
into
em
pty
tabl
es–
240
conc
urre
nt th
read
s–
Mul
ti-ro
w in
serts
(100
)�
Ran
dom
inse
rts in
to p
opul
ated
tabl
es–
200
conc
urre
nt th
read
s–
Sin
gle-
row
inse
rts
DB
2 10
Ran
ge
Def
ined
Tab
le S
pac
es
Th
rou
gh
pu
t
0
5000
1000
0
1500
0
2000
0
2500
0
Rows/Sec
PL
LR
LL
CP
U T
ime
0
0.2
0.4
0.6
0.81
1.2
Msec / Commit
PL
LR
LL
----
----
----
----
----
----
----
----
--R
and
om
Inse
rts
----
----
----
----
----
----
----
----
© 2
011
IBM
Cor
pora
tion
7
0
PT
SP
TS
/MC
PB
RP
BR
/MC
PT
SP
TS
/MC
PB
RP
BR
/MC
Th
rou
gh
pu
t
0
2000
0
4000
0
6000
0
8000
0
1000
00
1200
00
PT
SP
TS
/MC
PB
RP
BR
/MC
Rows/Sec
PL
LR
LL
CP
U T
ime
05
101520
PT
SP
TS
/MC
PB
RP
BR
/MC
Msec / Commit
PL
LR
LL
----
----
----
----
----
----
----
----
Seq
uen
tial
Inse
rts
----
----
----
----
----
----
----
----
DB
2 10
No
n-r
ang
e D
efin
ed T
able
Sp
aces
Th
rou
gh
pu
t
0
5000
1000
0
1500
0
2000
0
2500
0
Rows/Sec
PL
LR
LL
CP
U T
ime
0
0.2
0.4
0.6
0.81
1.2
Msec / Commit
PL
LR
LL
Th
rou
gh
pu
t
0
5000
1000
0
1500
0
2000
0
2500
0
Rows/Sec
PL
LR
LL
----
----
----
----
----
----
----
----
--R
and
om
In
sert
s--
----
----
----
----
----
----
----
--
© 2
011
IBM
Cor
pora
tion
8
SE
GP
BG
PB
G/M
CS
EG
PB
GP
BG
/MC
Th
rou
gh
pu
t
0
2000
0
4000
0
6000
0
8000
0
1000
00
1200
00
SE
GP
BG
PB
G/M
C
Rows/SecP
LL
RL
L
CP
U T
ime
05
10152025
SE
GP
BG
PB
G/M
C
Msec / Commit
PL
LR
LL
SE
GP
BG
PB
G/M
C
----
----
----
----
----
----
----
----
Seq
uen
tial
In
sert
s--
----
----
----
----
----
----
----
--
Per
form
ance
an
d S
cala
bili
ty …
�A
ccou
ntin
g Tr
ace
Cla
ss 3
enh
ance
men
t –se
para
te c
ount
ers
–IR
LM L
ock/
Latc
h w
aits
–D
B2
Latc
h w
aits
�D
ata
shar
ing
–Fa
ster
DB2
shu
t dow
n by
avo
idin
g lo
cal b
uffe
r poo
l sca
n pe
r GB
P-d
epen
dent
ob
ject
–Av
oidi
ng s
can
of X
XXL
loca
l Buf
fer p
ool w
hen
•P
ages
et/p
artit
ion
trans
ition
s in
to G
BP
-dep
ende
ncy
© 2
011
IBM
Cor
pora
tion
9
•P
ages
et/p
artit
ion
trans
ition
s ou
t of G
BP
-dep
ende
ncy
�In
line
LOB
s w
ork
very
wel
l if y
ou h
it th
e sw
eet s
pot
–P
oten
tial f
or s
igni
fican
t CP
U a
nd e
laps
ed ti
me
impr
ovem
ent w
ith th
e rig
ht in
line
valu
e–
Trad
e of
f in
setti
ng th
e rig
ht in
line
valu
e•
Avo
idin
g ac
cess
to a
uxili
ary
tabl
espa
ce•
Incr
easi
ng b
ase
row
siz
e w
ith fe
wer
row
s pe
r pag
e•
May
hav
e to
incr
ease
d pa
ge s
ize
–In
line
porti
on c
an b
e co
mpr
esse
d–
Sig
nific
ant s
pace
sav
ings
with
sm
all L
OB
s (<
1000
byt
es)
Per
form
ance
an
d S
cala
bili
ty …
�C
ompr
ess
on IN
SE
RT
–C
ompr
essi
on ra
tios
alm
ost a
s go
od c
ompa
red
with
runn
ing
RE
OR
G la
ter
�A
ctiv
e lo
g w
rites
–P
rior t
o V
10, l
og w
rites
are
don
e se
rially
whe
n re
-writ
ing
parti
al C
Is–
Det
erm
ined
that
des
truct
ive
writ
es d
ue to
IO e
rrors
no
long
er o
ccur
–N
ow a
ll lo
g w
rite
IOs
are
done
in p
aral
lel
–E
laps
edtim
eim
prov
emen
ts
© 2
011
IBM
Cor
pora
tion
10
Elap
sed
time
impr
ovem
ents
�Li
mite
d va
lue
of C
urre
ntly
Com
mitt
ed lo
ckin
g se
man
tics
–S
QL
UP
DA
TE n
ot s
uppo
rted
Per
form
ance
an
d S
cala
bili
ty …
�H
ash
acce
ss v
s. In
dex
only
acc
ess
and
inde
x lo
okas
ide
–C
ompe
tes
agai
nst i
ndex
onl
y ac
cess
and
inde
x lo
okas
ide
•A
dvan
tage
that
inde
x on
ly a
cces
s st
ill p
rovi
des
for c
lust
ered
dat
a ac
cess
•C
an n
ow h
ave
uniq
ue in
dex
with
INC
LUD
E c
olum
ns–
Red
uce
num
ber o
f ind
exes
requ
ired
for p
erfo
rman
ce re
ason
s–
Impr
ove
inse
rt, u
pdat
e an
d de
lete
per
form
ance
–N
eed
to fi
nd th
e sw
eet s
pot
•H
igh
NLE
VE
LS in
inde
x (>
=3)
© 2
011
IBM
Cor
pora
tion
11
•P
urel
y di
rect
row
acc
ess
by p
rimar
y ke
y•
Trul
y ra
ndom
acc
ess
•R
ead
inte
nsiv
e, n
ot v
olat
ile•
No
rang
e qu
erie
s•
Man
y ro
ws
per p
age
etc
–Sp
ace
allo
catio
n of
fixe
d ha
sh s
pace
is k
ey to
con
trol o
verfl
ow•
Too
smal
l will
lead
to ro
ws
in o
verfl
ow•
Too
larg
e w
ill le
ad to
rand
om IO
•R
EO
RG
AU
TOE
STS
PA
CE
(YE
S) b
ut s
till s
ome
row
s in
ove
rflow
–
Deg
rade
d LO
AD
and
RE
OR
G u
tility
per
form
ance
Per
form
ance
an
d S
cala
bili
ty …
�Im
prov
ed in
dex
spac
e se
arch
whe
n in
dex
leaf
pag
e sp
lit–
In V
8/V9
, Ind
ex M
anag
er•
Firs
t sea
rche
s th
e sp
ace
map
pag
e co
verin
g th
e sp
littin
g pa
ge•
If th
ere
is n
o fre
e en
try, s
earc
hes
the
spac
e m
ap p
ages
sta
rting
from
the
first
spa
ce
map
pag
e to
the
high
est a
lloca
ted
page
•If
all t
he s
pace
map
pag
es a
re fu
ll, h
as to
ext
end
•If
the
inde
x is
hug
e an
d al
l the
spa
ce m
ap p
ages
hav
ing
free
entri
es a
re to
war
d th
e en
d of
the
inde
x, th
is p
roce
ss c
an ta
ke a
ver
y lo
ng ti
me
–In
V10
, Ind
ex M
anag
er
© 2
011
IBM
Cor
pora
tion
12
•A
fter s
earc
hing
the
spac
e m
ap p
age
cove
ring
the
split
ting
page
, and
if it
is fu
ll, w
ill s
tart
sear
chin
g fro
m th
e pa
ge n
umbe
r it l
ast r
emem
bere
d ha
ving
the
free
entry
in it
(pag
e A
)•
Whe
n it
reac
hes
to th
e hi
ghes
t allo
cate
d pa
ge, i
t sta
rts fr
om th
e be
ginn
ing
and
sear
ch
forw
ard
till i
t rea
ches
to p
age
A•
Then
it h
as to
ext
end
sinc
e th
e en
tire
inde
x is
full
•Th
e pa
ge n
umbe
r of t
he s
pace
map
pag
e ha
ving
free
ent
ry is
sto
red
in a
n in
-mem
ory
cont
rol b
lock
–W
hen
Inde
x M
anag
er fi
nds
a sp
ace
map
pag
e w
ith fr
ee e
ntry
, it i
s up
date
d to
be
the
page
nu
mbe
r of t
hat s
pace
map
pag
e–
Inde
x M
anag
er u
pdat
es th
is v
alue
whe
n an
inde
x pa
ge is
del
eted
or w
hen
the
inde
x is
mas
s de
lete
d•
Ret
rofit
ted
back
to V
9 vi
a A
PA
R P
M15
474
Per
form
ance
an
d S
cala
bili
ty …
�C
ompa
ring
CP
U p
erfo
rman
ce o
n V
10 re
lativ
e to
V8
or V
9–
Mor
e di
fficu
lt to
do
in re
al c
usto
mer
pro
duct
ion
envi
ronm
ent
•U
ncer
tain
ty c
ause
d by
app
licat
ion
chan
ges
•Fl
uctu
atio
n in
the
daily
app
licat
ion
prof
ile e
spec
ially
bat
ch fl
ow
–M
ust t
ry to
nor
mal
ise
thin
gs o
ut to
ens
ure
wor
kloa
ds a
re b
road
ly c
ompa
rabl
e•
Bro
adly
sim
ilar i
n te
rms
of S
QL
and
getp
age
prof
ile•
Usu
ally
hav
e to
exc
lude
the
batc
h flo
w
© 2
011
IBM
Cor
pora
tion
13
•Fa
ctor
out
ext
rem
e va
riatio
n •
Nee
d to
look
at m
ultip
le d
ata
poin
ts
BIN
D, R
EB
IND
an
d E
XP
LA
IN
�V
alue
of R
EB
IND
und
er V
10–
Impr
oved
per
form
ance
from
new
run
time
(avo
id p
uffin
g, e
nabl
e S
PR
OC
)–
Max
imiz
e D
BM
1 31
-bit
VS
CR
–A
llow
RID
ove
rflow
to w
orkf
ile–
Take
adv
anta
ge o
f que
ry o
ptim
izat
ion
chan
ges
(ava
ilabl
e in
CM
mod
e)–
Red
uce
expo
sure
to p
robl
ems
with
mig
rate
d pa
ckag
es fr
om e
arlie
r rel
ease
s•
INC
OR
RO
UTs
© 2
011
IBM
Cor
pora
tion
14
•Th
read
abe
nds
�C
an m
itiga
te e
xpos
ure
to b
ad a
cces
s pa
th c
hang
e in
trodu
ced
with
RE
BIN
D
whi
ch le
ads
to d
egra
ded
run
time
perfo
rman
ce (r
egre
ssio
n)–
Use
acc
ess
plan
sta
bilit
y (P
LAN
MG
MT=
EXT
EN
DE
D|B
AS
IC) a
nd fa
llbac
k if
need
ed•
PLA
NM
GM
T=E
XTE
ND
ED
is n
ow th
e de
faul
t
–U
se A
PR
EU
SE
and
AP
CO
MP
AR
E
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�A
cces
s P
ath
Reu
se -
AP
RE
US
E a
nd A
PC
OM
PA
RE
–In
trodu
ced
in V
10 th
roug
h AP
ARs
PM33
767
(func
tion)
and
PM
2567
9 (e
nabl
ed)
–W
orks
inde
pend
ently
of a
cces
s pl
an s
tabi
lity
(PLA
NM
GM
T=E
XTE
ND
ED
|BA
SIC
) –
Pro
vide
s ab
ility
to g
ener
ate
new
SQ
L ru
n tim
e bu
t will
atte
mpt
to re
use
the
exis
ting
acce
ss p
ath
by in
tern
ally
usi
ng O
PTH
INTS
•A
pplie
s to
bot
h B
IND
RE
PLA
CE
and
RE
BIN
D
–A
vaila
ble
in C
M w
hen
mig
ratin
g fro
m V
9 ->
V10
and
then
app
lies
to s
ubse
quen
t
© 2
011
IBM
Cor
pora
tion
15
BIN
D/R
EB
IND
in V
10
–O
nly
wor
ks w
hen
pack
age
prev
ious
ly b
ound
on
V9 o
r hig
her
•S
tarti
ng w
ith V
9, E
XP
LAIN
info
rmat
ion
is s
aved
aw
ay in
side
the
pack
age
in S
PT0
1•
Ref
erre
d to
as
“Exp
lain
Dat
a B
lock
(ED
B)”
whi
ch is
a c
ompa
ct re
pres
enta
tion
of
PLA
N_T
AB
LE in
form
atio
n–
Not
gua
rant
eed
to s
ucce
ed in
all
case
s as
OP
THIN
TS a
re n
ot e
nfor
ceab
le
100%
of t
he ti
me
•S
ome
inco
mpa
tibili
ties
betw
een
old
and
new
rele
ase
(res
trict
ions
)•
See
ing
95-9
9% c
ompa
tibili
ty
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�A
cces
s P
ath
Reu
se -
AP
RE
US
E a
nd A
PC
OM
PA
RE
…–
Con
serv
ativ
e ap
proa
ch w
here
min
imal
acc
ess
path
cha
nges
are
requ
ired
•S
tep
0 (O
ptio
nal)
–U
se R
EBIN
D ..
. EX
PLA
IN(O
NLY
) + A
PR
EU
SE
(ER
RO
R)
–P
erfo
rm a
n im
pact
ana
lysi
s be
fore
act
ual R
EB
IND
s
•S
tep
1: R
EB
IND
PA
CK
AG
E (*
) –
Use
PLA
NM
GM
T(EX
TEN
DED
) ...
back
up o
f V9
acce
ss p
aths
, jus
t in
case
EX
PLA
IN(Y
ES
)
© 2
011
IBM
Cor
pora
tion
16
+ E
XP
LAIN
(YE
S)
+ AP
REU
SE(E
RR
OR
)
•S
tep
2: F
or p
acka
ges
that
faile
d S
tep
1 (i.
e., l
efto
vers
)–
2a:
Leav
e th
em a
s is
... t
hey
will
be
at th
e ol
d le
vel
OR
–2b
. RE
BIN
D w
ith P
LAN
MG
MT(
EX
TEN
DE
D) +
AP
RE
US
E(N
O)
>Th
is s
tep
expo
ses
your
self
to a
cces
s pa
th c
hang
es>
But
you
hav
e a
back
up
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�R
UN
STA
TS/R
EB
IND
reco
mm
enda
tions
bas
ed u
pon
on s
cena
rio–
V8 p
repa
ratio
n•
If R
UN
STA
TS w
ill b
e di
fficu
lt on
larg
e nu
mbe
r of o
bjec
ts im
med
iate
ly a
fter m
igra
tion
to
V9/
10, t
hen
RE
OR
G a
nd/o
r RU
NS
TATS
(V8)
imm
edia
tely
prio
r to
mig
ratio
n ca
n re
duce
RU
NS
TATS
nee
d on
V9/
10 -
as R
UN
STA
TS IN
DE
X u
nder
V10
can
be
suffi
cien
t to
capt
ure
new
CR
/DR
F–
V9 m
igra
tion
•R
UN
STA
TS o
bjec
ts a
s so
on a
s po
ssib
le a
fter m
igra
tion
–Ta
rget
dyn
amic
app
licat
ions
firs
t as
thes
e ar
e ex
pose
d to
new
acc
ess
path
s im
med
iate
lyD
li
RE
BIN
Dil
id
bjh
RU
NS
TATS
© 2
011
IBM
Cor
pora
tion
17
•D
elay
sta
tic R
EB
IND
s un
til a
ssoc
iate
d ob
ject
s ha
ve R
UN
STA
TS ru
n–
V8-
>V10
mig
ratio
n•
RU
NS
TATS
obj
ects
as
soon
as
poss
ible
afte
r mig
ratio
n–
Targ
et d
ynam
ic a
pplic
atio
ns fi
rst a
s th
ese
are
expo
sed
to n
ew a
cces
s pa
ths
imm
edia
tely
–E
qual
prio
rity
-tar
get s
tatic
par
alle
lism
pac
kage
s to
RE
BIN
D to
avo
id in
crem
enta
l bin
d at
eac
h ex
ecut
ion
•D
elay
non
-par
alle
lism
RE
BIN
Ds
until
ass
ocia
ted
obje
cts
have
RU
NS
TATS
run
–V
9->V
10 m
igra
tion
•R
EB
IND
sta
tic p
aral
lelis
m p
acka
ges
as s
oon
as p
ossi
ble
to a
void
incr
emen
tal b
ind
at
each
exe
cutio
n•
Del
ay n
on-p
aral
lelis
m R
EB
IND
s un
til a
ssoc
iate
d ob
ject
s ha
ve R
UN
STA
TS ru
n•
BIN
D/R
EB
IND
opt
ions
AP
RE
US
E/A
PC
OM
PA
RE
are
ava
ilabl
e on
V10
for p
acka
ges
boun
d on
V9
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�R
UN
STA
TS/R
EB
IND
reco
mm
enda
tions
bas
ed u
pon
on s
cena
rio …
–V
8/9
co-e
xist
ence
•S
et S
TATC
LUS
=STA
ND
AR
D w
hile
in c
o-ex
iste
nce
with
V8
•S
et A
BIN
D=C
OE
XIS
T w
hile
in c
o-ex
iste
nce
with
V8
•A
void
RE
BIN
D w
hile
in c
o-ex
iste
nce
with
V8
•Fo
llow
V9
mig
ratio
n st
eps
afte
r all
mem
bers
are
V9,
incl
udin
g re
setti
ng th
e fo
llow
ing
zpar
ms
–Se
t STA
TCLU
S=EN
HAN
CED
© 2
011
IBM
Cor
pora
tion
18
–S
et A
BIN
D=Y
ES
–V8
/10
co-e
xist
ence
•S
et S
TATC
LUS
=STA
ND
AR
D w
hile
in c
o-ex
iste
nce
with
V8
•S
et A
BIN
D=C
OE
XIS
T w
hile
in c
o-ex
iste
nce
with
V8
•W
hat t
o do
with
sta
tic p
aral
lel q
uerie
s?–
Acc
ept i
ncre
men
tal b
ind
whe
neve
r exe
cute
d on
V10
mem
ber
–O
R, R
EBIN
D w
ith D
EGR
EE('1
') to
dis
able
par
alle
lism
whi
le in
co-
exis
tenc
e.•
Follo
w V
8-V
10 m
igra
tion
step
s af
ter a
ll m
embe
rs a
re V
10, i
nclu
ding
rese
tting
the
follo
win
g zp
arm
s–
Set S
TATC
LUS=
ENH
ANC
ED–
Set
AB
IND
=YE
S
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�R
UN
STA
TS/R
EB
IND
reco
mm
enda
tions
bas
ed u
pon
on s
cena
rio …
–V
9/10
co-
exis
tenc
e•
Set
AB
IND
=CO
EX
IST
whi
le in
co-
exis
tenc
e w
ith V
8•
Wha
t to
do w
ith s
tatic
par
alle
l que
ries?
–A
ccep
t inc
rem
enta
l bin
d w
hene
ver e
xecu
ted
on V
10 m
embe
r–
OR
, REB
IND
with
DEG
REE
('1')
to d
isab
le p
aral
lelis
m w
hile
in c
o-ex
iste
nce.
•Fo
llow
V8-
V10
mig
ratio
n st
eps
afte
r all
mem
bers
are
V10
, inc
ludi
ng re
setti
ng th
e fo
llow
ing
zpar
ms
© 2
011
IBM
Cor
pora
tion
19
–S
et A
BIN
D=Y
ES
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�S
ingl
e th
read
BIN
D/R
EB
IND
per
form
ance
–D
egra
ded
CPU
and
ela
psed
tim
e pe
rform
ance
on
entry
to C
M•
PLA
NM
GM
T=E
XTE
ND
ED
is n
ow d
efau
lt•
New
inde
xes
defin
ed fo
r pos
t EN
FM w
hen
hash
link
s ar
e el
imin
ated
•C
hang
e in
acc
ess
path
(ind
ex a
cces
s) o
n en
try to
CM
•N
o co
ncur
renc
y im
prov
emen
t unt
il af
ter C
atal
og re
stru
ctur
e in
EN
FM
�C
oncu
rren
t BIN
D/R
EB
IND
per
form
ance
–Pr
oble
ms
addr
esse
d
© 2
011
IBM
Cor
pora
tion
20
–P
robl
ems
addr
esse
d•
Per
form
ance
pro
blem
s re
late
d to
DE
LETE
/INS
ER
T pr
oces
s •
Spa
ce g
row
th in
SP
T01
for b
oth
LOB
spa
ce a
nd b
ase
tabl
e–
Now
wor
king
wel
l •
Inef
ficie
nt s
pace
sea
rch
for o
ut o
f lin
e LO
B in
dat
a sh
arin
g (A
PA
R P
M24
721)
•
Inlin
e LO
B w
ith c
ompr
essi
on fo
r SP
T01
to a
ddre
ss S
PT0
1 gr
owth
(AP
AR
PM
2707
3)
•M
ore
effic
ient
spa
ce re
use
for b
ase
tabl
e an
d U
TS (A
PA
R P
M27
973)
–
Rec
omm
enda
tions
•C
usto
mer
s ne
ed to
cha
nge
exis
ting
proc
edur
es to
go
para
llel
•B
ut c
anno
t do
this
unt
il po
st E
NFM
•B
enef
it fro
m re
duci
ng a
pplic
atio
n do
wn
time
to im
plem
ent n
ew a
pplic
atio
n re
leas
es
BIN
D, R
EB
IND
an
d E
XP
LA
IN …
�E
XP
LAIN
tabl
es–
Form
at a
nd C
CS
ID fr
om p
revi
ous
rele
ases
is d
epre
cate
d in
V10
•C
anno
t use
pre
V8
form
at–
SQ
LCO
DE
-200
08•
V8
or V
9 fo
rmat
–W
arni
ng S
QLC
OD
E +
2052
0 re
gard
less
of C
CS
ID E
BCD
IC o
r UN
ICO
DE
•M
ust n
ot u
se C
CS
ID E
BC
DIC
with
V10
form
at–
EX
PLA
IN fa
ils w
ith R
C=8
DS
NT4
08I S
QLC
OD
E =
-878
© 2
011
IBM
Cor
pora
tion
21
–B
IND
with
EX
PLA
IN fa
ils w
ith R
C=8
DS
NX
200I
–R
ecom
men
datio
ns•
Use
CC
SID
UN
ICO
DE
in a
ll su
ppor
ted
rele
ases
(V8,
V9,
V10
) due
to p
robl
ems
with
ch
arac
ter t
runc
atio
n an
d co
nver
sion
etc
•U
se th
e V
10 e
xten
ded
colu
mn
form
at w
ith C
CS
ID U
NIC
OD
E w
hen
–A
pplic
atio
ns a
cces
s E
XP
LAIN
tabl
es a
nd c
an o
nly
tole
rate
SQ
LCO
DE
0 o
r +10
0•
V10
col
umn
form
at is
sup
porte
d un
der V
8 an
d V
9 w
ith th
e S
PE
fallb
ack
AP
AR
P
K85
956
appl
ied
with
the
exce
ptio
n of
–D
SN_S
TATE
MEN
T_C
ACH
E_TA
BLE
due
to th
e B
IGIN
T co
lum
ns
–A
PA
R P
K85
068
can
help
mig
rate
V8
or V
9 fo
rmat
to th
e ne
w V
10 fo
rmat
with
C
CS
ID U
NIC
OD
E
Cap
turi
ng
do
cum
enta
tio
n f
or
IBM
�M
etho
ds fo
r cap
turin
g do
cum
enta
tion
for a
ll re
leas
es is
doc
umen
ted
here
–ht
tps:
//ww
w.ib
m.c
om/s
uppo
rt/do
cvie
w.w
ss?u
id=s
wg2
1206
998
–O
SC
and
DB
2PLI
8 do
not
sup
port
DB
2 10
�S
YS
PR
OC
.AD
MIN
_IN
FO_S
QL
supp
orts
V8
-> V
10 (R
equi
red)
–Ex
celle
nt d
evel
oper
Wor
ks a
rticl
e he
re:
•ht
tp://
ww
w.ib
m.c
om/d
evel
oper
wor
ks/d
ata/
libra
ry/te
char
ticle
/dm
-10
12ca
ptur
eque
ry/in
dex.
htm
l–
It is
inst
alle
d in
V10
bas
e an
d is
sub
ject
to th
e in
stal
latio
n ve
rific
atio
n pr
oces
s
© 2
011
IBM
Cor
pora
tion
22
•D
B2H
LQ.S
DS
NS
AM
P(D
SN
TES
R) w
ill c
reat
e an
d bi
nd it
•ca
lling
pro
gram
is D
SN
AD
MS
B, a
nd s
ampl
e JC
L in
DS
NTE
J6I
–En
sure
DB2
9 a
nd D
B2 1
0 ha
ve A
PAR
PM
3987
1 ap
plie
d�
Dat
a S
tudi
o V
3.1
inco
rpor
ates
this
pro
cedu
re in
to a
GU
I (B
est P
ract
ice)
–ht
tp://
ww
w.ib
m.c
om/d
evel
oper
wor
ks/d
ownl
oads
/im/d
ata/
•N
o ch
arge
pro
duct
, rep
lace
men
t for
OS
C a
nd V
isua
l Exp
lain
•S
ever
al v
ersi
ons:
–
DB
A’s
sho
uld
dow
nloa
d th
e A
dmin
istra
tion
Clie
nt•
Inco
rpor
ates
Sta
tistic
s A
dvis
or•
FTP
doc
dire
ctly
to D
B2
Leve
l 2•
Can
be
used
to d
uplic
ate
stat
s in
TE
ST
envi
ronm
ent
Ava
ilab
ility
�O
nlin
e S
chem
a E
volu
tion
(‘Def
erre
d A
lter’)
–M
igra
te fr
om c
lass
ic ta
ble
spac
e ty
pes
(sim
ple,
seg
men
ted,
par
titio
ned)
to U
TS
PB
G/P
BR
•O
ne w
ay ti
cket
onl
y–
UTS
is p
re-re
quis
ite fo
r Clo
ned
Tabl
e, H
ash,
Inlin
e LO
B, C
urre
ntly
Com
mitt
ed–
Onc
e m
igra
ted
to U
TS P
BG
/PB
R c
an c
hang
e at
tribu
tes
in b
oth
dire
ctio
ns•
DS
SIZ
E, i
ndex
pag
e si
ze, M
EM
BE
R C
LUS
TER
, Has
h A
cces
s, …
–B
enef
its
© 2
011
IBM
Cor
pora
tion
23
Ben
efits
•S
tream
ed li
ne w
ay to
mov
e to
UTS
•R
educ
e ad
min
istra
tive
time
and
cost
•C
uts
dow
n on
err
ors
•R
educ
e ou
tage
s–
Issu
e th
at P
IT re
cove
ry to
poi
nt b
efor
e su
cces
sful
mat
eria
lizin
g R
EO
RG
not
po
ssib
le•
Inco
rrect
resu
lts fr
om R
EO
RG
•A
pplic
atio
n ch
ange
rollb
ack
Ava
ilab
ility
…
�R
esta
rt Li
ght e
nhan
cem
ent
–LB
ACKO
UT
will
now
be
hono
ured
•LB
AC
KO
UT=
YES
|AU
TO w
ill c
ause
pos
tpon
ed a
bort
(PA
) UR
s to
be
crea
ted
•R
esta
rt w
ill c
ompl
ete
•D
B2
will
shu
t dow
n•
Ret
aine
d lo
cks
will
be
kept
on
beha
lf of
PA
UR
s
–C
ontro
lled
via
new
sys
tem
par
amet
er
© 2
011
IBM
Cor
pora
tion
24
–A
lso
retro
fitte
d ba
ck to
V9
via
AP
AR
�O
nlin
e R
EO
RG
with
FO
RC
E
–O
nly
runn
ing
thre
ads
whi
ch a
re b
lock
ing
are
canc
elle
d–
Thre
ads
whi
ch a
re s
uspe
nded
/ in
activ
e w
ill c
ause
RE
OR
G to
stil
l fai
l�
Onl
ine
RE
OR
G L
OB
with
DIS
CA
RD
–C
anno
t han
dle
LOB
colu
mns
gre
ater
than
32K
B
Mig
rati
on
an
d P
lan
nin
g
�M
igra
tion
proc
ess
very
sim
ilar t
o V
8 an
d V
9–
Wor
ks w
ell w
ith fe
w p
robl
ems
with
mig
ratio
n fa
llbac
k�
Mig
ratio
n fro
m e
ither
DB
2 fo
r z/O
S V
8 N
FM o
r DB
2 9
for z
/OS
NFM
�Th
ese
mig
ratio
n fa
llbac
k se
quen
ces
are
not v
alid
–V
8 N
FM >
V10
CM
8 >
V8
NFM
> V
9 C
M
–V
8 N
FM >
V9
CM
> V
8 N
FM >
V10
CM
8�
Fallb
ack
Tole
ratio
n S
PE
© 2
011
IBM
Cor
pora
tion
25
–AP
AR P
K569
22�
Ear
ly C
ode
–Fo
r V8/
V9
AP
AR
PK
8728
0 (s
uper
seed
s A
PA
R P
K61
766)
�In
form
atio
n A
PA
Rs
–II1
4474
: V8
to V
10–
II144
77: V
9 to
V10
Mig
rati
on
an
d P
lan
nin
g …
V8
prem
igra
tion
chec
klis
t:ht
tp://
publ
ib.b
ould
er.ib
m.c
om/in
foce
nter
/dzi
chel
p/v2
r2/to
pic/
com
.ibm
.db2
z10.
doc.
inst
/src
/tpc/
db2z
_pre
mig
r8ch
eckl
ist.h
tm
V8
mig
ratio
n ch
eckl
ist:
http
://pu
blib
.bou
lder
.ibm
.com
/info
cent
er/d
zich
elp/
v2r2
/topi
c/co
m.ib
m.d
b2z1
0.do
c.in
st/s
rc/tp
c/db
2z_m
igrc
m8c
heck
list.h
tm
V9
prem
igra
tion
chec
klis
t:
© 2
011
IBM
Cor
pora
tion
26
V9 p
rem
igra
tion
chec
klis
t: ht
tp://
publ
ib.b
ould
er.ib
m.c
om/in
foce
nter
/dzi
chel
p/v2
r2/to
pic/
com
.ibm
.db2
z10.
doc.
inst
/src
/tpc/
db2z
_pre
mig
r9ch
eckl
ist.h
tm
V9
mig
ratio
n ch
eckl
ist:
http
://pu
blib
.bou
lder
.ibm
.com
/info
cent
er/d
zich
elp/
v2r2
/topi
c/co
m.ib
m.d
b2z1
0.do
c.in
st/s
rc/tp
c/db
2z_m
igrc
m9c
heck
list.h
tm
Mig
rati
on
an
d P
lan
nin
g …
�U
se o
f V10
Ear
ly C
ode
with
V8
–It
will
take
an
IPL
to o
rigin
ally
inst
all t
he V
10 E
arly
Cod
e–
V8
Ear
ly C
ode
does
not
und
erst
and
–RE
FRES
H–
How
ever
, sub
sequ
ent m
aint
enan
ce to
the
V10
Early
Cod
e ca
n be
acc
ompl
ishe
d w
ith a
-RE
FRE
SH
com
man
d�
If co
min
g fro
m V
8–
BS
DS
mus
t be
refo
rmat
ted
for l
arge
r act
ive
/ arc
hive
trac
king
© 2
011
IBM
Cor
pora
tion
27
gg
�IP
L am
ount
s fo
r nee
d to
be
adju
sted
bas
ed o
n nu
mbe
r of D
B2
mem
bers
–64
-bit
Priv
ate
(1TB
)–
64-b
it S
hare
d (1
28G
B)
–64
-bit
Com
mon
(6G
B)
Mig
rati
on
an
d P
lan
nin
g …
�D
B2
Con
nect
–
Min
imum
leve
l•
V9.
5 FP
7 •
V9.
7 FP
3A a
nd fo
r new
func
tions
–S
tart
with
the
late
st le
vels
bas
ed o
n C
ST/
RS
U a
nd s
tabi
lise
© 2
011
IBM
Cor
pora
tion
28
Mig
rati
on
an
d P
lan
nin
g …
�D
BR
Ms
boun
d di
rect
ly in
to p
lans
no
long
er s
uppo
rted
–If
foun
d in
V10
, will
trigg
er a
uto
bind
into
pac
kage
s–
For V
8 an
d V
9•
AP
AR
s P
K62
876/
PK
7992
5 ad
ds n
ew s
ynta
x to
con
vert
from
DB
RM
s to
pac
kage
s–
RE
BIN
D P
LAN
opt
ion
CO
LLID
–C
ould
resu
lt in
acc
ess
path
cha
nge
•A
PA
Rs
PM
0182
1 (V
ersi
on) a
nd P
M30
382
(Loc
atio
n fro
m *
to b
lank
) sho
uld
be o
n
© 2
011
IBM
Cor
pora
tion
29
–B
est t
o m
igra
te D
BR
Ms
to p
acka
ges
befo
re m
igra
ting
to V
10�
Old
pla
ns a
nd p
acka
ges
boun
d pr
ior t
o V
6 w
ill re
quire
RE
BIN
D�
Cat
alog
and
Dire
ctor
y m
ust b
e S
MS
man
aged
(EF,
EA
) ahe
ad o
f CM
�
PD
SE
s re
quire
d fo
r SD
SN
LOA
D, S
DS
NLO
D2,
AD
SN
LOA
D�
DS
NH
DE
CP
NE
WFU
N=V
10|V
9|V
8
Rem
ova
l of
DD
F P
riva
te P
roto
col
�M
ust a
bsol
utel
y el
imin
ate
all u
se o
f D
DF
Priv
ate
Pro
toco
l bef
ore
mig
ratin
g–
No
long
er s
uppo
rted
In V
10–
Any
loca
l pac
kage
s m
iss
tagg
ed w
ith D
DF
Priv
ate
Pro
toco
l will
be to
lera
ted
–O
ther
wis
e pa
ckag
e m
ust e
xist
in b
oth
loca
l and
rem
ote
site
s–
A lo
t of p
acka
ges
and
plan
s ar
e bo
und
with
DB
PR
OTO
CO
L(P
RIV
ATE
) bec
ause
th
is w
as th
e de
faul
t (zp
arm
DB
PR
OTC
L) w
hen
intro
duce
d in
DB
2 V
6•
DS
NT2
26I i
s is
sued
if D
BP
RO
TOC
OL(
PR
IVA
TE) i
s us
ed d
urin
g R
EB
IND ©
201
1 IB
M C
orpo
ratio
n30
Rem
ova
l of
DD
F P
riva
te P
roto
col …
�M
ust a
bsol
utel
y el
imin
ate
all u
se o
f D
DF
Priv
ate
Pro
toco
l bef
ore
mig
ratin
g–
AP
AR
PK
9233
9 in
V8
intro
duce
s ne
w z
parm
PR
IVA
TE_P
RO
TOC
OL=
YE
S|N
O•
Mus
t be
in s
ync
with
zpa
rm s
ettin
g of
DB
PR
OTC
L •
DS
NT2
25I m
essa
ge to
indi
cate
priv
ate
prot
ocol
failu
re fo
r RE
BIN
D•
IFC
ID 1
57 c
an b
e us
ed to
iden
tify
pack
ages
whi
ch a
re u
sing
priv
ate
prot
ocol
•B
ewar
e A
PA
R P
M17
665
rem
oves
aut
horiz
atio
n be
havi
our f
or p
rivat
e pr
otoc
ol i.
e., .
–
Exe
cute
priv
ilege
on
pack
age
is re
quire
d fo
r the
use
r run
ning
the
prog
ram
und
er D
RD
A–
AP
AR
PM
3730
0 w
ill p
rovi
de re
lief (
see
late
r slid
es)
© 2
011
IBM
Cor
pora
tion
31
–A
PA
R P
K64
045
(PE
, PM
1481
6) in
V8
new
zpa
rm D
RD
A_R
ES
OLV
E_A
LIA
S•
Priv
ate
prot
ocol
alw
ays
perfo
rms
alia
s re
solu
tion
–3-
part
nam
e is
sen
t to
the
serv
er•
If D
RD
A_R
ES
OLV
E_A
LIA
S is
set
to Y
ES
then
als
o D
RD
A c
onne
ctio
ns g
et th
is
reso
lutio
n e.
g.,
–Fo
r rem
ote
BIN
D w
ith C
OPY
opt
ion
Sec
uri
ty c
on
sid
erat
ion
s w
hen
rem
ovi
ng
DD
F P
riva
te P
roto
col
�Th
is s
ectio
n al
so a
pplie
s to
cus
tom
ers
usin
g D
RD
A e
xclu
sive
ly�
Ther
e ar
e fu
ndam
enta
l diff
eren
ces
on h
ow a
utho
rizat
ion
is p
erfo
rmed
ba
sed
on th
e di
strib
uted
pro
toco
l use
d �
Priv
ate
Pro
toco
l (D
B2
for z
/OS
requ
este
r)–
Sup
ports
sta
tic S
QL
stat
emen
ts o
nly
–P
lan
owne
r mus
t hav
e au
thor
izat
ion
to e
xecu
te a
ll S
QL
exec
uted
on
the
DB
2 se
rver
–P
lan
owne
r aut
hent
icat
ed o
n D
B2
requ
este
r and
not
on
the
DB
2 se
rver
© 2
011
IBM
Cor
pora
tion
32
�D
RD
A P
roto
col
–S
uppo
rts b
oth
stat
ic a
nd d
ynam
ic S
QL
stat
emen
ts–
Prim
ary
auth
ID a
nd a
ssoc
iate
d se
cond
ary
auth
IDs
mus
t hav
e au
thor
izat
ion
to e
xecu
te
pack
age
and
dyna
mic
SQ
L on
the
DB
2 se
rver
–
Prim
ary
auth
ID a
uthe
ntic
ated
and
sec
onda
ry a
uth
IDs
are
asso
ciat
ed o
n D
B2
serv
er
�P
rior t
o V
10, P
rivat
e P
roto
col a
nd D
RD
A P
roto
col c
an b
e us
ed b
y sa
me
appl
icat
ion
–P
rivat
e P
roto
col s
ecur
ity s
eman
tics
was
use
d du
e to
pos
sibl
e in
cons
iste
nt b
ehav
ior w
hich
is
dep
ende
nt o
n ho
w p
rogr
ams
are
code
d an
d ex
ecut
ed
Sec
uri
ty c
on
sid
erat
ion
s w
hen
rem
ovi
ng
DD
F P
riva
te P
roto
col …
�B
ut th
ere
is a
lso
a di
ffere
nce
prio
r to
V10
in th
e au
thor
izat
ions
requ
ired
by
an in
com
ing
DR
DA
con
nect
ion
at th
e D
B2
for z
/OS
ser
ver,
depe
ndin
g on
w
here
the
conn
ectio
n co
me
from
: –
Dyn
amic
SQ
L D
RD
A c
onne
ctio
n fro
m D
B2
Con
nect
and
/or D
B2
clie
nt d
irect
con
nect
ion
•C
onne
ctin
g us
erid
nee
ds a
utho
rity
to ru
n th
e ap
prop
riate
DB
2 pa
ckag
e an
d au
thor
ity to
acc
ess
the
DB
2 ta
ble
–D
ynam
ic S
QL
DR
DA
con
nect
ion
from
DB
2 fo
r z/O
S re
ques
ter
•C
onne
ctin
g us
erid
nee
ds a
utho
rity
to a
cces
s th
e D
B2
tabl
e •
Orig
inat
ing
plan
ow
ner n
eeds
aut
horit
y to
run
the
appr
opria
te D
B2
pack
age
�It
isdi
ffere
ntfo
rDB
2fo
rz/O
Sre
ques
tert
oD
B2
forz
/OS
serv
erbe
caus
e
© 2
011
IBM
Cor
pora
tion
33
�It
is d
iffer
ent f
or D
B2
for z
/OS
requ
este
r to
DB
2 fo
r z/O
S se
rver
bec
ause
co
nnec
tions
wer
e de
sign
ed to
use
Priv
ate
Pro
toco
l (P
P) s
eman
tics
to a
void
ch
angi
ng a
uthi
ds w
hen
switc
hing
bet
wee
n P
P to
DR
DA
Pro
toco
l�
With
the
disa
ppea
ranc
e of
PP
in V
10, D
B2
have
dec
ided
to b
ring
the
DR
DA
con
nect
ion
from
DB
2 fo
r z/O
S re
ques
ter t
o D
B2
for z
/OS
ser
ver i
n lin
e w
ith o
ther
DR
DA
requ
este
rs a
nd to
cha
nge
the
auth
oriz
atio
ns re
quire
d–
This
was
retro
fitte
d ba
ck in
to V
8 an
d V
9 w
ith A
PA
R P
M17
665
–It
is v
ery
impo
rtant
to d
istin
guis
h cl
early
bet
wee
n th
e be
havi
or o
f DR
DA
bef
ore
and
afte
r A
PA
R P
M17
665
Sec
uri
ty c
on
sid
erat
ion
s w
hen
rem
ovi
ng
DD
F P
riva
te P
roto
col …
�A
PA
R P
K92
339
intro
duce
d ne
w z
parm
PR
IVA
TE_P
RO
TOC
OL=
YE
S|N
O–
To p
reve
nt fu
ture
intro
duct
ion
of P
P th
en s
et P
RIV
ATE
_PR
OTO
CO
L=N
O
�Th
e re
sult
of m
igra
ting
to V
10 o
r the
intro
duct
ion
of A
PA
R P
M17
665
unde
r V
8 or
V9,
whe
n ru
nnin
g w
ith P
RIV
ATE
_PR
OTO
CO
L=N
O in
trodu
ces
the
au
thor
izat
ion
chan
ges
at th
e D
B2
for z
/OS
ser
ver f
or D
RD
A c
onne
ctio
ns
com
ing
from
DB
2 fo
r z/O
S re
ques
ter
–P
P s
ecur
ity s
eman
tics
are
no lo
nger
use
d as
def
ault
for a
cces
s fro
m a
DB
2 fo
r z/O
S
requ
este
r
© 2
011
IBM
Cor
pora
tion
34
requ
este
r –
Pla
n ow
ner v
alue
is ig
nore
d an
d co
nnec
ting
user
id m
ust b
e gr
ante
d au
thor
ity to
exe
cute
th
e pa
ckag
e at
the
rem
ote
site
–O
ther
wis
e th
e co
nnec
tion
will
fail
with
SQ
LCO
DE
-551
�A
s a
resu
lt of
cus
tom
er c
ompl
aint
s, A
PA
R P
M37
300
intro
duce
s P
RIV
ATE
_PR
OTO
CO
L=A
UTH
whi
ch a
llow
s an
inst
alla
tion
to
–D
isab
le P
P b
ut k
eep
the
plan
ow
ner a
utho
rizat
ion
chec
k (th
e "p
rivat
e pr
otoc
ol s
eman
tics“
)
�M
igra
tion
to V
10 o
r the
app
licat
ion
of P
TF fo
r AP
AR
PM
1766
5 do
es a
ffect
yo
u ev
en if
you
hav
e ev
eryt
hing
alre
ady
boun
d as
DR
DA
Sec
uri
ty c
on
sid
erat
ion
s w
hen
rem
ovi
ng
DD
F P
riva
te P
roto
col …
�In
sum
mar
y–
Bef
ore
disa
blin
g pr
ivat
e pr
otoc
ol, e
nsur
e al
l app
ropr
iate
gra
nts
are
perfo
rmed
•G
rant
exe
cute
priv
ilege
to a
ny u
ser w
ho p
lans
to ru
n a
pack
age
or s
tore
d pr
oced
ure
pack
age
from
a D
B2
for z
/OS
requ
este
r, ju
st li
ke o
ther
DR
DA
clie
nts
–D
B2 V
8 an
d V9
can
dis
able
priv
ate
prot
ocol
but
stil
l mai
ntai
n pr
ivat
e pr
otoc
ol
auth
oriz
atio
n ch
ecks
by
•S
ettin
g sy
stem
par
amet
er P
RIV
ATE
_PR
OTO
CO
L=A
UTH
DB2
10d
tt
it
tlb
tll
it
tl
© 2
011
IBM
Cor
pora
tion
35
–D
B2
10 d
oes
not s
uppo
rt pr
ivat
e pr
otoc
ol b
ut c
an a
llow
priv
ate
prot
ocol
au
thor
izat
ion
chec
ks fo
r use
of D
RD
A p
roto
col f
or D
B2
for z
/OS
requ
este
rs b
y•
Set
ting
syst
em p
aram
eter
PR
IVA
TE_P
RO
TOC
OL=
AU
TH
Oth
er
�A
bilit
y to
cre
ate
clas
sic
parti
tione
d ta
ble
spac
e (P
TS)
–C
lass
ic P
TS d
epre
cate
d in
V10
–B
y de
faul
t will
be
crea
ted
as U
TS P
BR
–U
TS w
ill on
ly s
uppo
rt ta
ble
base
d co
ntro
lled
parti
tion
synt
ax–
Opt
ions
to b
e ab
le to
offi
cial
ly c
reat
e cl
assi
c P
TS•
Spe
cify
SE
GS
IZE
0 o
n C
RE
ATE
TA
BLE
SP
AC
E•
Set
new
zpa
rm D
PS
EG
SZ=
0 (d
efau
lt 32
)
© 2
011
IBM
Cor
pora
tion
36
p(
)
�Fa
st L
og A
pply
sto
rage
–S
yste
m p
aram
eter
LO
GA
PS
TG is
elim
inat
ed–
Tota
l FLA
sto
rage
is n
ow 5
10M
B�
Old
CO
BO
L an
d P
L/1
–V
7 lo
okal
ike
pre-
com
pile
r (D
SN
HP
C7)
for o
lder
CO
BO
L an
d P
L/I i
s st
ill pr
ovid
ed�
DD
L C
oncu
rren
cy a
fter C
atal
og re
stru
ctur
e–
Som
e he
lp p
rovi
ded
but c
oncu
rrenc
y is
sues
not
abs
olut
ely
solv
ed–
Stil
l dea
dloc
ks w
ith p
aral
lel h
eavy
DD
L ag
ains
t diff
eren
t dat
abas
es
Oth
er …
�S
PT0
1 co
mpr
essi
on is
bac
k–
Via
sys
tem
par
amet
er C
OM
PR
ES
S_S
PT0
1=Y
ES
(def
ault
is N
O)
�S
tatis
tics
Inte
rval
–O
nly
the
frequ
ency
of I
FCID
s 10
5, 1
06, 1
99 a
re c
ontro
lled
via
STA
TIM
E–
IFC
IDs
2, 2
02, 2
17, 2
25, 2
30 a
re a
lway
s cu
t at a
fixe
d 1
min
ute
inte
rval
–R
emem
ber t
o no
rmal
ise
the
data
whe
n co
mpa
ring
V8/
V9
vs. V
10
© 2
011
IBM
Cor
pora
tion
37
Oth
er …
�R
UN
STA
TS–
Page
Sam
plin
g•
Per
form
ance
impr
ovem
ent c
an b
e ph
enom
enal
•P
oten
tial i
ssue
s w
ith a
ccur
acy
beca
use
erro
r rat
es in
crea
se a
s th
e sa
mpl
e si
ze
decr
ease
s•
No
sam
plin
g do
ne o
n in
dexe
s
–zI
IP o
ffloa
dN
lll
RU
NS
TATS
IND
EX
ii
ffld
db
l‘b
i’R
UN
STA
TS
© 2
011
IBM
Cor
pora
tion
38
•N
early
all
RU
NS
TATS
IND
EX
pro
cess
ing
is o
ffloa
ded,
but
onl
y ‘b
asic
’ RU
NS
TATS
TA
BLE
pro
cess
ing
is o
ffloa
ded
•M
uch
less
for a
dvan
ced/
com
plex
sta
tistic
s –
Not
sup
porte
d:>
Inlin
e st
ats
>C
OLG
RO
UP
>D
STA
TS
>H
isto
gram
sta
ts
Oth
er …
�In
com
patib
le c
hang
es
–C
HA
R()
scal
ar fu
nctio
n
•S
olut
ion
via
AP
AR
PM
2912
4 to
rest
ore
com
patib
le b
ehav
ior f
or C
HA
R
SELECT COL1
,CHAR(COL1)
© 2
011
IBM
Cor
pora
tion
39
,HEX(CHAR(COL1))
,SUBSTR(CHAR(COL1), 2, 4) APPL_SUBSTR
FROM DB2_TABLE;
+------------------------------------------------+ +-------------------------------------------------+
! COL1 ! CHAR_V9 ! HEX_CHAR_V9 ! APPL_SUBSTR ! ! COL1 ! CHAR_V10 ! HEX_CHAR_V10 ! APPL_SUBSTR !
+------------------------------------------------+ +-------------------------------------------------+
! 9 ! 0009, ! 40F0F0F0F96B
! 0009 ! ! 9 ! 9 ! F94040404040 ! !
! 99 ! 0099, ! 40F0F0F9F96B
! 0099 ! ! 99 ! 99 ! F9F940404040 ! 9 !
! 999 ! 0999, ! 40F0F9F9F96B
! 0999 ! ! 999 ! 999 ! F9F9F9404040 ! 99 !
! 9999 ! 9999, ! 40F9F9F9F96B
! 9999 ! ! 9999 ! 9999 ! F9F9F9F94040 ! 999 !
+------------------------------------------------+ +-------------------------------------------------+
Oth
er …
�In
com
patib
le c
hang
es …
–C
reat
e Tr
igge
r
•Im
pact
: Trig
ger c
reat
ed in
V10
not
exe
cuta
ble
in V
9•
Wor
karo
und:
dro
p an
d cr
eate
trig
ger i
n V
9•
PM
R o
pen
© 2
011
IBM
Cor
pora
tion
40
DSNT408I SQLCODE = -723, ERROR: AN ERROR OCCURRED IN A TRIGGERED SQL
STATEMENT IN TRIGGER AWAT.OCA_TEST_TRIGGER. INFORMATION RETURNED: SQLCODE -
904, SQLSTATE 57011, MESSAGE TOKENS 00E30305,00000801,AWAT.OCA_TEST_TRIGGER-
.18E5950B04A23EEC, SECTION NUMBER 1
Oth
er …
�In
com
patib
le c
hang
es …
–S
QL
stor
ed p
roce
dure
s
•Im
pact
: Dep
loym
ent h
as to
be
exec
uted
on
V9
mem
ber i
n V
10•
Wor
karo
und:
run
ALT
ER
PR
OC
ED
UR
E R
EG
EN
ER
ATE
on
V9
mem
ber
•A
PA
RP
M13
525
SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN
UNAVAILABLE RESOURCE. REASON 00E7009E, TYPE OF RESOURCE 00000801,
AND RESOURCE NAME BE2TFKT.LESE_VARIANTEN.18DEB14D119115C4
© 2
011
IBM
Cor
pora
tion
41
•A
PA
R P
M13
525
Oth
er …
�D
B2
for z
/OS
Exc
hang
e on
Dev
elop
erW
orks
–R
elau
nch
and
rebr
andi
ng o
f ' D
B2 z
Hot
line'
–It
is a
DB
2 Te
chni
cal N
ewsl
ette
r for
DB
As
and
Sys
tem
s P
rogr
amm
ers
•C
ritic
al A
PA
R in
fo (m
ore
than
HIP
ER
, les
s th
an R
ed A
lert)
•Li
ving
und
ocum
ente
d in
com
patib
le c
hang
e lis
t•
Crit
ical
issu
es s
een
in fi
eld
and
way
s to
nav
igat
e•
Hin
ts, t
ips,
pra
ctic
al a
dvic
e
© 2
011
IBM
Cor
pora
tion
42
–W
ill be
upd
ated
mon
thly
–R
SS
Fee
d fro
m D
evel
oper
Wor
ksin
to ID
UG
–Li
nk http
s://w
ww
.ibm
.com
/dev
elop
erw
orks
/myd
evel
oper
wor
ks/g
roup
s/se
rvic
e/ht
ml/c
omm
unity
view
?com
mu
nity
Uui
d=22
586c
b0-8
817-
4d2c
-ae7
4-0d
dcc2
a409
bc
Su
mm
ary
�V
ery
good
rele
ase
in te
rms
of th
e op
portu
nitie
s fo
r pric
e/pe
rform
ance
and
sc
alab
ility
impr
ovem
ent
–S
igni
fican
t DB
M1
31-b
it V
SC
R a
fter r
ebin
d–
Use
long
term
pag
e fix
ed b
uffe
r poo
ls•
Exp
loit
1MB
real
sto
rage
pag
e fra
mes
on
z10
and
z196
–R
educ
ed la
tch
cont
entio
n, lo
g m
anag
er im
prov
emen
ts, e
tc–
Opp
ortu
nity
for f
urth
er p
rice
perfo
rman
ce im
prov
emen
ts
© 2
011
IBM
Cor
pora
tion
43
•M
ore
use
of p
ersi
sten
t thr
eads
–C
ICS
, IM
S/T
M, H
igh
Per
form
ance
DB
ATs
•M
ore
use
of R
ELE
AS
E(D
EA
LLO
CA
TE) w
ith p
ersi
sten
t thr
eads
•M
ore
use
of R
ELE
AS
E(D
EA
LLO
CA
TE) i
s a
trade
off
–In
crea
sed
stor
age
cons
umpt
ion
>N
eed
to p
lan
on a
dditi
onal
real
mem
ory
–R
educ
ed c
oncu
rren
cy>
BIN
D/R
EB
IND
and
DD
L
•In
crea
se M
AX
KE
EP
D to
redu
ce s
hort
prep
ares
for d
ynam
ic S
QL
–O
ppor
tuni
ty fo
r sca
le u
p an
d LP
AR
/DB
2 co
nsol
idat
ion
Su
mm
ary
…
�C
aref
ully
pla
n, p
rovi
sion
and
mon
itor r
eal s
tora
ge c
onsu
mpt
ion
�A
ny c
usto
mer
mig
ratin
g fro
m e
ither
V8
or V
9 to
V10
sho
uld
mak
e a
solid
pl
an, t
ake
extra
car
e to
miti
gate
aga
inst
the
risk
and
set t
hem
selv
es u
p fo
r su
cces
s–
Reg
ular
full
‘maj
or’ m
aint
enan
ce d
rops
–Ex
ploi
tatio
n of
CST
/RSU
reco
mm
ende
d m
aint
enan
ce
–A
ugm
ent b
y re
gula
r use
of E
nhan
ced
HO
LDD
ATA
© 2
011
IBM
Cor
pora
tion
44
gy
g–
Per
form
app
licat
ion
regr
essi
on a
nd s
tress
test
ing
to k
eep
‘fire
s’ a
way
from
pr
oduc
tion
–Pl
an s
houl
d al
low
som
e co
ntin
genc
y fo
r som
e ‘b
umps
in th
e ro
ad’
Qu
esti
on
s
© 2
011
IBM
Cor
pora
tion
45©
201
1 IB
M C
orpo
ratio
n46
Sponsored by
Ljubljana, 13 April 2012
SQLADRIA SEMINAR
Advanced Backup and Recovery using Flashcopy?
V10 Virtual and Real Storage Management?
John CampbellIBM
DB
2 fo
r z/
OS
A
dva
nce
d B
acku
p a
nd
R
eco
very
usi
ng
Fla
shco
py
John
Cam
pbel
lD
istin
guis
hed
Eng
inee
r
© 2
012
IBM
Cor
pora
tion
gg
DB
2 fo
r z/O
S D
evel
opm
ent
Em
ail:
Cam
pbel
J@uk
.ibm
.com
© C
opyr
ight
IBM
Cor
pora
tion
2012
. All
right
s re
serv
ed.
U.S
. Gov
ernm
ent U
sers
Res
tric
ted
Rig
hts
-Use
, dup
licat
ion
or d
iscl
osur
e re
stric
ted
by G
SA A
DP
Sche
dule
Con
trac
t with
IB
M C
orp.
THE
INFO
RM
ATIO
N C
ON
TAIN
ED IN
TH
IS P
RES
ENTA
TIO
N IS
PR
OVI
DED
FO
R IN
FOR
MAT
ION
AL
PUR
POSE
S O
NLY
. W
HIL
E EF
FOR
TS W
ERE
MA
DE
TO V
ERIF
Y TH
E C
OM
PLET
ENES
S A
ND
AC
CU
RA
CY
OF
THE
INFO
RM
ATIO
N C
ON
TAIN
ED IN
TH
IS
PRES
ENTA
TIO
N, I
T IS
PR
OVI
DED
“A
S IS
” W
ITH
OU
T W
AR
RA
NTY
OF
AN
Y K
IND
, EXP
RES
S O
R IM
PLIE
D. I
N A
DD
ITIO
N,
THIS
INFO
RM
ATIO
N IS
BA
SED
ON
IBM
’S C
UR
REN
T PR
OD
UC
T PL
AN
S A
ND
STR
ATEG
Y, W
HIC
H A
RE
SUB
JEC
T TO
C
HA
NG
E B
Y IB
M W
ITH
OU
T N
OTI
CE.
IB
M S
HA
LL N
OT
BE
RES
PON
SIB
LE F
OR
AN
Y D
AM
AG
ES A
RIS
ING
OU
T O
F TH
E U
SEO
FO
RO
THER
WIS
ER
ELAT
EDTO
THIS
PRES
ENTA
TIO
NO
RA
NY
OTH
ERD
OC
UM
ENTA
TIO
NN
OTH
ING
CO
NTA
INED
Dis
clai
mer
© 2
012
IBM
Cor
pora
tion
2
USE
OF,
OR
OTH
ERW
ISE
REL
ATED
TO
, TH
IS P
RES
ENTA
TIO
N O
R A
NY
OTH
ER D
OC
UM
ENTA
TIO
N. N
OTH
ING
CO
NTA
INED
IN
TH
IS P
RES
ENTA
TIO
N IS
INTE
ND
ED T
O, N
OR
SH
ALL
HAV
E TH
E EF
FEC
T O
F, C
REA
TIN
G A
NY
WA
RR
AN
TIES
OR
R
EPR
ESEN
TATI
ON
S FR
OM
IBM
(OR
ITS
SUPP
LIER
S O
R L
ICEN
SOR
S), O
R A
LTER
ING
TH
E TE
RM
S A
ND
CO
ND
ITIO
NS
OF
AN
Y A
GR
EEM
ENT
OR
LIC
ENSE
GO
VER
NIN
G T
HE
USE
OF
IBM
PR
OD
UC
TS A
ND
/OR
SO
FTW
AR
E
IBM
, the
IBM
logo
, ibm
.com
, and
DB
2 ar
e tra
dem
arks
or r
egis
tere
d tra
dem
arks
of I
nter
natio
nal B
usin
ess
Mac
hine
s C
orpo
ratio
n in
the
Uni
ted
Sta
tes,
oth
er c
ount
ries,
or b
oth.
If th
ese
and
othe
r IB
M tr
adem
arke
d te
rms
are
mar
ked
on th
eir f
irst o
ccur
renc
e in
this
info
rmat
ion
with
a tr
adem
ark
sym
bol (
® o
r ™),
thes
e sy
mbo
ls in
dica
te U
.S. r
egis
tere
d or
com
mon
law
trad
emar
ks o
wne
d by
IBM
at t
he ti
me
this
in
form
atio
n w
as p
ublis
hed.
Suc
h tra
dem
arks
may
als
o be
regi
ster
ed o
r com
mon
law
trad
emar
ks in
oth
er c
ount
ries.
A c
urre
nt li
stof
IBM
tra
dem
arks
is a
vaila
ble
on th
e W
eb a
t “C
opyr
ight
and
trad
emar
k in
form
atio
n” a
t ww
w.ib
m.c
om/le
gal/c
opyt
rade
.sht
ml
�D
B2
Man
aged
Fla
shC
opy
Sol
utio
n in
V8
–D
B2 S
yste
m L
evel
Bac
kup
usin
g C
opy
Pool
s
–B
acku
p S
yste
m a
nd R
esto
re S
yste
m U
tiliti
es
�B
acku
p an
d R
ecov
ery
Enh
ance
men
ts in
DB
2 9
–Au
tom
atic
ally
man
age
Cop
y Po
ol b
acku
ps to
tape
s
–A
llow
tabl
e sp
ace
reco
very
usi
ng S
yste
m L
evel
Bac
kups
Ag
end
a
© 2
012
IBM
Cor
pora
tion
–In
crem
enta
l Fla
shC
opy
�B
acku
p an
d R
ecov
ery
Enh
ance
men
ts in
DB
2 10
�C
opy
Poo
l Enh
ance
men
ts in
z/O
S 1
.12
�P
rovi
de a
n ea
sier
and
less
dis
rupt
ive
way
for f
ast v
olum
e-le
vel b
acku
p an
d re
cove
ry
–U
se F
lash
Cop
yto
bac
kup
DB2
dat
a an
d lo
gs
–N
o lo
nger
nee
d to
sus
pend
logs
–Ba
ckup
s ar
e m
anag
ed b
y D
B2 a
nd D
FSM
Shsm
to s
uppo
rt sy
stem
leve
l PIT
re
cove
ry, D
isas
ter R
ecov
ery
and
Clo
ning
DB
2 M
anag
ed F
lash
Co
py
So
luti
on
© 2
012
IBM
Cor
pora
tion
DB
sL
og
s
BS
DS
sIC
Fs
DB
sL
og
s
BS
DS
sIC
Fs
Flas
hCop
y
�N
ew u
tiliti
es in
DB
2 fo
r z/O
S V
8:–
BA
CK
UP
SY
STE
M
–R
ES
TOR
E S
YS
TEM
�Ta
kes
syst
em-le
vel c
opie
s of
dat
a an
d lo
gs
DB
2 M
anag
ed F
lash
Co
py
So
luti
on
...
© 2
012
IBM
Cor
pora
tion
–Ex
ploi
ts S
MS
Cop
y Po
ol
–D
B2 d
ata
and
logs
mus
t be
SMS-
man
aged
–W
rite
log
activ
ity is
NO
T su
spen
ded
–S
uspe
nds
data
set
cre
atio
n, d
elet
ion,
rena
me,
and
ext
end
oper
atio
ns
�S
MS
con
stru
ct
�S
et o
f SM
S s
tora
ge g
roup
s -m
axim
um 2
56
�H
as a
VE
RS
ION
S a
ttrib
ute
-max
imum
85
�E
ach
DB
2 sy
stem
has
two
SM
S C
OP
YP
OO
Ls
–D
ATA
CO
PY
PO
OL
(DS
N$l
ocat
ion_
nam
e$D
B)
–LO
GC
OP
YP
OO
L(D
SN$l
ocat
ion
nam
e$LG
)
SM
S C
OP
YP
OO
L
© 2
012
IBM
Cor
pora
tion
–LO
G C
OP
YP
OO
L (D
SN$l
ocat
ion_
nam
e$LG
)
�C
opy
Poo
l B
acku
p–
New
sto
rage
gro
up ty
pe
–U
sed
to h
old
volu
me
copi
es o
f DA
SD
def
ined
in th
e C
OP
YP
OO
L
SM
S C
OP
YP
OO
L -
Exa
mp
le
Co
pyP
oo
lN
ame:
DS
N$P
870$
DB
Ver
sio
ns:
2 Sto
rag
e G
rou
pS
tora
ge
Gro
up
Sto
rag
e G
rou
p
Nam
e: D
SN
CAT
Cop
yPoo
l Bac
kup
Nam
e: C
PB
1N
ame:
DS
ND
BC
opyP
ool B
acku
p N
ame:
CP
B1
Type
: Poo
lN
ame:
EX
1C
opyP
ool B
acku
p N
ame:
CP
B2
Type
: Ext
end
Co
pyP
oo
lN
ame:
DS
N$P
870$
LG
Ver
sio
ns:
2
Sto
rag
e G
rou
p
Nam
e: D
SN
LOG
Cop
yPoo
l Bac
kup
Nam
e: C
PB
1
Type
: Poo
lTy
pe: P
ool
© 2
012
IBM
Cor
pora
tion
Sto
rag
e G
rou
p
Nam
e: C
PB
1C
opyP
ool B
acku
p N
ame:
N/A
Type
: Cop
yPoo
l Bac
kup
Bac
kup
an
d R
eco
very
E
nh
ance
men
tsin
DB
29 ©
201
2 IB
M C
orpo
ratio
n
En
han
cem
ents
in D
B2
9
DB
2 9
En
han
cem
ents
�B
AC
KU
P S
YS
TEM
and
RE
STO
RE
SY
STE
Mut
ilitie
s w
ill m
anag
e C
opy
Poo
l ba
ckup
s to
/from
tape
s
–U
p to
five
tape
cop
ies
can
be c
reat
ed
�S
uppo
rt In
crem
enta
l Fla
shC
opy
�R
EC
OV
ER
utili
ty c
an u
se C
opy
Poo
l bac
kups
as
the
sour
ce fo
r rec
over
y of
2
© 2
012
IBM
Cor
pora
tion
DB2
tabl
es a
nd in
dexe
s
–Ba
ckup
s ca
n be
on
DAS
Ds
or T
apes
�P
rere
q. D
FSM
Shs
man
d z/
OS
1.8
Co
pyP
oo
lBac
kup
s o
n T
apes
Cus
tom
er b
enef
its:
�R
educ
e di
sk s
pace
for m
aint
aini
ng m
ultip
le C
opy
Poo
l bac
kups
�In
tegr
ated
tape
man
agem
ent b
etw
een
DB
2 an
d
“Thi
s su
re m
akes
Cop
y Po
oldu
mp
& re
stor
em
anag
emen
t a
lot e
asie
r “
© 2
012
IBM
Cor
pora
tion
DFS
MS
hsm
�R
etai
ning
Cop
y P
ool b
acku
ps fo
r lon
g te
rm u
se
�P
rovi
ding
a m
eans
of r
ecov
ery
from
med
ia fa
ilure
�R
emot
e si
te re
cove
ry
RE
STO
RE
SY
ST
EM
–Ta
pe
Su
pp
ort
�R
esto
re th
e D
B c
opy
pool
from
tape
s in
par
alle
l
�If
the
data
cop
y po
ol b
acku
p re
side
s on
DA
SD
and
on
tape
, the
n th
e D
AS
D
vers
ion
is c
hose
n as
the
reco
very
bas
e
�In
stal
l ZPA
RM
opt
ions
–FR
OM
DU
MP
-use
r can
spe
cify
that
they
don
't w
ant t
o us
e th
e D
AS
D v
ersi
on
–D
UM
PC
LAS
S(d
c)-u
serc
ansp
ecify
asp
ecify
HS
Mdu
mp
clas
sto
rest
ore
from
© 2
012
IBM
Cor
pora
tion
DU
MP
CLA
SS
(dc)
us
er c
an s
peci
fy a
spe
cify
HS
M d
ump
clas
s to
rest
ore
from
RE
CO
VE
R u
tilit
y –
use
Co
py
Po
ol b
acku
p
�R
EC
OV
ER
util
ity e
nhan
cem
ents
per
mit
usin
g a
back
up ta
ken
at th
e sy
stem
-le
vel a
s th
e re
cove
ry b
ase
for a
sub
set o
f obj
ects
in th
e sy
stem
�N
eed
to s
et Z
PAR
M S
yste
m_L
evel
_Bac
kups
= Y
ES
FU
LL
Con
nect
ing
syst
em-le
vel b
acku
ps w
ith o
bjec
t lev
el re
cove
ries
TS
1
© 2
012
IBM
Cor
pora
tion
BA
CK
UP
SY
ST
EM
Sys
tem
Lev
el B
acku
pR
EC
OV
ER
FU
LL
or
DA
TA
FU
LL
or
DA
TA
TS
1
TS
2
RE
CO
VE
R u
tilit
y –
use
Co
py
Po
ol b
acku
p ..
.
�M
ost r
ecen
t rec
over
y ba
se (p
rior t
o th
e re
cove
ry p
oint
) is
chos
en:
–C
ould
be
imag
e co
py, c
oncu
rrent
cop
y, lo
g ye
s ev
ent,
or C
opy
Poo
l bac
kup
�Ta
kes
sub-
seco
nd to
rest
ore
a da
ta s
et if
the
back
up is
on
DA
SD
(ind
epen
dent
of
its
size
)
�U
se n
orm
al I/
O (i
.e. n
ot F
lash
Cop
y)
–If
Flas
hCop
yba
ckgr
ound
copy
isno
tcom
plet
e
© 2
012
IBM
Cor
pora
tion
If Fl
ashC
opy
back
grou
nd c
opy
is n
ot c
ompl
ete
–If
the
prod
uctio
n vo
lum
e is
the
sour
ce o
f PP
RC
/XR
C
•U
se F
lash
Cop
yw
ith R
emot
e P
air F
lash
Cop
y on
DS
8K 4
.2
–M
ake
sure
SE
TSY
S F
AS
TRE
PLI
CAT
ION
(PR
EFE
RR
ED
) is
used
, whi
ch is
the
defa
ult
�W
hen
rest
orin
g a
list o
f obj
ects
, the
rest
ore
proc
ess
is d
one
in p
aral
lel
RE
CO
VE
R u
tilit
y –
use
Co
py
Po
ol b
acku
p ..
.
�D
ata
set m
ust b
e ca
talo
ged
and
allo
cate
d on
the
sam
e vo
lum
es th
at it
resi
ded
on a
t the
tim
e of
the
back
up
–S
uppo
rt fo
r dat
a se
ts th
at h
ave
exte
nded
to n
ew v
olum
es
–D
B2
Rec
over
y E
xper
t V2
can
alle
viat
e th
is p
robl
em
–D
FSM
S s
uppo
rt is
in z
/OS
1.1
1 (re
quire
DB
2 ap
arP
K92
725)
•S
MS
opt
ion
to c
aptu
re IC
FCTL
G fo
r Cop
y P
ool
© 2
012
IBM
Cor
pora
tion
•A
llow
reco
very
for m
oved
/del
eted
dat
a se
ts
•S
till n
eed
to h
ave
suffi
cien
t fre
e sp
ace
on th
e or
igin
al D
AS
D v
olum
e
�If
the
rest
ore
of d
atas
ets
from
DA
SD
fails
, the
n th
e re
cove
ry o
f the
obj
ect w
ill n
ot
proc
eed
–U
se th
e R
EC
OV
ER
RE
STO
RE
BE
FOR
E o
ptio
n to
dire
ct th
e ut
ility
to u
se a
reco
very
ba
se p
rior t
o th
e sy
stem
-leve
l bac
kup
�If
FRO
MD
UM
P is
spe
cifie
d:
–D
ata
sets
are
rest
ored
from
tape
s
Incr
emen
tal F
lash
Co
py
�In
trodu
ced
by D
FSM
Shs
min
z/O
S 1
.8
–In
itial
incr
emen
tal F
lash
Cop
ycr
eate
s fu
ll ba
se b
acku
p
–Su
bseq
uent
incr
emen
tal F
lash
Cop
ies
copy
cha
nged
trac
ks to
bac
kup
volu
mes
onl
y (o
verri
ding
initi
al b
acku
p)
�M
inim
izes
I/O
impa
ct (D
B2
incr
emen
tal I
C)
�C
onsi
dera
bly
redu
ces
elap
sed
time
of p
hysi
cal c
opy
© 2
012
IBM
Cor
pora
tion
RE
CO
VE
R t
o P
IT w
ith
co
nsi
sten
cy
�D
B2
RE
CO
VE
R u
tility
will:
–A
utom
atic
ally
det
ect t
he u
ncom
mitt
ed tr
ansa
ctio
ns ru
nnin
g at
the
reco
ver P
IT
–R
oll b
ack
thei
r cha
nges
on
the
reco
vere
d ob
ject
s.
–Th
us e
nsur
ing
data
con
sist
ency
afte
r PIT
reco
verie
s.
–R
ecov
ered
obj
ects
left
in a
tran
sact
ion
cons
iste
nt s
tate
© 2
012
IBM
Cor
pora
tion
�Av
oid
the
need
to re
gula
rly ru
n th
e Q
UIE
SC
E u
tility
–R
educ
es d
isru
ptio
n to
DB2
use
rs a
nd a
pplic
atio
ns
Bac
kup
an
d R
eco
very
E
nh
ance
men
tsin
DB
210 ©
201
2 IB
M C
orpo
ratio
n
En
han
cem
ents
in D
B2
10
DB
2 10
: C
op
y/R
eco
ver
En
han
cem
ents
�Im
prov
ed C
OP
Y C
HA
NG
ELI
MIT
per
form
ance
–U
se R
TS in
stea
d of
sca
nnin
g sp
ace
map
pag
es
�D
atas
et le
vel F
lash
Cop
yop
tion
–In
line
CO
PY
is o
ptio
nal f
or R
EO
RG
(pos
t-GA
enha
ncem
ent)
�Fl
ashC
opy
back
ups
with
con
sist
ency
and
no
appl
icat
ion
outa
ge
�Fl
ashC
opy
back
ups
as in
put t
o:
RE
CO
VE
R(f
tt
h)
© 2
012
IBM
Cor
pora
tion
18
–R
EC
OV
ER
(fas
t res
tore
pha
se)
–C
OP
YTO
CO
PY
•C
reat
e se
quen
tial c
opie
s fro
m F
lash
Cop
y•
Can
be
used
as
inpu
t for
UN
LOA
D
–D
SN
1CO
PY
/DS
N1P
RN
T
�R
EC
OV
ER
“bac
k to
” log
poi
nt
�R
EP
OR
T R
EC
OV
ER
Y su
ppor
t for
sys
tem
leve
l bac
kups
�M
OD
IFY
RE
CO
VE
RY
impr
oved
per
form
ance
V10
: C
OP
Y
�D
atas
et-le
vel F
lash
copy
supp
ort
–C
OP
Y, R
EC
OV
ER
, RE
OR
G, L
OA
D, R
EB
UIL
D IN
DE
X, R
EO
RG
IND
EX
–N
ew z
parm
s&
util
ity p
arm
sto
gov
ern
–S
igni
fican
t CP
U &
ela
psed
tim
e re
duct
ion
for l
arge
pag
eset
s
–C
reat
e tra
nsac
tion-
cons
iste
nt im
age
copi
es fr
om S
HR
LEV
EL
CH
AN
GE © 2
012
IBM
Cor
pora
tion
CPU
tim
e pe
r obj
ect (
z10)
00.
511.
522.
53
025
5075
100
Obj
ect s
ize
(MB
)
Seconds
IC FC
Ela
psed
tim
e pe
r ob
ject
(z10
)
00.
511.
522.
533.
5
025
5075
100
Obj
ect s
ize
(MB
)
Seconds
IC FC
V10
: C
OP
Y
�P
ost-G
A Fl
ashc
opy
enha
ncem
ents
–PM
3477
6–
Sup
port
for R
EO
RG
AU
X Y
ES
to F
lash
Cop
yau
x ob
ject
s–
Rem
ove
requ
irem
ent f
or s
eque
ntia
l inl
ine
copy
for R
EO
RG
–Ad
d a
new
zpa
rmpa
ram
eter
FLA
SHC
OP
Y_P
PR
C w
hich
con
trols
whe
ther
Fl
ashC
opy
can
be ta
ken
agai
nst P
PRC
prim
ary
volu
mes
•R
EQ
UIR
ED
-
Req
uire
DS
8K R
emot
e P
air F
lash
Cop
yfu
nctio
n to
take
Fla
shC
opy
•P
RE
FER
RE
D -
Allo
w to
take
Fla
shC
opy
even
if D
S8K
RP
FC is
not
ava
ilabl
e (v
olum
e pa
irs w
ill be
in G
DP
S
dupl
ex p
endi
ng s
tate
whe
n th
e ba
ckgr
ound
cop
y is
in p
rogr
ess)
•
NO
NE
-Fl
ashC
opy
does
not
pre
serv
e m
irror
© 2
012
IBM
Cor
pora
tion
pyp
CPU
tim
e pe
r obj
ect (
z10)
00.
511.
522.
53
025
5075
100
Obj
ect s
ize
(MB
)
Seconds
IC FC
Ela
psed
tim
e pe
r ob
ject
(z10
)
00.
511.
522.
533.
5
025
5075
100
Obj
ect s
ize
(MB
)
Seconds
IC FC
V10
: C
OP
Y
�Im
prov
ed d
atas
et m
anag
emen
t & p
erfo
rman
ce
–C
HA
NG
ELI
MIT
will
not a
lloca
te c
opy
data
set u
nles
s co
py ta
ken
•&
ICTY
PE
now
mat
ches
act
ual i
mag
e co
py ty
pe
–U
se R
TS fo
r CH
AN
GE
LIM
IT p
erfo
rman
ce
•N
o lo
nger
nee
d to
sca
n sp
ace
map
pag
es
© 2
012
IBM
Cor
pora
tion
–In
crem
enta
l cop
y w
ill n
ot a
lloca
te c
opy
data
set u
nles
s pa
ges
chan
ged
–In
sert
dum
my
SY
SC
OP
Y re
cord
for i
ncre
men
tal c
opy
even
thou
gh n
o pa
ges
chan
ged
–D
eliv
ery
post
-GA
V10
: R
EC
OV
ER
�N
ew B
AC
KO
UT
YE
S o
ptio
n fo
r poi
nt in
tim
e re
cove
ry
–Tr
ue ro
llbac
k, n
ot ru
n of
gen
erat
ed S
QL
undo
sta
tem
ents
–R
equi
res
CO
PY
YE
S fo
r ind
exes
–N
ot fo
r med
ia re
cove
ry
�A
llow
fast
dat
a re
stor
e fro
m d
ata
set l
evel
Fla
shC
opy
�N
ew Z
PAR
M R
EC
_FA
STR
EP
LIC
ATIO
N p
aram
eter
© 2
012
IBM
Cor
pora
tion
–P
RE
FER
ED
(def
ault)
–us
e Fl
ashC
opy
if av
aila
ble
–R
EQ
UIR
ED
–us
e Fl
ashC
opy
for r
ecov
ery
–N
ON
E –
use
stan
dard
I/O
for r
ecov
ery
�V
ER
IFY
SE
T op
tion
to fa
il P
IT re
cove
ry if
ent
ire s
et n
ot in
clud
ed
–B
ase,
LO
B, X
ML,
his
tory
–no
t RI
�E
NFO
RC
E o
ptio
n to
avo
id C
HK
P/A
CH
KP w
hen
subs
et o
f set
reco
vere
d
–Im
prov
ed p
erfo
rman
ce d
ue to
avo
idan
ce o
f set
che
ckin
g (R
I, au
x)
PP
RC
/XR
C R
estr
icti
on
s
�R
ES
TOR
E S
YS
TEM
& R
EC
OV
ER
from
SLB
fails
if ta
rget
is a
prim
ary
in a
PP
RC
re
latio
nshi
p or
par
t of a
n X
RC
rela
tions
hip
–D
FSM
Shs
m A
PAR
OA
2384
9 pe
rmits
Fla
shC
opy
to a
PP
RC
prim
ary
–Bu
t vol
umes
will
be in
“dup
lex
pend
ing”
sta
te u
ntil
back
grou
nd c
opy
com
plet
es•
GD
PS
/ H
yper
swap
failo
ver f
ails
for v
olum
es in
Dup
lex
Pen
ding
–R
esol
veth
isis
sue
bysh
ippi
ngfu
nctio
nra
ther
than
data
thro
ugh
PPR
C(D
S8K
© 2
012
IBM
Cor
pora
tion
–R
esol
ve th
is is
sue
by s
hipp
ing
func
tion
rath
er th
an d
ata
thro
ugh
PP
RC
(DS
8K
Flas
hCop
y P
rese
rve
Mirr
or s
olut
ion)
–N
o X
RC
sol
utio
n in
the
shor
t ter
m
�Q
UE
RY
CO
PY
PO
OL
com
man
d to
dis
play
bac
kgro
und
copy
per
cent
-com
plet
e in
form
atio
n
�A
llow
RE
STO
RE
to u
se S
ytem
-leve
l bac
kups
with
out w
aitin
g fo
r Fla
shC
opy
back
grou
nd c
opy
to c
ompl
ete
–U
se D
S8K
Fas
t Rev
erse
Res
tore
(i.e
. FR
R) f
eatu
re
New
SM
SC
opy
Pool
setti
ngto
enab
leFR
R
HS
M E
nh
ance
men
ts in
z/O
S 1
.12
© 2
012
IBM
Cor
pora
tion
–N
ew S
MS
Cop
y Po
ol s
ettin
g to
ena
ble
FRR
–S
ourc
e vo
lum
es c
an’t
be in
any
oth
er F
lash
Cop
y re
latio
nshi
ps
�LI
ST
CO
PY
PO
OL
com
man
d to
dis
play
whe
ther
FR
R w
as e
nabl
ed a
nd th
e re
cove
ry s
tatu
s of
usi
ng F
RR
Mu
ltip
le S
pac
e E
ffic
ien
t V
ersi
on
s
Ver
sio
ns:
3
Nam
e:D
ATA
Typ
e: P
oo
lC
op
yP
oo
lBac
kup
Nam
e:P
AY
BA
CK
Sto
rage
Gro
up
Co
py
Po
ol:
CP
1
Nam
e: P
AY
BA
CK
Type
: C
opy
Poo
l Bac
kup
Sto
rage
Gro
up
Ver
sion
n+2
2%
FRB
AC
KU
P}10
% d
ata
chan
ge
betw
een
vers
ions
2% d
ata
chan
ge s
ince
ve
rsio
n cr
eate
d
© 2
012
IBM
Cor
pora
tion
Co
py
Po
ol B
acku
p N
ame:
PA
YB
AC
K
Ver
sion
n+1
12
%
FRB
AC
KU
PC
P1
Du
mp
Tap
e
CP
1 V
ersi
on n
Ver
sion
n 2
5%
Tota
l 're
al' s
tora
ge:
39%
}13%
dat
a ch
ange
be
twee
n ve
rsio
ns
12%
dat
a ch
ange
sin
ce
vers
ion
crea
ted
25%
dat
a ch
ange
sin
ce
vers
ion
crea
ted
�A
llow
Bac
kup
Sys
tem
to u
se S
pace
Effi
cien
t Fla
shC
opy
to k
eep
back
ups
on ta
pes
–C
opyP
ool w
ith V
ersi
on =
0
�S
pace
Effi
cien
t Vol
umes
–N
ot c
onsu
me
phys
ical
spa
ce u
ntil
writ
es ta
ke p
lace
Ri
FlhC
SE
lid
ft
HS
M E
nh
ance
men
ts in
z/O
S 1
.12
© 2
012
IBM
Cor
pora
tion
–R
equi
res
Flas
hCop
y S
E li
cens
ed fe
atur
e
–H
SM
sel
ects
SE
targ
et v
olum
es w
hen
Cop
y P
ool i
s de
fined
with
NO
CO
PY
(VE
RS
ION
S =
0)
�If
FRR
is e
nabl
ed, r
ecov
ery
of th
e en
tire
Cop
y P
ool c
an b
e pe
rform
ed fr
om
the
disk
bac
kup
(in a
dditi
on to
a d
ump
tape
ver
sion
)
�A
fast
and
non
-dis
rupt
ive
back
up s
olut
ion
usin
g
–Fl
ashC
opy
and
DB
2 B
acku
p S
yste
m U
tility
–S
uppo
rt In
crem
enta
l Fla
shC
opy
�C
opy
Poo
l bac
kups
can
be
used
as
the
sour
ce fo
r DB
2 ta
ble/
inde
x re
cove
ry
�A
utom
atic
ally
man
age
Cop
y P
ool b
acku
ps o
n ta
pes
Su
mm
ary
© 2
012
IBM
Cor
pora
tion
�R
esto
re S
yste
m U
tility
can
reco
ver D
B2
syst
em fr
om D
AS
D o
r Tap
es
�R
ecov
er U
tility
can
reco
ver t
able
spa
ce a
nd in
dex
to P
IT w
ith tr
ansa
ctio
n le
vel c
onsi
sten
cy
�R
emot
e P
air F
lash
Cop
yto
alle
viat
e P
PR
C re
stric
tion
�Ti
ght c
olla
bora
tion
betw
een
DB
2 an
d S
tora
ge te
ams
Qu
esti
on
s
© 2
012
IBM
Cor
pora
tion
© 2
012
IBM
Cor
pora
tion
DB
210
forz
/OS
Virt
uala
ndD
B2
10fo
rz/O
SVi
rtua
land
Rea
l Sto
rage
Man
agem
ent
John
Cam
pbel
lD
istin
guis
hed
Eng
inee
rg
gD
B2
for z
/OS
Dev
elop
men
tE
mai
l: C
ampb
elJ@
uk.ib
m.c
om
© 2
012
IBM
Cor
pora
tion
Dis
clai
mer
© C
opyr
ight
IBM
Cor
pora
tion
2012
. All
right
s re
serv
ed.
US
GtU
Rt
it
dR
iht
Ud
liti
dil
ti
td
bG
SAA
DP
Sh
dl
Ct
tith
U.S
.Gov
ernm
entU
sers
Res
tric
ted
Rig
hts
-Use
,dup
licat
ion
or d
iscl
osur
e re
stric
ted
byG
SAA
DP
Sche
dule
Con
trac
t with
IBM
Cor
p.
THE
INFO
RM
ATIO
N C
ON
TAIN
ED IN
TH
IS P
RES
ENTA
TIO
N IS
PR
OVI
DED
FO
R IN
FOR
MAT
ION
AL
PUR
POSE
S O
NLY
. W
HIL
E EF
FOR
TS W
ERE
MA
DE
TO V
ERIF
Y TH
E C
OM
PLET
ENES
S A
ND
AC
CU
RA
CY
OF
THE
INFO
RM
ATIO
N C
ON
TAIN
ED IN
TH
IS
PRES
ENTA
TIO
N, I
T IS
PR
OVI
DED
“A
S IS
” W
ITH
OU
T W
AR
RA
NTY
OF
AN
Y K
IND
, EXP
RES
S O
R IM
PLIE
D. I
N A
DD
ITIO
N,
THIS
INFO
RM
ATIO
N IS
BA
SED
ON
IBM
’S C
UR
REN
T PR
OD
UC
T PL
AN
S A
ND
STR
ATEG
Y, W
HIC
H A
RE
SUB
JEC
T TO
C
HA
NG
E B
Y IB
M W
ITH
OU
T N
OTI
CE.
IB
M S
HA
LL N
OT
BE
RES
PON
SIB
LE F
OR
AN
Y D
AM
AG
ES A
RIS
ING
OU
T O
F TH
E U
SEO
FO
RO
THER
WIS
ER
ELAT
EDTO
THIS
PRES
ENTA
TIO
NO
RA
NY
OTH
ERD
OC
UM
ENTA
TIO
NN
OTH
ING
CO
NTA
INED
USE
OF,
OR
OTH
ERW
ISE
REL
ATED
TO,T
HIS
PRES
ENTA
TIO
NO
RA
NY
OTH
ERD
OC
UM
ENTA
TIO
N.N
OTH
ING
CO
NTA
INED
IN T
HIS
PR
ESEN
TATI
ON
IS IN
TEN
DED
TO
, NO
R S
HA
LL H
AVE
THE
EFFE
CT
OF,
CR
EATI
NG
AN
Y W
AR
RA
NTI
ES O
R
REP
RES
ENTA
TIO
NS
FRO
M IB
M (O
R IT
S SU
PPLI
ERS
OR
LIC
ENSO
RS)
, OR
ALT
ERIN
G T
HE
TER
MS
AN
D C
ON
DIT
ION
S O
F A
NY
AG
REE
MEN
T O
R L
ICEN
SE G
OVE
RN
ING
TH
E U
SE O
F IB
M P
RO
DU
CTS
AN
D/O
R S
OFT
WA
RE
IBM
, the
IBM
logo
, ibm
.com
, and
DB
2 ar
e tra
dem
arks
or r
egis
tere
d tra
dem
arks
of I
nter
natio
nal B
usin
ess
Mac
hine
s C
orpo
ratio
n in
the
Uni
ted
Sta
tes,
oth
er c
ount
ries,
or b
oth.
If th
ese
and
othe
r IB
M tr
adem
arke
d te
rms
are
mar
ked
on th
eir f
irst o
ccur
renc
e in
this
info
rmat
ion
with
a tr
adem
ark
sym
bol (
® o
r ™),
thes
e sy
mbo
ls in
dica
te U
.S. r
egis
tere
d or
com
mon
law
trad
emar
ks o
wne
d by
IBM
at t
he ti
me
this
info
rmat
ion
was
pub
lishe
d. S
uch
trade
mar
ks m
ay a
lso
be re
gist
ered
or c
omm
on la
w tr
adem
arks
in o
ther
cou
ntrie
s. A
cur
rent
list
ofIB
M
trade
mar
ks is
ava
ilabl
e on
the
Web
at “
Cop
yrig
ht a
nd tr
adem
ark
info
rmat
ion”
at w
ww.
ibm
.com
/lega
l/cop
ytra
de.s
htm
l © 2
012
IBM
Cor
pora
tion
2
DB
2 10
: Mas
sive
ly S
cala
ble
DB
MS
Cou
plin
g Te
chno
logy
Toda
y
Cou
plin
g Te
chno
logy
DB
2 10
DB
2A(5
00 th
ds)
LPA
R1
DB
2B(5
00 th
ds)
LPA
R2
DB
2C(5
00 th
ds)
LPA
R3
DB
2A(2
500
thds
)
LPA
R1
DB
2B(2
500
thds
)
LPA
R2
DB
2C(2
500
thds
)
LPA
R3
DB
2D(5
00 th
ds)
DB
2E(5
00 th
ds)
DB
2F(5
00 th
ds)
�D
ata
shar
ing
and
sysp
lex
allo
ws
for
effic
ient
sca
le-o
ut o
f DB
2 im
ages
Sti
ltil
DB
2LP
AR
•M
ore
thre
ads
per D
B2
imag
e•
Mor
e ef
ficie
nt u
se o
f lar
ge n
-way
s•
Eas
ier g
row
th, l
ower
cos
ts, e
asie
r m
anag
emen
t�
Som
etim
es m
ultip
leD
B2s
per
LPA
Rm
anag
emen
t•
Dat
a sh
arin
g an
d P
aral
lel S
yspl
ex s
till r
equi
red
for v
ery
high
ava
ilabi
lity
and
scal
e•
Rul
e of
thum
b: s
ave
½%
CP
U fo
r eac
h m
embe
rred
uced
mor
eon
mem
ory
© 2
012
IBM
Cor
pora
tion
mem
berr
educ
ed,m
ore
onm
emor
y
How
Can
You
Max
imiz
e D
B2
10’s
Sca
labi
lity?
•Te
rmin
olog
y•
Virtu
al S
tora
ge C
onst
rain
ts a
nd M
anag
emen
tg
g•
Rea
l Sto
rage
–R
eal s
tora
ge c
onsu
mpt
ion
–R
eal s
tora
ge c
ontro
l –sy
stem
con
figur
atio
n pa
ram
eter
s (Z
PAR
Ms)
–U
nder
stan
ding
the
key
met
rics
via
IFC
ID22
5•
Futu
reC
onsi
dera
tions
Futu
reC
onsi
dera
tions
© 2
012
IBM
Cor
pora
tion
Stor
age
Man
agem
ent –
Term
inol
ogy 64
-bit
End
ofVi
rtual
64-B
it pr
ivat
e st
orag
e64
-Bit
priv
ate
stor
age
64bi
tEnd
ofVi
rtual
“Abo
ve th
e B
ar”
32-b
it B
ar“B
elow
the
Bar
”E
xten
ded
Reg
ion
Ext
ende
d R
egio
n
Bel
owth
eB
ar
Nuc
leus
, CS
A, S
QA
, etc
.
Nuc
leus
, EC
SA
, ES
QA
, etc
.
Nuc
leus
, CS
A, S
QA
, etc
.
Nuc
leus
, EC
SA
, ES
QA
, etc
.16
MB
“Lin
e”‘B
elow
the
line’
‘Bel
ow th
e lin
e’
© 2
012
IBM
Cor
pora
tion
DB
2 Sc
alab
ility
: Virt
ual S
tora
ge C
onst
rain
ts
Thre
ad 4
All
St
Ett
hS
tE
xten
ded
Reg
ion
“Bel
ow T
he B
ar S
tora
ge”
~1.5
GTh
read
3A
llS
tora
geE
xcep
tthe
Sto
rage
Cus
hion
is C
onsu
med
!
Thre
ad 2
Thre
ad 1 S
tora
ge C
ontra
ctio
n K
icks
Off
Pot
entia
lly D
egra
ding
Per
form
ance
© 2
012
IBM
Cor
pora
tion
Onl
y m
ust c
ompl
ete
proc
essi
ngsu
ccee
ds a
nd o
ther
s ge
t AB
EN
D04
E R
C00
E20
****
Virt
ual S
tora
ge M
anag
emen
t
•In
tern
al m
onito
r will
aut
omat
ical
ly is
sue
cons
ole
mes
sage
s (D
SN
V50
8I)
whe
n st
orag
e cr
osse
s (in
crea
sing
or d
ecre
asin
g) th
resh
olds
DSNVMON ) DB2 BELOW-THE-BAR STORAGE WARNING
77% CONSUMED
76% CONSUMED BY DB2
352M AVAILABLE OUT OF REGION SIZE 1553M
WITH A 274M STORAGE CUSHION
•Th
resh
old
rece
ntly
aug
men
ted
in P
M38
435
to a
ccou
nt fo
r the
sto
rage
cu
shio
n.C
ange
tsta
tus
atan
ytim
eus
ing
–DIS
THR
EA
DS
ER
VIC
E(W
AIT
)cu
shio
n.C
ange
tsta
tus
atan
ytim
eus
ing
DIS
THR
EA
DS
ER
VIC
E(W
AIT
)NAME ST A REQ ID
AUTHID PLAN ASID TOKEN
VA1A N * 0 002.VMON 01 SYSOPR
002A 0
V507-ACTIVE MONITOR, INTERVALS=8216, STG=77%, BOOSTS=0, HEALTH=100
REGION=1553M, AVAIL=352M, CUSHION=274M
•G
ood
new
s…D
B2
10 h
ave
very
littl
e co
ncer
n w
ith v
irtua
l sto
rage
con
stra
ints
ft
RE
BIN
D!
afte
r a R
EB
IND
!
© 2
012
IBM
Cor
pora
tion
DB
2 Sc
alab
ility
: Rea
l Sto
rage
Con
sum
ptio
n
“Abo
ve th
e B
ar”
16ex
abyt
es10
00’s
of t
hrea
ds
See
min
gly
With
outB
ound
s6
eab
ytes
1000
thre
ads
See
min
gly
With
outB
ound
s
1000
thre
ads
1000
thre
ads
1000
thre
ads
1000
thre
ads
© 2
012
IBM
Cor
pora
tion
DB
2 Sc
alab
ility
: Rea
l Sto
rage
Con
sum
ptio
n
“Abo
ve th
e B
ar”
16ex
abyt
es6
eab
ytes
Virtu
al O
bjec
t12
8GR
eal a
nd A
uxx
Gig
abyt
es
128G
Per
form
ance
Deg
rade
sas
Rea
lSto
rage
isC
onsu
med
Onc
eal
laux
isco
nsum
edth
eLP
AR
goes
into
aw
aits
tate
© 2
012
IBM
Cor
pora
tion
Per
form
ance
Deg
rade
sas
Rea
lSto
rage
isC
onsu
med
Onc
eal
laux
isco
nsum
ed,t
heLP
AR
goes
into
aw
aits
tate
Rea
l Sto
rage
Con
trol
: Not
hing
to F
ear!
•N
ew s
yste
m c
onfig
urat
ion
para
met
ers
with
apa
r PM
2472
3 fo
r DB
2 10
to
defin
e re
al s
tora
ge b
ound
arie
s an
d ho
w a
ggre
ssiv
ely
DB
2 sh
ould
stri
ve to
g
ggy
rem
ain
in th
e de
fined
bou
ndar
y. (N
ote:
z/O
S a
par O
A35
885
is re
quire
d to
en
able
the
full
func
tiona
lity
of P
M24
723)
•R
EA
LSTO
RA
GE
MA
Xde
fines
the
sand
box
RE
ALS
TOR
AG
E_M
AX
defin
esth
esa
ndbo
x–
Am
ount
of r
eal a
nd a
ux in
GB
a g
iven
DB
2 su
bsys
tem
is a
llow
ed to
con
sum
e–
If th
is v
alue
is h
it, D
B2
will
term
inat
e. T
he tr
ade
off i
s po
tent
ial L
PAR
loss
(Not
e:
defa
ulti
s0
whi
chm
eans
NO
LIM
IT)
defa
ulti
s0
whi
chm
eans
NO
LIM
IT)
–If
this
val
ue is
app
roac
hed
a “s
ticky
” DS
NS
003I
is w
ritte
n to
the
cons
ole
DSNVMON
–SUBSYSTEM WARNING FOR REAL STORAGE HAS BEEN DETECTED
–U
pon
relie
f a D
SN
S00
4I m
essa
ge is
writ
ten
and
outs
tand
ing
DS
NS
003I
m
essa
ges
are
DO
M’e
dm
essa
ges
are
DO
Med
© 2
012
IBM
Cor
pora
tion
Rea
l Sto
rage
Con
trol
: Not
hing
to F
ear!
•If
we
appr
oach
the
RE
ALS
TOR
AG
E_M
AX
thre
shol
d, w
e w
ill a
utom
atic
ally
en
ter “
cont
ract
ion
mod
e” to
hel
ppr
otec
t the
sys
tem
pp
y•
Con
tract
ion
mod
e st
art i
s in
dica
ted
by a
DS
NV
516I
mes
sage
DSNVMON
BEGINNING
STORAGE
CONTRACTION
MODE
DSNVMON
–BEGINNING
STORAGE
CONTRACTION
MODE
and
ende
d by
a D
SN
V51
7I m
essa
ge
DSNVMON –
ENDING STORAGE CONTRACTION MODE
•W
hen
in c
ontra
ctio
n m
ode
DB
2 w
ill a
ttem
pt to
dis
card
all
unus
ed c
ache
d vi
rtual
pag
es.
This
“unb
acks
” virt
ual p
ages
suc
h th
at a
real
fram
e or
aux
sl
ot is
not
con
sum
ed fo
r thi
s pa
ge.
Act
ions
incl
ude:
pg
•M
ore
frequ
ent a
gent
loca
l and
sha
red
syst
em p
ool c
ontra
ctio
n•
Sta
ck s
egm
ents
are
con
tract
ed p
rior t
o go
ing
back
on
free
queu
es
© 2
012
IBM
Cor
pora
tion
Rea
l Sto
rage
Con
trol
: Not
hing
to F
ear!
•Th
e fre
quen
cy o
f con
tract
ion
mod
e ca
n al
so b
e co
ntro
lled
by s
yste
m
para
met
er R
EA
LSTO
RA
GE
_MA
NA
GE
ME
NT.
R
EA
LSTO
RA
GE
MA
NA
GE
ME
NT
dfi
thb
hi
ithi
thR
EA
LSTO
RA
GE
_MA
NA
GE
ME
NT
defin
esth
ebe
havi
our w
ithin
the
sand
box.
•R
EA
LSTO
RA
GE
_MA
NA
GE
ME
NT
optio
ns in
clud
e:_
p–
OFF
Do
not e
nter
con
tract
ion
mod
e un
less
the
RE
ALS
TOR
AG
E_M
AX
bou
ndar
y is
ap
proa
ched
OR
z/O
S h
as n
otifi
ed u
s th
at th
ere
is a
crit
ical
aux
sho
rtageg
–O
NA
lway
s op
erat
e in
con
tract
ion
mod
e. T
his
may
be
desi
rabl
e fo
r LPA
R w
ith m
any
DB
2s o
r dev
/test
sys
tem
s–
AU
TO (t
he d
efau
lt)W
hen
sign
ifica
nt p
agin
g is
det
ecte
d, c
ontra
ctio
n m
ode
will
be
ente
red
•Im
porta
ntno
tes:
Impo
rtant
note
s:–
Con
tract
ion
mod
e is
not
exi
ted
imm
edia
tely
upo
n re
lief t
o av
oid
cons
tant
togg
ling
in a
nd o
ut o
f thi
s m
ode
Con
tract
ion
mod
esh
ows
<1%
CP
Ude
grad
atio
n
© 2
012
IBM
Cor
pora
tion
–C
ontra
ctio
nm
ode
show
s<1
%C
PU
degr
adat
ion
Illum
inat
ing
Scal
abili
ty: I
FCID
225
•IF
CID
225
sta
tistic
s re
cord
s ar
e cr
itica
l for
sto
rage
mon
itorin
g
•IF
CID
225
Sto
rage
Sum
mar
y R
ecor
d–
SM
FR
ecor
dTy
peS
MF
Rec
ord
Type
•V8
= T
ype
102
•V
9/V
10 =
Typ
e 10
0 S
ubty
pe 4
–E
nabl
ed v
ia S
TATI
STI
CS
trac
e C
LAS
S 1
–In
terv
al if
ena
bled
•V
8/V
9 =
writ
ten
at in
terv
al d
efin
ed b
y ZP
AR
M S
TATI
ME
(rec
omm
enda
tion
is 1
min
ute)
•V
10 =
writ
ten
at fi
xed
1 m
inut
e in
terv
als
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty: I
FCID
225
•IF
CID
225
cha
nged
dra
mat
ical
ly in
DB
2 10
to a
ccou
nt fo
r the
cha
nges
in
stor
age
usag
est
orag
eus
age
–Th
e m
ajor
ity o
f SQ
L pr
oces
sing
sto
rage
is in
the
DB
2 sh
ared
obj
ect
–D
ata
for t
he D
IST
addr
ess
spac
e is
pro
vide
d in
add
ition
to D
BM
1–
64-b
it co
mm
on is
intro
duce
d bu
t lig
htly
use
d–
31-b
it pr
ivat
e m
onito
ring
is le
ss im
porta
nt in
par
ticul
ar if
RE
BIN
Ds
are
done
31co
mm
on(E
CS
A)s
tora
geco
unte
rsar
ein
clud
ed–
31-c
omm
on(E
CS
A)s
tora
geco
unte
rsar
ein
clud
ed–
Det
aile
d re
al a
nd a
ux s
tora
ge c
ount
ers
are
intro
duce
d in
PM
2472
3 to
hel
p w
ith
syst
em m
onito
ring
and
the
setti
ng o
f rea
l sto
rage
con
trol s
yste
m c
onfig
urat
ion
para
met
ers
para
met
ers
•O
MP
E a
par P
M40
133
form
ats
all n
ew fi
elds
and
pre
sent
s to
tals
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty: I
FCID
225
64-B
it C
omm
on
Sha
red
Sto
rage
DIS
T P
rivat
eD
BM
1 P
rivat
e
Rea
l/Aux
64-
bit f
or D
IST
= Q
W02
25H
VPag
esIn
Rea
l/QW
0225
Aux
Slot
sR
eal/A
ux 6
4-bi
t for
DB
M1
excl
udin
g bu
fferp
ools
=
Rea
l for
buf
ferp
ools
and
ass
ocia
ted
obje
cts
= Sh
ared
thre
ad a
nd s
yste
m R
eal/A
ux =
Sh
ared
sta
ck R
eal/A
ux =
R
eal/A
ux S
tora
ge fo
r DB
M1
= Q
W02
25R
L/Q
W02
25A
XR
eal/A
ux S
tora
ge fo
r DIS
T =
QW
0225
RL/
QW
0225
AX
Rea
l/Aux
64-
bit f
or D
BM
1 =
QW
0225
HVP
ages
InR
eal/Q
W02
25A
uxSl
ots
64-b
it C
omm
on R
eal/A
ux =
Bel
ow th
e B
ar
© 2
012
IBM
Cor
pora
tion
gg
pQ
W02
25Pr
iStg
_Rea
l/QW
0225
PriS
tg_A
uxp
jQ
W02
25H
VPag
esIn
Rea
l -Q
W02
25Pr
iStg
_Rea
ly
QW
0225
ShrS
tg_R
eal/Q
W02
25Sh
rStg
_Aux
QW
0225
ShrS
tkSt
g_R
eal/Q
W02
25Sh
rStk
Stg_
Aux
gQ
Qg
gQ
W02
25C
omSt
g_R
eal/Q
W02
25C
omSt
g_A
ux
Illum
inat
ing
Scal
abili
ty: I
FCID
225
Rea
l Sto
rage
Sum
mar
y fro
m O
MP
E (s
ee re
fere
nce
field
s at
end
for r
ecor
d g
y(
deta
ils):
REAL STORAGE IN USE –
SUMMARY
Field
(V10 only)
(y)
--------------------------------------------
-----------------
31/64-BIT PRIVATE (DBM1)
(MB) 2959
31/64-BIT PRIVATE (DIST)
(MB) 57
/(
)(
)64-BIT SHARED THREAD AND SYSTEM
(MB) 108
64-BIT SHARED STACK
(MB) 1086
64-BIT
COMMON
(MB)
10
64
BIT
COMMON
(MB)
10
TOTAL REAL STORAGE IN USE
(MB) 4220
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s
REAL STORAGE IN USE –
SUMMARY
Field (V10 only)
--------------------------------------------
-----------------
31/64-BIT PRIVATE (DBM1)
(MB)
2959
31/64-BIT PRIVATE (DIST)
(MB)
57
64
BIT
SHAREDTHREAD
AND
SYSTEM
(MB)
108
64-BIT
SHAREDTHREAD
AND
SYSTEM
(MB)
108
64-BIT SHARED STACK
(MB)
1086
64-BIT COMMON
(MB)
10
()
220
TOTAL REAL STORAGE IN USE
(MB) 4220
This
fiel
d in
clud
es b
uffe
r poo
ls.
Mos
t lik
ely
this
is th
e m
ajor
influ
ence
. To
be
sre
oca
ndr
illdo
nith
thes
efie
lds
besu
re y
ouca
ndr
illdo
wn
with
thes
efie
lds:
64-BIT REAL 4K FRAMES IN USE :
757504
ABOVE VALUE W/O BP STORAGE
:
178868
Con
side
ratio
ns: b
uffe
r poo
l siz
e, p
age
fixed
buf
fer p
ools
(1M
pag
e si
zes)
, pos
sibl
y C
ON
TSTO
Rd
MIN
STO
RR
EA
LSTO
RA
GE
MA
NA
GE
ME
NT
© 2
012
IBM
Cor
pora
tion
CO
NTS
TOR
and
MIN
STO
R,R
EA
LSTO
RA
GE
_MA
NA
GE
ME
NT
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s(1
M P
age
Size
s)g
gpp
(g
)•
Bef
ore
v10,
DB
2 us
ed o
nly
4K p
age
size
s. N
ow w
ith z
10’s
and
DB
2 v1
0,
DB
2 ex
ploi
ts th
e pe
rform
ance
ben
efits
of 1
M p
age
size
s.–
Red
uctio
n of
mis
ses
in th
e TL
B (t
rans
latio
n lo
okas
ide
buffe
r)–
Up
to 4
% C
PU
redu
ctio
n ob
serv
ed in
bet
a cu
stom
er a
nd la
b te
stin
g•
LFA
RE
Ain
IEA
SY
Sxx
defin
esho
wst
orag
eca
nbe
used
for1
Mpa
gesi
zes
•LF
AR
EA
inIE
AS
YS
xxde
fines
how
stor
age
can
beus
edfo
r1M
page
size
sat
IPL.
The
se p
ages
are
fixe
d an
d w
ill no
t be
page
d to
AU
X.
–1M
pag
es c
an b
e br
oken
dow
n an
d gi
ven
to s
hort
term
fix
swap
pabl
e ad
dres
s sp
aces
(thi
s w
ould
not
be
a D
B2)
–If
only
DB
2 on
the
syst
em, i
t is
best
to g
et th
e se
tting
of L
FAR
EA
clos
e to
the
amou
nt th
at w
ill b
e us
ed e
lse
pagi
ng m
ay o
ccur
due
to la
ck o
f 4K
pag
e av
aila
bilit
y.•
1M p
age
size
s ar
e av
aila
ble
for p
age
fixed
buf
fer p
ools
Ena
bled
ifP
GFI
X(Y
ES
)–
Ena
bled
ifP
GFI
X(Y
ES
)–
Atte
mpt
to g
et 1
M p
ages
if a
vaila
ble,
els
e w
ill g
et 4
K p
ages
–A
buffe
r poo
l can
be
a m
ix o
f 1M
and
4K
pag
es d
epen
ding
on
avai
labi
lity
© 2
012
IBM
Cor
pora
tion
–O
nce
allo
cate
d, p
ages
will
not
be
reco
nfig
ured
eve
n if
1M p
ages
late
r bec
ome
avai
labl
e
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s(1
M P
age
Size
s)g
gpp
(g
)
•Is
sued
by
SR
M in
dica
ting
the
syst
em is
usi
ng >
=80%
of t
he a
vaila
ble
larg
e fra
mes
.Th
e ca
se if
the
num
ber o
f lar
ge fr
ames
con
figur
ed i
s cl
ose
to th
e B
P si
ze.
gg
IRA120E LARGE FRAME SHORTAGE
•D
ispl
ayLF
AR
EA
conf
igur
atio
nde
tails
fort
heLP
AR
Dis
play
LFA
RE
Aco
nfig
urat
ion
deta
ilsfo
rthe
LPA
RIAR019I
09.17.05 DISPLAY VIRTSTOR 984
SOURCE =
AO
TOTAL LFAREA = 200M
LFAREA AVAILABLE = 126M
LFAREA ALLOCATED (1M) = 74M
LFAREA ALLOCATED (4K) = 0M << No broken down 1M frames
MAX
LFAREA
ALLOCATED
(1M)=
96M
MAX
LFAREA
ALLOCATED
(1M)
96M
MAX LFAREA ALLOCATED (4K) = 0M
•S
ervi
ceab
ility
com
man
d to
dis
play
buf
fer p
ool a
lloca
tions
yp
yp
-DIS BUFFERPOOL SERVICE(4)
DSNB999I
=D2V1 DSNB1DBP
SERVICE( 4 )OUTPUT
DSNB999I
=D2V1 4K PAGES 0
© 2
012
IBM
Cor
pora
tion
DSNB999I
=D2V1 1M PAGES 1476
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s
REAL STORAGE IN USE –
SUMMARY
Field (V10 only)
--------------------------------------------
-----------------
31/64-BIT PRIVATE (DBM1)
(MB)
2959
31/64-BIT PRIVATE (DIST)
(MB)
57
64-BIT SHARED THREAD AND SYSTEM (MB)
1086
64-BIT SHARED STACK
(MB)
108
64-BIT COMMON
(MB)
10
TOTAL REAL STORAGE IN USE
(MB)
4220
This
is th
e m
ajor
ity o
f thr
ead
stor
age
need
ed to
run
SQ
L. T
his
can
be c
ompa
red
itt
hb
ft
ith
tO
MP
Eill
tti
thd
agai
nstt
he n
umbe
r of a
gent
sin
the
syst
em a
s O
MP
E w
ill re
port
activ
eth
read
s,sy
stem
age
nts,
DB
ATs,
and
par
alle
l chi
ld th
read
s.
Con
side
ratio
ns: M
AX
DB
AT, C
THR
EA
D, P
AR
AM
DE
G, “
SE
T C
UR
RE
NT
DE
GR
EE
” or
DE
GR
EE
bin
d op
tions
, RE
ALS
TOR
AG
E_M
AN
AG
EM
EN
T
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s
REAL STORAGE IN USE –
SUMMARY
Field (V10 only)
--------------------------------------------
-----------------
31/64-BIT PRIVATE (DBM1)
(MB)
2959
31/64-BIT PRIVATE (DIST)
(MB)
57
64-BIT SHARED THREAD AND SYSTEM (MB)
1086
64-BIT SHARED STACK
(MB)
108
64-BIT COMMON
(MB) 10
()
TOTAL REAL STORAGE IN USE
(MB)
4220
This
is th
e m
ajor
ity o
f sta
ck re
quire
d by
thre
ads
to e
xecu
te S
QL.
Thi
s ca
n be
co
mpa
red
agai
nst t
he n
umbe
r of a
gent
s in
the
syst
em a
s O
MP
E w
ill re
port
activ
e th
read
s, s
yste
m a
gent
s, D
BAT
s, a
nd p
aral
lel c
hild
thre
ads.
Con
side
ratio
ns: M
AX
DB
AT, C
THR
EA
D, P
AR
AM
DE
G, “
SE
T C
UR
RE
NT
DE
GR
EE
” or
DE
GR
EE
bin
d op
tions
, RE
ALS
TOR
AG
E_M
AN
AG
EM
EN
T
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s
REAL STORAGE IN USE –
SUMMARY
Field (V10 only)
--------------------------------------------
-----------------
31/64-BIT PRIVATE (DBM1)
(MB) 2959
31/64-BIT PRIVATE (DIST)
(MB) 57
64-BIT SHARED THREAD AND SYSTEM
(MB) 1086
64-BIT SHARED STACK
(MB) 108
64-BIT COMMON
(MB) 10
TOTAL REAL STORAGE IN USE
(MB) 4220
This
is li
ghtly
use
d in
DB
2 10
. Th
e m
ajor
ity o
f thi
s st
orag
e is
from
dis
tribu
ted
agen
t t
tk
tid
llti
stru
ctur
es, p
acka
ge a
ccou
ntin
g, a
nd ro
llup
acco
untin
g.
Con
side
ratio
ns: M
AX
DB
AT, P
AR
AM
DE
G, “
SE
T C
UR
RE
NT
DE
GR
EE
” or D
EG
RE
E
bid
tih
thA
CC
TG/M
ON
l7
8bl
d(
kbi
nd o
ptio
ns, w
heth
erA
CC
TG/M
ON
cla
sses
7 or
8 a
re e
nabl
ed(p
acka
geac
coun
ting)
, AC
CU
MA
CC
, and
pos
sibl
y C
THR
EA
D a
nd
RE
ALS
TOR
AG
E_M
AN
AG
EM
EN
T
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty:
Stor
age
Influ
ence
s an
d Tu
ning
Opp
ortu
nitie
s
•31
-bit
com
mon
(EC
SA
) may
bec
ome
a sc
alin
g fa
ctor
sin
ce m
any
DB
2 ag
ent
stru
ctur
esst
illre
mai
nin
EC
SA
stru
ctur
esst
illre
mai
nin
EC
SA
EXTENDED CSA SIZE
:
267317248
31-BITCOMMONVARIABLE
POOL
:1609728
31-BITCOMMONVARIABLE
POOL
:1609728
31-BIT COMMON FIXED POOL :
31830016
31-BIT COMMON GETMAINED
:
48320
•C
onsi
dera
tions
:–
Sin
ce 3
1-bi
t sto
rage
is fa
r les
s co
nstra
ined
, it m
ay b
e po
ssib
le to
incr
ease
the
amo
ntof
EC
SA
defin
edif
mlti
ple
sbs
stem
sar
ebe
ing
cons
olid
ated
amou
ntof
EC
SA
defin
edif
mul
tiple
subs
yste
ms
are
bein
gco
nsol
idat
ed–
CTH
RE
AD
, MA
XD
BAT
, PA
RA
MD
EG
, “S
ET
CU
RR
EN
T D
EG
RE
E” o
r DE
GR
EE
bi
nd o
ptio
ns–
Num
ber o
f DB
2s o
n a
give
n LP
AR
© 2
012
IBM
Cor
pora
tion
Illum
inat
ing
Scal
abili
ty: F
urth
er T
unin
g
•It
is re
com
men
ded
that
RE
ALS
TOR
AG
E_M
AX
be
set t
o a
mul
tiple
of t
he
max
imum
sto
rage
a s
yste
m is
exp
ecte
d to
con
sum
e. T
his
may
requ
ire
mon
itorin
g ov
er a
per
iod
of ti
me.
gp
•M
EM
U2
and
ME
MU
SA
GE
can
hel
p di
spla
y tre
nds
over
tim
e. T
hese
hav
e m
oved
to th
e D
B2
for z
/OS
Exc
hang
e co
mm
unity
web
site
on
IBM
My
deve
lope
rWor
ksde
velo
perW
orks
.(1
) Fro
m IB
M M
y de
velo
perW
orks
My
Hom
e (s
ign
in w
ith y
our I
BM
logi
n at
ht
tps:
//ww
w.ib
m.c
om/d
evel
oper
wor
ks/m
ydev
elop
erw
orks
/hom
epag
e), s
earc
h 'm
emu2
' in
All
My
deve
lope
rWor
ks.
deve
lope
rWor
ks.
(2) F
rom
DB
2 fo
r z/O
S E
xcha
nge
(http
://w
ww.
ibm
.com
/dev
elop
erw
orks
/sof
twar
e/ex
chan
ge/d
b2zo
s), c
lick
on
'Vie
w a
nd d
ownl
oad
exam
ples
'. Th
e fil
e is
tagg
ed w
ith 'm
emu2
'.
(3) T
o ac
cess
ME
MU
2 di
rect
ly:
http
s://w
ww.
ibm
.com
/dev
elop
erw
orks
/myd
evel
oper
wor
ks/fi
les/
app/
file/
3af1
2254
-478
1-43
f3-b
4a8-
3336
e09c
36df
?lan
g=en
•Th
ese
trend
s ca
n al
so h
elp
with
a p
rope
r set
ting
for M
AX
SPA
CE
. In
v8/
v9
the
reco
mm
enda
tion
is 8
G a
nd in
v10
this
will
likel
y be
larg
er (1
0G –
12G
).
Als
o co
nsid
er h
ow m
any
DB
2s m
ay b
e on
a g
iven
LPA
R w
hen
setti
ng th
is
© 2
012
IBM
Cor
pora
tion
para
met
er.
Scal
abili
ty: F
utur
e C
onsi
dera
tions
•Li
nk s
yste
m h
ealth
to re
al-s
tora
ge a
nd o
ther
con
stra
ints
. Th
is is
repo
rted
to
yg
pW
LM a
nd s
ome
wor
k ca
n be
dire
cted
aro
und
cons
train
ed s
yste
ms
(see
–D
IS T
HD
(*) T
YP
E(S
YS
TEM
) mes
sage
DS
NV
507I
mes
sage
s fo
r sys
tem
he
alth
repo
rting
).p
g)
•R
educ
e qu
ery
para
llelis
m d
egre
e in
the
face
of r
eal-s
tora
ge o
r oth
er
cons
train
tsco
nstra
ints
•W
e w
ill b
e se
ekin
g to
redu
ce o
ur 3
1-bi
t EC
SA
foot
prin
t in
futu
re re
leas
es o
f D
B2
DB
2
•A
dditi
onal
31-
bit s
tora
ge w
ill b
e m
oved
abo
ve th
e ba
r in
futu
re re
leas
es
© 2
012
IBM
Cor
pora
tion
Que
stio
ns
© 2
012
IBM
Cor
pora
tion
© 2
012
IBM
Cor
pora
tion
Sponsored by
Ljubljana, 13 April 2012
SQLADRIA SEMINAR
Loading a Data Warehouse
Zdenka Gazvoda, Jure LovšinZZZS
Pol
njen
jepo
datk
ovne
gask
ladi
š�a
vP
olnj
enje
poda
tkov
nega
skla
diš�
av
Pol
njen
jepo
datk
ovne
gask
ladi
š�a
vP
olnj
enje
poda
tkov
nega
skla
diš�
av
Pol
njen
je p
odat
kovn
ega
skla
diš�
a v
Pol
njen
je p
odat
kovn
ega
skla
diš�
a v
ZZZS
ZZZS
Pol
njen
je p
odat
kovn
ega
skla
diš�
a v
Pol
njen
je p
odat
kovn
ega
skla
diš�
a v
ZZZS
ZZZS
Zden
ka G
azvo
da, J
ure
Lovš
inZd
enka
Gaz
voda
, Jur
e Lo
všin
Zden
ka G
azvo
da, J
ure
Lovš
inZd
enka
Gaz
voda
, Jur
e Lo
všin
,,Za
vod
za z
drav
stve
no z
avar
ovan
je
Zavo
d za
zdr
avst
veno
zav
arov
anje
Slo
veni
jeSl
oven
ije
Ljub
ljana
, 13.
4.20
12Lj
ublja
na, 1
3.4.
2012
,,Za
vod
za z
drav
stve
no z
avar
ovan
je
Zavo
d za
zdr
avst
veno
zav
arov
anje
Slo
veni
jeSl
oven
ije
Ljub
ljana
, 13.
4.20
12Lj
ublja
na, 1
3.4.
2012
jj
,j
j,
jj
,j
j,
Vseb
ina
Vseb
ina
•Zasnova�po
lnjenja�po
datkovne
ga�sk
ladiš�a
•Organiza
cijaDB
2Z/OS
Organiza
cija�DB2
�Z/O
S•Princip�po
lnjenja�DW
H–Inicialno
–Ekstrakcijaj
–Transformacija
Polnjenje
–Po
lnjenje
2
34
Organiza
cijaPS
vDB
2Z/OS
Organiza
cija�PS�v�DB
2�Z/OS
5
Prim
erup
orabediskovne
gapo
dro�ja
Prim
er�upo
rabe
�disk
ovne
ga�pod
ro�ja
6
Prim
erkreiranjaTS
Prim
er�kreira
nja�TS
CREATE�TA
BLESPA
CE�TSN
AOPB
7�������������������
IN�DBN
AOP0
1��������������������������������
USING�STOGR
OUP�SG
NAO
P01��������������������
PRIQTY
1100
000SECQ
TY11
0000
PRIQTY�1100000�SECQTY�110000���������������
FREEPA
GE�0�PCT
FREE�5�����������������������
GBPC
ACHE
�CHA
NGE
D���������������������������
TRAC
KMODYES
TRAC
KMOD�YES�������������������������������
LOGG
ED����������
DSSIZE�4�G���������������������������������
NUMPA
RTS72
NUMPA
RTS�72��������������������������������
SEGS
IZE�32
���������������������������������
BUFFER
POOL�BP
4�����������������������������
LOCK
SIZE
ANY
LOCK
SIZE�ANY�������������������������������
LOCK
MAX
�SYSTEM�
7
Particioniranjetabe
leParticioniranje�tabe
leCR
EATE�TA
BLE�AO
R_F_RE
CEPT�������������������������������������
(LETOMESEC
������������DE
CIMAL(6,�0)�N
OT�NULL,���������������������
REC_
STEV
ILKA
���������DE
CIMAL(10,�0)�N
OT�NULL�GEN
ERATED
�ALW
AYS����
AS�ID
ENTITY����������������������������������������������������
(START
�WITH�1,�IN
CREM
ENT�BY�1,�C
ACHE
�20,�NO�CYCLE,�����������
(,
,,
,NO�ORD
ER,�M
AXVA
LUE�99
9999
9999
,�MINVA
LUE�1),�����������������
REC_
ORIG_
STEV
��������VAR
CHAR
(9)�FOR�SBCS�DATA�WITH�DE
FAULT�NULL,�
……………………………………..
IN�DBN
AOR0
1.TSNAO
RB7������������������
INNAO
R0.TSN
AOR
7PA
RTITION�BY�(L_KOLEDA
R_IZV_
ID�ASC)���
(PAR
TITION�1�ENDING�AT�(2
0070131),���
PART
ITION�2�ENDING�AT�(2
0070228),���
PART
ITION3EN
DINGAT
(200
7033
1)PA
RTITION�3�ENDING�AT�(2
0070
331),���
…………………………………………
PART
ITION�69�EN
DING�AT�(2
012093
0),���
PART
ITION�70�EN
DING�AT�(2
012103
1),���
PART
ITION71
ENDINGAT
(2012113
0)PA
RTITION�71�EN
DING�AT�(2
0121
130),���
PART
ITION�72�EN
DING�AT�(2
012123
1))�
8
Upo
raba
view
jevza
poro�ila
Upo
raba�view�je
v�za�poro�ila
CREATE
VIEW
AOR
FRE
CEPT
V1(LETOMESEC
REC
STEV
ILKA
CREATE�VIEW�AOR_
F_RE
CEPT_V
1(LETO
MESEC,�R
EC_STEVILKA,�������
REC_
ORIG_
STEV,�R
EC_O
RIG_
SIF_LEK,�REC_LETO_O
BD,�R
EC_M
ESEC_O
BD,�
REC_
INT_STEV
ILKA
,�REC_D
ATUM_IZD
AJE,�REC_R
EG_STEV_
ZAV,
………………………………………………………..
whe
n�F_KO
LICINA_
ZDR�=�0�then
�0�else
((F_R
EC_V
REDN
OST��(����
F_STEV
ILO_TOCK
*�F_CE
NA_
TOCK
E))�/�F_KOLICINA_
ZDR)�end
�as���
F_RE
C_VR
EDZD
RAV_
PO_R
ECEPTU
,�L_ZDR
AVILO_R
AZSKUP_
ID���������
FROM�AOR_
F_RE
CEPT_B
7�;��
9
ETLpo
stop
ekETL�po
stop
ek
•Tabe
le�organizirane
�v�štiri�pod
ro�ja
•Proces
polnjenjaizv
ajam
ovve�korakih,kiso
Proces�polnjen
ja�izvajamo�v�ve��korakih,�ki�so�
med
�sebo
j�lo�en
i.�Najprej�se
�izvede
�sama�
ekstrakcija
podatkov
Vnjejpo
datke
ekstrakcija�pod
atkov.�V�njej�pod
atke�
pre�rpam
o�iz�vira�brez�v
sakih�transformacij.�
bk
Nato�naredimo�vse�spremem
be�pod
atkov�in�
jih�za
pišemo�v�ciljno�po
datkovno
�skladiš�e.
10
Glavna
parameterskatabe
laGlavna�param
eterskatabe
la
11
Odlo�itv
eno�drevo
12
Ekstrakcija
Ekstrakcija
1314
Transformacija
Transformacija
1516
Parametrizacija
proced
urParametrizacija
proced
ur
17
Proced
uravozadju
Proced
ura�v�ozadju
DB2C
md1
=���"db
2cmd�utility_b
labla.bat
":ftp_
host:"�":usernam
e:"�"
:passw
ord:"�
p_p
":job_
name:""
CallDS
Execute("D
OS",�D
B2Cm
d1,�ResultText,�
System
ReturnCo
de)
18
V�i
diit
ijtb
lki
Ve�ina�adm
inistracije�ta
bel�se�skriv
a�v�
tehproced
urah
teh�proced
urah
19
Kajvse
moram
onarediti
Kaj�vse�m
oram
o�narediti
20
21
Kajzdaj?
Kaj�zdaj?
•Po
kritih�pe
t/dve�po
dro�ji
•Nadgradnja
Nadgradnja
•Nove�zahteve
•Nove�ideje
22
Vpr
ašan
jaV
praš
anja
Vpr
ašan
jaV
praš
anja
Vpr
ašan
jaV
praš
anja
Vpr
ašan
jaV
praš
anja