+ All Categories
Home > Documents > ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

Date post: 21-Nov-2014
Category:
Upload: databaseguys
View: 1,047 times
Download: 11 times
Share this document with a friend
Description:
 
39
ZP04 DB2 9.7 LUW for SAP: The Success Story Continues Joachim Pfefferle, SAP Canada Michael Gao, IBM Canada Arndt Effern, SAP AG November 2009
Transcript
Page 1: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

ZP04

DB2 9.7 LUW for SAP:The Success Story Continues

Joachim Pfefferle, SAP CanadaMichael Gao, IBM Canada

Arndt Effern, SAP AG

November 2009

Page 2: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 2

Disclaimer

The information in this presentation is confidential and proprietary to SAP and may not bedisclosed without the permission of SAP. This presentation is not subject to your licenseagreement or any other service or subscription agreement with SAP. SAP has no obligation topursue any course of business outlined in this document or any related presentation, or todevelop or release any functionality mentioned therein. This document, or any relatedpresentation and SAP's strategy and possible future developments, products and or platformsdirections and functionality are all subject to change and may be changed by SAP at any timefor any reason without notice. The information on this document is not a commitment, promiseor legal obligation to deliver any material, code or functionality. This document is providedwithout a warranty of any kind, either express or implied, including but not limited to, the impliedwarranties of merchantability, fitness for a particular purpose, or non-infringement. Thisdocument is for informational purposes and may not be incorporated into a contract. SAPassumes no responsibility for errors or omissions in this document, except if such damageswere caused by SAP intentionally or grossly negligent.

All forward-looking statements are subject to various risks and uncertainties that could causeactual results to differ materially from expectations. Readers are cautioned not to place unduereliance on these forward-looking statements, which speak only as of their dates, and theyshould not be relied upon in making purchasing decisions.

Page 3: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 3

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 4: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 4

PartnershipJoint SAP and IBM teams working on all levels of the product

Product IntegrationOne product, one maintenance strategy, one-stop service

Technology InnovationJoint technology roadmap beyond 2010

SAP runs DB2SAP is a very satisfied DB2 customer

The four pillars of „DB2 Optimized for SAP“:

DB2 Optimized for SAP Initiative

Page 5: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 5

2005

2Q/05 NW 2004Streamlined installStreamlined adminInitial BI MDC expl.Auto storage EE

Version 8.2.2Automatic storage adminDeployment optimized for SAPTailored concurrency & perf improvements

1Q/07 NW 7.0Embedded databaseUnlimited scalabilityMinimal adminTCO (reduced storagecosts, self tuning)

Version 9.1Storage limits removedNear-0 admin

MemoryStorage

Selected Autonomic / TCO featuresCompression

2Q/08 NW 7.0 SR33Q/08 NW 7.0 EhP 1

Turn-key HA solutionPerf & TCO differentiators (MDC)Turn-key compressionPerformance WarehouseIntegrated Workload ManagementIntegrated MDC advisorDeferred Table Creation

Version 9.5Integrated & automatic HADRIntegrated Flash CopyTCO improvements

DPFMemory ManagementStatistics ManagementCompression

Perf improvements (eg MDC)Threaded ArchitectureDPF Scaling Improvements

2006

2007

2008

2009

20102010 based on NW 7.0

Integrated Nearline StorageTop-Down, Revamped MonitoringSignificant BI query performanceboostImproved MDC Advisory

Version 9.7360° MonitoringEven Deeper Deep Compression

40+% reduction in Indexes40+% reduction in TempsCompressed LOBs

Near-0 Storage AdminSimple MDC space reclaimEasy table space reclamationEase the path to Automatic Storage

Extending Online OperationsChange schema definitions onlineReorganization improvements

Extending Integrated HA+DR OS coverageBI query performance boost

DB2 Optimized for SAP Initiative

Page 6: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 6

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 7: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 7

DB2 9.7 Features for SAP

Version 8.2.2Version 8.2.2 Version 9.1Version 9.1 Version 9.5Version 9.5 Version 9.7Version 9.7

Deployment,Configuration,Administration

TCO reduction

BI & QueryPerformance

Supportability,Backup &Recovery, HA

SAP tuner (DB2_WORKLOAD =SAP)Automatic storage (single node)Auto extend DMS tablespacesUniform page-size

