DB2 OptimizationTechniques for SAP Database Migration.pdf

(4290 KB) Pobierz
DB2 Optimization Techniques for SAP Database Migration and Unicode Conversion
Front cover
DB2 Optimization Techniques
for SAP Database Migration
and Unicode Conversion
Advanced migration techniques
Optimization strategies
Best practices
Andreas Christian
Waldemar Gaida
Hans-Jürgen Moldowan
Thomas Rech
438593452.001.png 438593452.002.png
International Technical Support Organization
DB2 Optimization Techniques for SAP Database
Migration and Unicode Conversion
August 2009
SG24-7774-00
438593452.003.png
Note: Before using this information and the product it supports, read the information in
“Notices” on page ix.
First Edition (August 2009)
This edition applies to DB2 UDB Versions 9.1 and 9.5 and SAP Kernel Release 6.40 and 7.x.
© Copyright International Business Machines Corporation 2009. Allrights reserved.
Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP
Schedule Contract with IBM Corp.
 
Contents
Notices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix
Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
The team that wrote this book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Become a published author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Comments welcome . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Chapter 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Methods outside the scope of this book . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Heterogeneous system copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Unicode conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2. Migration essentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Database export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.1 Unsorted export. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.2 Package splitter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1.3 Export server scenarios: Local or remote . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Advanced migration techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.1 Socket option . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.2 Table splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 DB2 layout and configuration options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.3.1 Table space principles and configuration . . . . . . . . . . . . . . . . . . . . . 11
2.3.2 Logging configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4 Database import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.4.1 Import optimization techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.4.2 DB2 row compression based on R3load 6.40 . . . . . . . . . . . . . . . . . . 14
2.4.3 DB2 row compression based on R3load 7.00 . . . . . . . . . . . . . . . . . . 14
2.4.4 Collecting statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.5 SAP NetWeaver BW migrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 3. Tools overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1 SAPInst and R3SETUP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2 R3load, R3szchk, and R3ldctl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.1 R3load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.2.2 R3ldctl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2.3 R3szchk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.3 Migration monitor: MigMon . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
© Copyright IBM Corp. 2009. All rights reserved.
iii
Zgłoś jeśli naruszono regulamin