Professional Documents
Culture Documents
DB2 EXPLAIN Explained: Session: C14
DB2 EXPLAIN Explained: Session: C14
DB2 EXPLAIN Explained: Session: C14
Agenda
EXPLAIN Potpourri LEVEL 1
Basics: If you dont know this you dont know EXPLAIN
LEVEL 2
Graduate School
LEVEL 3
Gee Whiz Stuff
LEVEL 4
New Release Stuff
2
LEVEL 1
Important Plan_Table columns Know what to expect How to spot RED FLAGS Know how to fix the problems
LEVEL 2
Combining Columns
Come to new conclusions What you see is not always what you get
LEVEL 3
Index_Only Updates/Deletes An R may not be a tablespace scan Join transformation Subselect transformation Transitive Closure impact
LEVEL 4
Stage 2 Predicates Identified Screencols Documented Filter-Factor Calculations OSC
Accesstype Essentials
R Usually* a tablespace scan I Using an index but which one? And HOW is the index used? I1 This one is special we long for it
Accesstype Essentials
N Two ways to look at this one But why not just say I Blank Sort lines
10
Index_Only
True Index_Only Multiple Index Access Index Only Updates/Deletes
12
Prefetch
Blank Sequential Detection S V9 Changes L D V9 Changes
13
Page_Range
N Y Within Accesstype R * Within Accesstype I
14
Primary Accesstype
D ROWID
blank
16
Bonnie Baker
Bonnie Baker Corporation bkbaker@bonniebaker.com
17