Silent Install (Windows)

MDC roll out – stage 1MDC roll inIndex heuristicsConcurrency enhancementsUniform page-size

Complete deadlock analysisOne-shot optimizer service toolOptimization guidelines

Silent install (Unix)Multiple DB2 deployments on thesame machineOne DB2 image serves all: Install,upgrade, patchInstallation free clientLarger index key partsLarger index names

Automatic configuration:IO cleaner, serverSelf tuning database globalmemoryDeep compressionAutomatic storage for DPF

SAP BI Optimizer enhancementsSort capacity cap

Resumable recoverRedirected restore script frombackup imageSQL access to list of required filesfor flash copyPre-packaged HA solution(2 node fail over)

Easy fixpack deploymentSA MP bundled and installed withDB2 on AIX and LINUX

Simplified configuration by multithreaded architectureAdvanced Memory Management :Automation for all memory areasAutomatic dictionary creation fordeep compressionSimpler space reclaim forautomatic storage and regularDMS

Real Time StatisticsImproved MDC roll out for fastdeletionAdvanced DPF MonitoringParallel index creation

HA Cluster Manager IntegrationAutomatic Backup/Log RetentionManagementSingle system view backup forDPF databasesEnhanced Backup using FlashCopy

TEMP table compressionIndex compressionMigration to Automatic StorageAutomatic MDC space reclaimLOB inlining (with compression)Support for LONG->LOB transition

Online REORG improvementsOnline Table MoveTablespace capacity increaseCompression support for replicatedtablesTablespace space reclaim belowHWM

Enhanced MonitoringDiagnostics improvements

Starjoin query improvementsDPF costing improvementsScan Sharing

Page 8: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 8

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 9: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 9

Index RID-List Compression

Index Prefix CompressionBBB

AAB

AAA

RIDsKey Value

CREATEINDEX I ON T (F VARCHAR(3) )

Index Page

0001

0002

0003

0005

0007

0008

0009

BBB

AAB

AAA

RIDsKey Value

0001

1

2

0005

2

0008

1

Index Pagewith RID List Compression

0008

0007

0006

0005

0003

0002

0001

RIDsKey Value

CREATE UNIQUEINDEX I ON T (F VARCHAR(3) )

Index Page

AAA

AAB

AAC

AAD

BBA

BBB

BBC

Index Pagewith Prefix Compression

0008

0007

0006

0005

0003

0002

0001

RIDsKey Value

AAA

B

C

D

BBA

B

C

DB2 Index CompressionIs a transparent feature of the DB2engine*Reduces index size of a SAP system by40% and moreReduces I/O data transfer and increasebuffer pool hit ratio of a SAP systemWorks for unique indexes andsecondary indexes as wellIs fully supported for all SAP releasesin standard and extended maintenance(>= 4.6D )Is default for tables with that are DB2row compressed*Is covered by the SAP OEM license forDB2 at no extra costs

* an index reorganization is required to compress existing indexes

DB2 9.7 Features for SAP –Index Compression (1)

Page 10: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 10

DB2 9.7 Features for SAP –Index Compression (2)

DB2 9.7 EarlyCustomer

DatabaseSize

Data CompressionRatio

Index CompressionRatio

Total DatabaseSaving

World leadingconstruction machinerymanufacturer, USA

725MB 72% 49% 68%

Global consumer andcommercial productmarketer, USA

1.4TB 58% 49% 56%

Haier Group, China -- -- 52% --

John Deere, China -- -- 58% --

Insurance Company,Germany

176GB -- 50% --

T-Systems, Germany 500GB 60% 73% 65%

Medical technologiescompany, USA

3.6TB -- 65% --

ERP Systems

BW Systems

With DB2 Compression you can reduce the sizeof your SAP system by 50% and more

DB2 Index and Row Compression Savings with RealCustomer Data

Page 11: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 11

DB2 9.7 Features for SAP –Index Compression (3)

GAFP1

Update 1

Update 2

Update 3Update 4

0

500

1000

1500

2000

2500

3000

Tim

e

DB2 9.7 Index compression GA/FP1

Update 1Update 2Update 3Update 4

CPU Utilization of Updates with Ixcomp

11.67

13.51

14.38

12.85

18.28

18.50

18.56

19.23

0.96

0.91

2.16

0.98

0.79

0.50

0.55

0.68

69.14

68.21

65.15

67.45

63.88

65.64

65.00

63.93

18.14

17.44

17.78

18.85

17.02

15.25

15.77

16.07

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Update1 no ixcomp

Update2 no ixcomp

Update3 no ixcomp

Update4 no ixcomp

Update1 with ixcomp

Update2 with ixcomp

Update3 with ixcomp

Update4 with ixcomp

user system idle i/o wait

CPU Utilization of Deletes with Ixcomp

9.95

10.41

9.95

9.69

11.25

13.85

14

14.01

1.18

1.22

1.40

1.18

0.84

1.44

1.19

1.17

66.91

69.35

68.57

66.13

67.25

67.39

68.12

65.46

22.08

19.10

20.32

23.14

20.69

17.47

16.91

19.56

0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%

Delete1 no ixcomp

Delete2 no ixcomp

Delete3 no ixcomp

Delete4 no ixcomp

Delete1 with ixcomp

Delete2 with ixcomp

Delete3 with ixcomp

Delete4 with ixcomp

user system idle i/o wait

Performance improvementbetween DB2 9.7 GA an FP1Running four Update testsOn FP1 we have an average of 59%performance gain

CPU utilization on FP1Update tests (4 – 7% overhead)Delete tests (3 – 5% overhead)

Page 12: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 12

DB2 Temp Table CompressionIs a transparent feature of the DB2 engineReduce the amount of temporary disk space requiredWorks like DB2 Row Compression for large temporarytablesImproves query performance with large sort operations:

Reduces I/O data transfer for large sortsMore sorts can be processed in bufferpool

Is fully supported for all SAP releasesin standard and extended maintenance (>= 4.6D)Is default for SAP systemsIs covered by the SAP OEM license for DB2 at no extracosts

Table

Order By Order By

Temp Table Temp

Compression Dictionary

UncompressedRecords

CompressedRecords

x’01C‘

……..

Canada Ontario Toronto

….. …

WalldorfToronto2 Ontario MillerCanada

WalldorfToronto1 Ontario SmithCanada

1 x’01C‘ Smith

2 x’01C‘ Miller

DB2 9.7 Features for SAP –Temp Table Compression

Page 13: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 13

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 14: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 14

2K Byte

4

3

2

1

C1I

252BCREATE TABLE T1

( I INTEGER,C1 CLOB(1G) )

1K Byte

LOB Data PageTable Data PageDDL Statement

LOB Data PageTable Data PageDDL Statement

1K Byte

2K Byte

4

3

2

1

C1I

252B

CREATE TABLE T1

( I INTEGER,C1 CLOB(1G) )

DB2 LOB InliningIs a transparent feature of the DB2engine*Reduces LOB space in a SAP systemAllows buffering and compression ofLOB fieldsAccelerates access of small LOB fieldsand improves query performanceIs fully supported for all SAP releasesin standard and extended maintenance(>= 4.6D)Is default for SAP systems*

* a table reorganization/move is required to inline existing LOB fileds

DB2 9.7 Features for SAP –LOB Inlining

Page 15: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 15

DB2 9.7 Features for SAP –LOB Inlining with Compression

The total savings for the table (data+ LOBs) has increased from20% with data compression to 93% after inlining and compressionin the first case and from 7% to 82% in the second case.

SEOCOMPODF

0

200000

400000

600000

Size

in K

B

LOBs 390912 390912 2656

DATA 146656 38304 32448

1 2 3

APQD

0

50000

100000

150000

Size

in K

B

LOBs 112320 112320 19072

DATA 12480 3712 3840

1 2 3

Page 16: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 16

More LOBs will be used in future SAP releasesDB2 Migration from LONG to LOB data type

More LOBs are used by applications

ABAP DDICType

Non-Unicode

Bytes in datapage Unicode Bytes in data

page

LCHR CLOB(32K)LOGGED 120 CLOB(99K)

LOGGED 144

LRAW BLOB(32K)LOGGED 120 BLOB(32K)

LOGGED 120

STRG CLOB(1G)LOGGED 252 DBCLOB(512M)

LOGGED 252

RSTR BLOB(1G)LOGGED 252 BLOB(1G)

LOGGED 252

DB2 LOB Data Types as used with SAP

DB2 9.7 Features for SAP –LOB Inlining

Page 17: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 17

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 18: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 18

BBB

AAB

AAA

RIDsKey Value

Index Page

0001

0006

0003

0002

0004

0005

0009

0001

0002

0003

0004

0005

0006

Tablespace

BBB

AAB

AAA

OR RIDsKey Value

Index Page

0001

0002

0003

0004

0005

0006

0007

0001

0002

0003

0004

0005

0006

TablespaceRIDsOR RIDs

EMP Page

0001

0006

0003

0002

0004

0005

0009

0001

0002

0003

0004

0005

0006

0007

Normal DMS and AS TablespacesRIDs are pointing directly to datapagesMoving of data pages online withintablespace is impossible

Reclaimable DMS and AS TablespacesObject relative RIDs are pointing to EMPpages. Only EMP pages contain thephysical address of data pages.Moving of data pages online within atablespace is now possible.Fully supported by SAP’s DBA cockpitReclaimable tablespaces are default*

*existing tablespaces cannot be altered to be reclaimable

DB2 9.7 Features for SAP –Improved Space Reclamation

Page 19: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 19

CREATE DATABASE testdbCREATE TABLESPACE ts MANAGED BYAUTOMATIC STORAGECREATE TABLE t1(key int) IN tsCREATE TABLE t2 LIKE t1 IN tsCREATE TABLE t3 LIKE t1 IN ts

// Populate tables with records to achieveextent usage

DROP TABLE t1 // extents in FREE stateDROP TABLE t3 // extents in FREE state

ALTER TABLESPACE ts REDUCE MAX

Automatic Storage TablespacesALTER TABLESPACE <tsname> REDUCE [ <size>| MAX | STOP ]

DMS TablespacesALTER TABLESPACE <tsname> LOWER HIGH WATER MARK [ STOP ]ALTER TABLESPACE <tsname> REDUCE …

DropTable 1&3

Move

Extents

MoveExtents

MoveExtents

HWM

HWM

Step3 Step1Step2

HWM

DB2 9.7 Features for SAP –Improved Space Reclamation

LegendObject 1 FreeObject 2 TBSObject 3

Page 20: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 20

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 21: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 21

DB2 Automatic Storage (AS)Fully integrated into SAP installation and DBA CockpitGreatly reduce the effort of database administrationMore flexibility with DB2 9.7

DB2 9.7 New FeaturesAdd new AS paths to non AS Databases

ALTER DATABASE <dbname> ADD STORAGE ON<path1>, <path2> …Easy drop of existing AS paths, which are not used anymore for future database growing

ALTER DATABASE <dbname> DROP STORAGE ON<path1>, <path2> …

State of storage path changed: “In Use” “Drop Pending”Future growth on dropped paths will not occurEach affected tablespace must be rebalanced beforedropped path can be removed.

Start data rebalancing (online) to move existing data to the newAS paths

ALTER TABLESPACE <tsname> REBALANCE

DB2 9.7 Features for SAP –Enhanced Automatic Storage (1)

Page 22: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 22

DB2 9.7 Features for SAP –Enhanced Automatic Storage (2)

ALTER DATABASE<dbname> ADDSTORAGE ON<path1>, <path2> …

ALTER DATABASE<dbname> ADDSTORAGE ON<path1>, <path2> …

ALTER DATABASE<dbname> DROPSTORAGE ON<path1>, <path2> …

Firststripe set

Secondstripe

set

ExistingPaths

Path BeingAdded

C0 C1

C2 C3

C0 C1

C2 C3

C4

C5

/path1

/path2

/path3

/path1

/path2

/path3

Reb

alan

ce

Firststripe

set

ExistingPaths

Paths BeingAdded

C0 C1

Path BeingDropped

C0 C2 C3

/path1 /path2 /path3 /path1 /path3 /path4/path4

Reb

alan

ce

Page 23: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 23

Migration DMS Tablespaces to Automatic Storage (AS)

Enable AS for the database, if it is a non AS databaseALTER DATABASE <dbname> ADD STORAGE ON <path1>, <path2> …

Alternative 1: Use „Redirect Restore“ (offline operation)RESTORE DB <dbname> REDIRECTFor all tablespaces, which should be migrated to AS:SET TABLESPACE CONTAINERS FOR <tsnameID> USING AUTOMATIC STORAGERESTORE <dbname> CONTINUE

Alternative 2: Assign existing DMS tablespace to AS (online operation)ALTER TABLESPACE <tsname> MANAGED BY AUTOMATIC STORAGEALTER TABLESPACE <tsname> REBALANCEFully integrated into SAP’s DBA Cockpit

DB2 9.7 Features for SAP –Enhanced Automatic Storage (3)

Page 24: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 24

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 25: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 25

Enhanced DB2 9.7 Monitoring –New Database Features with GA and FP1

New „Time Spent“ monitorNew metrics for wait times, component times and countersimplemented as „light weight“ table functions on

System levelDatabaseDatabase partitionWLM Service class

Activity levelbased on SQL cache

New event monitorsLock event monitor: Deadlocks,

lock-timeouts, lock waits > x secondsPackage cache event monitorEvent monitor for UOW (not used within SAP)

New object metrics for tables, indexes (e.g. index access statistics),tablespaces, database containers (e.g. I/O read/write times), bufferpools

Lock Wait20%

SortProcessing

12%

BP Read Wait7%

BP Write Wait5%Log Write Wait

9%

CommitProcessing

7%

CompileProcessing

9%

FCM SendWait3%

FCM ReceiveWait7%

Others Wait7%

OthersProcessing

14%

z

More efficient and more powerful performance analysis and tuningLargest time consumers and wait times are easily visibleHistory for all important metricsSupport of problem-oriented performance tuning

Page 26: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 26

New monitoring features in SAP’s DBA cockpit based on DB2 9.7 GA

Planned delivery with next release of SAP Solution Managers 7.0

New DB2 UOW overview (former application monitoring)Details about coordinator agent and assigned subagentsMore details on running activities (“Time Spent” metrics)“Activity Trace” shows selected metrics for an application over time

Full integration of new object metrics

Integration of new lock event monitor including graphical display of lock waitevents

Deadlocks, lock-timeouts, lock waits > secondsSelectively switched on and off

Enhanced DB2 9.7 Monitoring –DBA Cockpit Integration (1)

Page 27: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 27

New monitoring features in SAP’s DBA cockpit based on DB2 9.7 FP1

Integration of new Package Cache Event MonitorAbility to see former execution plans for comparison

History for almost all DB2 monitoring dataLocal system for short-term history, e.g. 2 weeksSAP Performance Warehouse for long-term history

“Time Spent” metrics with sophisticate drill-down capabilities from top of detailed performancedata through interactive charts

drill-downinto

packagecache byselectedmetric

drill-downby Service

Class

Global Time-Slice drill-downby DB

PartitionLock Wait20%

SortProcessing

12%

BP Read Wait7%

BP Write Wait5%Log Write Wait

9%

CommitProcessing

7%

CompileProcessing

9%

FCM SendWait3%

FCM ReceiveWait7%

Others Wait7%

OthersProcessing

14%

z

Enhanced DB2 9.7 Monitoring –DBA Cockpit Integration (2)

Page 28: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 28

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 29: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 29

MDC Space ReclaimReorg TABLE <mdc-table-name> RECLAIM EXTENTS ONLYEasy space reclaim after data roll-out in MDC tablesCan be part of automated maintenance policyFully integrated into SAP’s DBA cockpit

SAP NetWeaver BW performance improvementsScan SharingStar join query improvementsDPF costing improvements

Compression support for replicated tablesImportant for SAP internal CRM system, which replicates data to anothersystem used for further BI analysis.

Other DB2 9.7 Features

Page 30: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 30

Other DB2 9.7 Features -Increased Tablespace Capacity

Large table space capacity increased by a factor of four

Current large table spaces will automatically adopt this feature aftermoving to 9.7

Page Size Existing TBS size limit New TBS size limit

4KB 2TB 8TB

8KB 4TB 16TB

16KB 8TB 32TB

32KB 16TB 64TB

Page 31: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 31

Agenda

1. DB2 Optimized for SAP Initiative

2. DB2 9.7 Features for SAPMore CompressionLOB InliningImproved Space ReclamationSimplified Migration to Automatic StorageEnhanced MonitoringOther DB2 9.7 Features

3. SAP BW / DB2 Near-Line Storage

Page 32: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 32

Information Lifecycle according to data importance/age

Onl

ine

BW

Dat

a

Data-Archive(SAP ADK)

Near-Line StorageD

ata

Arc

hivi

ngPr

oces

s

Frequently read/ changeddata (actual)

Very rarely read data(aged)

Infrequently read data

Classic ArchiveNear-Line Storage =“Near Online” StorageOnline Database

Benefits of Near-Line StorageReduce size of your online BW databaseImprove performance of the online database: BW queries,ETL processing and administration tasksReduce costs of your SAP NetWeaver BW solution

Legend:optimal data locationtolerable data locationunacceptable data location

SAP NetWeaver BW Near-Line Storage on DB2- Motivation

Page 33: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 33

SAP NetWeaver BW Near-Line Storage on DB2– Technical Details

SAP NW BW Nearline Storage (NLS)Interface

Request based data transfer between BWOnline Database and Nearline Storage

Transparent access to NLS data withBW QueriesData Transfer Process (DTP)

Supported BW objects:InfoCubesData Store Objects (DSOs)

DB2 specific NLS implementationStore NLS data in a separate DB2 database

NLS access via ABAP second connection

Defaults for DB2 / NLS database:Automatic Storage

Self Tuning Memory ManagementRow Compression + Index compression (DB29.7)Multi Dimensional Clustering (MDC)

BW DatabaseOnline Data

InfoCube200920082007

DSO2009200820072006

InfoCube2006200520042003

DSO200520042003

DBMSTREX

DB InterfaceLayer

Relational DBInterface

BI Data Manager

General NLSInterface

NLS / DB2 LUWInterface

BI OLAP

DBMSTREX

SAP NetWeaver BW

DB InterfaceLayer

Relational DBInterface

General NearlineStorage Interface

DB2 / NearlineStorage Interface

BI OLAP

Near-Line StorageDB2 Database

ABAP second connection

Page 34: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 34

SAP NetWeaver BW Near-Line Storage on DB2– Integrated Solution

Delivery planned with SAPNetWeaver BW with 7.01 SP6 andDB2 9.5

Administration and monitoring of theNLS database (remote db) fullyintegrated into DBA cockpit

Set-up of NLS database integratedinto SAP’s installation tool

“One stop” support for BW and NLSdatabase

Based on proven DB2 technology

Included in SAP DB2 OEM licenseat no extra cost

Near-LineStorage

DB2Database

DB2/NLS can also be used forSAP NetWeaver BW systemson other database platforms *

* DB2 license needed

Page 35: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 35

Virtual SAP TechEd :Extend your SAP TechEd Year Round

Best of SAP TechEd at Your fingertipsView sessions that you missedReplay and review sessions that youattended

Quality SAP TechEd TrainingBest PracticesProduct Roadmaps

Learn at your own paceGain Access to sessions recorded in2006, 2007, 2008 and2009* (*available December 2009)24/7 Access online/offlineFlexible Course Syllabus

Volume LicensingSpecial Pricing for multiple subscribers

http://www.sdn.sap.com/irj/scn/virtualteched-allsessions

Page 36: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 36

Further Information

Related Workshops/Lectures at SAP TechEd 2009ALM203, The all new SAP Database Performance Warehouse

SAP Public Web:SAP Developer Network (SDN): https://www.sdn.sap.com/irj/sdn/db6Discussion Forum: https://www.sdn.sap.com/irj/sdn/forum?forumID=187

Page 37: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

Thank You!

Page 38: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

ContactFeedback

Please complete your session evaluation.

Be courteous — deposit your trash,and do not take the handouts for the following session.

Page 39: ALM202 DB2 9.7 LUW for SAP: The Success Story Continues

© SAP AG 2009. All rights reserved. / Page 39

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained hereinmay be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries,eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+,POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex,MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or othercountries.

Oracle is a registered trademark of Oracle Corporation.

UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.

HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

Java is a registered trademark of Sun Microsystems, Inc.

JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and services mentioned herein as well as their respectivelogos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products andservices mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects S.A. in the United States and in other countries.Business Objects is an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only.National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only,without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Groupproducts and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construedas constituting an additional warrant.

Copyright 2009 SAP AGAll Rights Reserved


Recommended