Download SAP on IBM DB2 10.5

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Database wikipedia , lookup

Clusterpoint wikipedia , lookup

Relational model wikipedia , lookup

Open Database Connectivity wikipedia , lookup

SQL wikipedia , lookup

Database model wikipedia , lookup

IBM Notes wikipedia , lookup

SAP IQ wikipedia , lookup

Transcript
IBM IOD 2012
5/19/2015
Mai, 2015
SAP on IBM DB2 10.5 - What is new?
Brigitte Bläser ([email protected])
SAP on DB2 for LUW Development
IBM Boeblingen Lab, Germany
© 2015 IBM Corporation
SAP on IBM DB2 10.5 – What is new?
Please Note
• IBM’s statements regarding its plans, directions, and intent are subject to change or
withdrawal without notice at IBM’s sole discretion.
• Information regarding potential future products is intended to outline our general
product direction and it should not be relied on in making a purchasing decision.
• The information mentioned regarding potential future products is not a commitment,
promise, or legal obligation to deliver any material, code or functionality. Information
about potential future products may not be incorporated into any contract.
• The development, release, and timing of any future features or functionality described
for our products remains at our sole discretion.
Performance is based on measurements and projections using standard IBM benchmarks
in a controlled environment. The actual throughput or performance that any user will
experience will vary depending upon many factors, including considerations such as
the amount of multiprogramming in the user’s job stream, the I/O configuration, the
storage configuration, and the workload processed. Therefore, no assurance can be
given that an individual user will achieve results similar to those stated here.
2
Drury Design Dynamics
1
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Acknowledgements and Disclaimers
Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in
which IBM operates.
The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for
informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant.
While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided AS-IS without
warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this
presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or
representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use
of IBM software.
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have
achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to,
nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other
results.
© Copyright IBM Corporation 2014. All rights reserved.
—
U.S. Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
IBM, the IBM logo, ibm.com, DB2 and AIX are trademarks or registered trademarks of International Business Machines Corporation in the United
States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a
trademark symbol (® or TM), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was
published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on
the Web at
•“Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml
•SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for
additional trademark information and notices.
•Other company, product, or service names may be trademarks or service marks of others.
3
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 10.5 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
4
Drury Design Dynamics
2
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
5
SAP on IBM DB2 10.5 – What is new?
DB2 Optimized for SAP: Recent Enhancements
•
The use of DB2 10.5 is supported for applications based
on SAP NetWeaver 7.0 and higher (SAP Note1851853)
•
SAP support of DB2 10.5 since August 9. 2013
MPP-optimized DSO
activation for DB2 DPF
Integrated Nearline Storage
Separation of duties
Top-Down, Revamped
ERP partitioning
Monitoring
engine
Next generation DBA Cockpit
Improved End-To-End Support Integrated HA for SAP
Database Performance
Graceful maintenance
Warehouse
Integrated Workload
Management
Initial integration of DB2
pureScale
MDC Advisor Stage 2
Turn-key HA solution
Turn-key compression
Integrated MDC advisor
Deferred Table Creation
Embedded install
Reduced storage
costs
Enhanced DBA
Cockpit
Self tuning
Minimal admin
Streamlined install
Streamlined
admin
Version 9.5
Version 9.1
Version 8.2.2
Integrated & automatic
HA+DR
Integrated Flash Copy
Storage limits
Threaded Architecture
removed
DPF Scaling
Autonomic /
Improvements
TCO features
Compression
Automatic storage
Deployment optimized for SAP
2014
2013
2011
DB2 10.5
2010
DB2 9.8
pureScale
2009
2008
BLU for InfoCube
BLU for BW NLS
Convergent
Charging on DB2
Full SAP GUI
DBA Cockpit
coverage
2012
DB2 10.1
2007
2006
2005
Multi-temperature
management
Deep integration of DB2
pureScale
Seamless space
reclamation
Identity Management with
DB2
Cloud readiness
Exploitation of SoH
optimizations on DB2
De-clustering and depooling
BLU for Master
Data, DSOs, Flat
InfoCube, PSA
Faster ETL on BLU
tables
Function pushdown via SAP CDS
Version 9.7
Deeper Deep Compression
o40+% reduction in Indexes
o40+% reduction in Temps
oCompressed LOBs
Continuous
availability
Seamless OS and
hardware maintenance
OLTP scale out
Near-0 Storage Admin
• Sparse MDC tables for simple space reclaim
• Easy table space reclamation
• Ease the path to Automatic Storage
Extending Online Operations
• Change schema definitions online
• Reorganization improvements
Full 360° Monitoring
2 X warehouse
performance improvement
Adaptive compression
Extended multi core
support
No touch space
reclamation
Geographically dispersed
pureScale cluster
Multiple temperature
storage
Multiple standby with time
delay
Extended transparent fail
over
Factors improvement
DB2 10.5 Cancun
in performance and
columnar compression Faster Insert/Update/
with BLU acceleration Delete on BLU
Online rolling
Faster SELECTs on
updates
Comprehensive DR BLU
HADR for BLU
solution pureScale
Improved compression
REORG-free
database
pureScale TCP/IP
Hardware-agnostic (sockets) interconnect
integrated flash copy
POWER8 exploitation
DB2 Native Encryption
6
Drury Design Dynamics
3
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 Version Support with NW 7.40
With SAP NetWeaver 7.40 SP08, SAP introduced rich new functions with DB2, e.g.
• New ABAP Open SQL language elements
• Core Data Services (CDS)
To support these features, DB2 10.5 is required as of NW 7.40 SP8 and higher
NW 7.40 Support Packages
NW 7.40
Kernel 7.40
SP 1
SP 5
...
Kernel 7.41
SP 6
SP 7
SP 8
Kernel 7.42
SP 9
SP 10
...
Supported DB2 Releases
DB2 9.7 and higher
DB2 10.5 and higher
See also: 1914052 - NetWeaver 7.40 Database Dependencies
7
SAP on IBM DB2 10.5 – What is new?
Agenda
• DB2 Optimizations for SAP - Overview
• Database Performance Optimizations for SAP Business
Suite
• Use of DB2 Parallel Processing for SAP OLTP Applications
• Enhancements in DBA Cockpit
• DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
• DB2 10.5 Cancun Non-BLU Highlights for SAP
• DB2 10.5 BLU Integration into SAP BW
• Extending DB2 BLU Support
• More Information
8
Drury Design Dynamics
4
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
A Paradigm Change in SAP Application Programming
Data-To-Code:
Intensive
computations
in APPLICATION
layer
<code>
Code-To-Data:
Intensive
computations
in DATABASE
layer
From Classic Approach
To Data Centric Approach
• Avoid costly computation on
database level
• Transfer data to application server
and compute there
• Get the algorithm to the data
• Only transfer computation results to
the application server
9
SAP on IBM DB2 10.5 – What is new?
Data-Centric Approach: Implementation Flavors
Business Suite
Applications
Database-independent implementation
One common code for all supported
databases
Based on Open SQL and ABAP Core
Data Services (ABAP CDS)
DB-specific
implementation
DB-independent
implementation
Database-specific implementation
Open SQL
Native SQL
Core Data
Services
DB2 CLI
Used where non-standard features are
required
Exploit native SQL
Require database-specific code (porting)
DB2
10
Drury Design Dynamics
5
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Database-Specific Optimizations Available with DB2
Examples of SAP ERP modules and
business functions with DB2 optimizations
•
•
•
•
•
•
Sales and Distribution
Materials Management
SAP Treasurey and Risk Management
Customer payment history
Stock consistency check
Stock and posting date
SAP Note 1835008 - Database Performance Optimizations for SAP ERP
11
SAP on IBM DB2 10.5 – What is new?
Declustering and Depooling for SAP Business Suite
Optimizations (1)
• SAP table pools and table clusters store information from several
application tables efficiently in one database table.
• For both table types, table data is encoded and compressed by
the SAP kernel.
Logical Tables
Table Pool
Tabname Varkey
...
Tab1 KEY1 KEY2 DATA1
Vardata
Tab1
key1 | key2 data1
Tab2
keyA
dataA | dataB
Tab2
keyB
dataC | dataD
Tab1
key3 | key4 data2
data1
key3 key4
data2
Tab2 KEY1 DATA1 DATA2
keyA dataA
dataB
keyB dataC
dataD
Tab3 KEY1 KEY2 DATA1 DATA2
Table Cluster
Key
key1 key2
Page Vardata
No
key1 key2
data1
data2
...
key1 | key2
0
data1 | data2 | key3
key1 | key2
1
dataA | key4 | dataB
Tab4 KEY1 KEY2
key1
key2
KEY3
key3
DATA1
dataA
key1
key2
key4
dataB
12
Drury Design Dynamics
6
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Declustering and Depooling for SAP Business Suite
Optimizations (2)
• Some Business Suite optimizations can only be used if pool and cluster tables
are converted to transparent tables
• Conversion to transparent tables is described in SAP Note 1892354
Installation support for SAP NW 7.40 SP5 and higher
Migration/System Copy support for SAP NW 7.40 SP3 and higher
• Recommendation: Use DB2 10.5 or higher with adaptive compression and
index compression.
Benefit: Allows aggregation on the database layer with DB2 parallel processing.
Examples in SAP Note 1835008.
13
SAP on IBM DB2 10.5 – What is new?
NW 7.40 ABAP Open SQL Enhancements
SAP NW 7.40 SP08
Business
Suite
Business
Suite
Applications
Applications
Extended Reach of Open SQL
Significant enhancements in Open SQL
Provides richer abstraction layers
Reduces need for native optimizations on
application level
Examples
Extended JOIN-support (ON condition, RIGHT
OUTER JOIN)
Support of Literals in SELECT list
Open SQL
Open SQL
Aggregation (SUM, MIN, MAX, AVG, COUNT)
„Simple“ CASE expressions
CAST to SAP DDIC Types
Arithmetic Expressions („-“, „+“, „*“)
DB2
DB2
...
14
Drury Design Dynamics
7
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
ABAP Core Data Services (CDS)
Next generation data definition and access for
database centric applications
Business Suite
Applications
Cross-platform unified abstraction layer, similar to OData
for UI abstraction
Maximum transparency for different programing models
Fully integrated with platform lifecycle- management
DB-independent
implementation
Simplified consumption of relational data models by
application developers
Open SQL
Scope SAP NW 7.40 SP8
Core Data
Services
CDS Views
DB2 CLI
DB2 implementation with DB2 SQL Views
CDS Views with parameters
DB2 implementation with DB2 Inline Table Functions
DB2
CDS Scalar functions
Examples: Currency Conversion, Unit Conversion
DB2 implementation with DB2 Functions
15
SAP on IBM DB2 10.5 – What is new?
CDS View Example
Annotations
SELECT
statement
WHERE clause
@AbapCatalog.sqlViewName: 'ZBSR_CDS_TEST1'
SQL view name
DEFINE VIEW zbsr_selective_flights AS
SELECT FROM sflight
CDS view name
LEFT OUTER JOIN spfli
ON sflight.carrid = spfli.carrid
AND sflight.connid = spfli.connid
{
sflight.carrid,
sflight.connid
}
WHERE sflight.carrid = 'LH'
Joins with ON
conditions
Select list
UNION
SELECT FROM sflight
{
sflight.carrid,
sflight.connid
}
WHERE sflight.carrid = 'SQ'
16
Drury Design Dynamics
8
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
CDS View Creation in ABAP in Eclipse
17
SAP on IBM DB2 10.5 – What is new?
Traditional SE11: Only Limited Information Available
18
Drury Design Dynamics
9
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Using a CDS View in ABAP Open SQL
REPORT ZBSR_SIMPLE.
DATA:
s_some_flights TYPE zbsr_selective_flights,
t_some_flights TYPE TABLE OF zbsr_selective_flights.
SELECT * FROM zbsr_selective_flights INTO TABLE @t_some_flights.
LOOP AT t_some_flights INTO s_some_flights.
WRITE: /
s_some_flights-CARRID,
s_some_flights-CONNID.
ENDLOOP.
EXIT.
19
SAP on IBM DB2 10.5 – What is new?
CDS View Representation in DB2
db2 "SELECT TEXT FROM SYSCAT.VIEWS WHERE VIEWNAME = 'ZBSR_CDS_TEST1'"
CREATE VIEW "ZBSR_CDS_TEST1" AS
SELECT "SFLIGHT"."MANDT" AS "MANDT",
"SFLIGHT"."CARRID",
"SFLIGHT"."CONNID"
FROM "SFLIGHT" "SFLIGHT"
LEFT OUTER JOIN "SPFLI" "SPFLI"
ON ( "SFLIGHT"."CARRID" = "SPFLI"."CARRID" AND
"SFLIGHT"."CONNID" = "SPFLI"."CONNID" AND
"SFLIGHT"."MANDT" = "SPFLI"."MANDT" )
WHERE "SFLIGHT"."CARRID" = 'LH'
UNION
SELECT "SFLIGHT"."MANDT" AS "MANDT",
"SFLIGHT"."CARRID",
"SFLIGHT"."CONNID"
FROM "SFLIGHT" "SFLIGHT"
WHERE "SFLIGHT"."CARRID" = 'SQ'
20
Drury Design Dynamics
10
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
CDS View With Parameters
21
SAP on IBM DB2 10.5 – What is new?
Using a CDS View With Parameters in Open SQL
REPORT ZBSR_SIMPLE_PARAM.
DATA:
s_some_flights TYPE zbsr_cds_parameters,
t_some_flights TYPE TABLE OF zbsr_cds_parameters.
SELECT * FROM zbsr_cds_parameters( p_distance_l = 1,
p_distance_o = 8000,
p_unit = 'KM' )
INTO TABLE @t_some_flights.
LOOP AT t_some_flights INTO s_some_flights.
WRITE: /
s_some_flights-CARRID,
s_some_flights-CONNID.
ENDLOOP.
EXIT.
-- Shows Warning:
The database feature
"VIEWS_WITH_PARAMETERS"
is used here.
22
Drury Design Dynamics
11
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
CDS View with Parameter: DB2 Inline Table Function
CREATE OR REPLACE FUNCTION "SAPDFR"."ZBSR_CDS_TEST2" (
IN "P_DISTANCE_L" DECIMAL(000009,000004),
"P_DISTANCE_O" DECIMAL(000009,000004),
"P_UNIT" VARCHAR(9))
RETURNS TABLE ( "MANDT" VARCHAR(9),
"CARRID" VARCHAR(9), "CONNID" VARCHAR(12),
"CITYFROM" VARCHAR(60), "CITYTO" VARCHAR(60),
"DISTANCE" DECIMAL(000009,000004), "DISTID" VARCHAR(9) )
LANGUAGE SQL READS SQL DATA NO EXTERNAL ACTION NOT DETERMINISTIC
RETURN SELECT "SPFLI"."MANDT" AS "MANDT",
"SPFLI"."CARRID",
"SPFLI"."CONNID",
"SPFLI"."CITYFROM", "SPFLI"."CITYTO",
"SPFLI"."DISTANCE", "SPFLI"."DISTID"
FROM "SPFLI" "SPFLI"
WHERE ( "SPFLI"."DISTID" = "ZBSR_CDS_TEST2"."P_UNIT"
AND ( "SPFLI"."DISTANCE" >= "ZBSR_CDS_TEST2"."P_DISTANCE_L"
AND "SPFLI"."DISTANCE" <= "ZBSR_CDS_TEST2"."P_DISTANCE_O" ) )
23
SAP on IBM DB2 10.5 – What is new?
Core Data Services: SAP-Specific Functions in DB2
• As of NW 7.40 SP8, DB2 scalar functions are available:
Contain SAP-specific logic
Allow to push down SAP application logic to DB2 database level
• Beneficial for SQL statements containing aggregates
• Available with 7.40 SP8:
SAP Unit Conversion
SAP Currency Conversion
• Without those functions such calculations were only possible on
application server level
24
Drury Design Dynamics
12
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Use of UNIT_CONVERSION in a CDS View
Allows aggregation in one SQL statement over table entries with different units
25
SAP on IBM DB2 10.5 – What is new?
Using a CDS View with Unit_Conversion in ABAP
Open SQL
REPORT ZBSR_UNIT_CONV.
DATA:
s_some_flights TYPE zbsr_cds_unit_conversion,
t_some_flights TYPE TABLE OF zbsr_cds_unit_conversion.
SELECT * FROM zbsr_cds_unit_conversion INTO TABLE @t_some_flights.
...
EXIT.
Original distance,
original unit
Converted distance,
unit: km
26
Drury Design Dynamics
13
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
CDS Unit Conversion
• ABAP class:
CL_DD_DB_VIEW_DB6->CREATE_UNIT_CNV_FUNCTION
• ABAP units are defined in table T006
• DB2 catalog entry:
db2 "SELECT SUBSTR(funcschema,1,12) AS schema, SUBSTR(funcname,1,30) AS
func FROM syscat.functions WHERE funcname='UNIT_CONVERSION' ORDER BY 1,2"
SCHEMA
FUNC
------------ -----------------------------SAPDFR
UNIT_CONVERSION
27
SAP on IBM DB2 10.5 – What is new?
Agenda
• DB2 Optimizations for SAP - Overview
• Database Performance Optimizations for SAP Business Suite
• Use of DB2 Parallel Processing for SAP OLTP
Applications
• Enhancements in DBA Cockpit
• DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
• DB2 10.5 Cancun Non-BLU Highlights for SAP
• DB2 10.5 BLU Integration into SAP BW
• Extending DB2 BLU Support
• More Information
28
Drury Design Dynamics
14
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Use of DB2 Symetric Multiprocessing (SMP)
for SAP Applications (1)
We have seen significant performance improvements with enabling of DB2 SMP
parallelism in OLTP systems, e.g. significant faster reporting queries
Business
Suite
How much Revenue by
Customer for Product x?
Open SQL
SELECT Customer,
SUM(Revenue)
FROM ce3copa, ce4copa, ...
WHERE Jahr=x and ...
GROUP BY Customer
Agent
DB2
Business
Suite
Open SQL
Coordinator
Agent
DB2
Parallel
Subagents
Tables
CE1... CE2... CE3... CE4...
Tables
CE1... CE2... CE3... CE4...
K81...
K81...
OLTP Default
OLTP with DB2 SMP processing
Much faster reporting
29
SAP on IBM DB2 10.5 – What is new?
Use of DB2 Symetric Multiprocessing (SMP)
for SAP Applications (2)
Options to enable DB2 parallel processing in SAP applications
described in SAP Note 2047006
1) Enabling DB2 SMP for the entire system
- DB2 configuration
INTRA_PARALLEL=YES
MAX_QUERYDEGREE = ANY (or a fixed value)
DFT_DEGREE = ANY
DB2 optimizer decides about DB2 SMP processing of
an SQL statement
2) Selective use of DB2 SMP Parallelism
- DB2 configuration
INTRA_PARALLEL=YES
MAX_QUERYDEGREE = ANY (or a fixed value)
DFT_DEGREE = 1
Per default, all SQL statements are processed without parallel processing
- Options to run specific SQL statements with DB2 SMP Parallelism
a) Add ABAP Open SQL hints to ABAP statements
%_HINTS DB6 '<DEGREE VALUE=''ANY'' />’
b) Use SAP optimization profiles described in SAP Note 1818503
- No SAP application changes are needed.
- SAP DB2 database layer adds automatically the DB2 guideline
“DEGREE VALUE = ANY” to the qualifying SQL statements
30
Drury Design Dynamics
15
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 Optimizations for SAP Profitability Analysis
(CO-PA) (1)
• SAP COPA is an SAP ERP module for reporting sales and profit data using
different customized characteristics (such as customer, country, product) and key
figures (such as cost, price)
• SAP COPA generates complex SQL queries with large number of aggregated
rows (several 100 Million records)
• Typical SAP CO-PA table candidates for DB2 SMP parallel processing:
- Tables beginning with CE1, CE2, CE3, CE4, CEJ
- CO-PA aggregate tables beginning with K81
• Performance improvement with enabling of DB2 SMP parallelism for CO-PA
described in SAP Note 2052896
31
SAP on IBM DB2 10.5 – What is new?
DB2 Optimizations for SAP Profitability Analysis
(CO-PA) (2)
IBM Internal Performance Tests
• DB2 parallel degree increased from 1 -> 8
CO-PA reporting queries run up to factor 4x faster
• DB2 parallel degree increased from 1 -> 16
CO-PA reporting queries run up to factor 7x faster
Customer Results
CO-PA reporting qeries run
up to factor 3.8x faster
in average factor 1.8x faster
Benefit: Significant performance improvements with DB2 parallel processing
32
Drury Design Dynamics
16
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
33
SAP on IBM DB2 10.5 – What is new?
DBA Cockpit: Full SAP GUI Function and Feature
Support
• Background
Over the last years, all new function was developed for WebDynpro only
SAP GUI Cockpit was deprecated and not developed further
SAP GUI version lacked performance history, time spent analysis
• However, people still loved the deprecated SAP GUI version
Perceived performance of WebDynpro was behind SAP GUI
WebDynpro UI is not enabled by default (extra activation step needed)
Many DBAs got used to the SAP GUI version, liked it and wanted to keep it
• Consequence
In 2013/2014 SAP re-established full function and feature support for SAP
GUI version
• SAP GUI DBA Cockpit Demo
- http://scn.sap.com/docs/DOC-54267
34
Drury Design Dynamics
17
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 Time Spent analysis in SAP GUI
35
SAP on IBM DB2 10.5 – What is new?
Ported SAPGUI Screens: Layout (1)
TimeSlider
Selection
Result list
Granularity
Selection
Details
and
History
36
Drury Design Dynamics
18
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Ported SAPGUI Screens: Layout (2)
37
SAP on IBM DB2 10.5 – What is new?
DBA Cockpit : Summary of New Features in Recent
Support Packages
7.02 SP 14 (7.30 SP10, 7.31 SP9-10, 7.40 SP4-5 )
• Screen “System Configuration” : + Activation/Deactivation of Systems
• Screen “Dashboard” : new entry screen in Web Dynpro
• Screens “Compression Status” and “Compression Candidates” : changed & corrected former “Compression Status” Screen
• Screen “Automatic Maintenance Queue / RTS Requests” : new in SAP GUI
• Screen “Backup and Recovery”: highlighting of missing log files
7.02 SP 15 (7.30 SP11, 7.31 SP11-12, 7.40 SP6-7)
• Screen “Backup and Recovery”: enhanced with backup size, log volume information & graphics
• Main bulk of Web Dynpro screens ported to SAP GUI:
□ “Performance → Dashboard”, □ “.. → Time Spent Analysis”, □ “.. → Database”, □ “.. → Buffer Pools“, □ “.. → HADR”, □ “.. → Tablespaces”, □
□ “.. → Tables”, □ “.. → Applications”, □ “.. → Containers”, □ “.. → SQL Cache”, □ “.. → System Resources”, □ “.. → Transaction Log”,
□ “.. → Cluster Caching Facility”, □ “.. → Memory”,
□ “System Landscape → DB Connection Monitor”, □ “Space → Database”, □ “Jobs → Scheduled DB2 Tasks”.
7.02 SP16 (7.30 SP12, 7.31 SP13, 7.40 SP8)
• Remaining relevant Web Dynpro screens ported to SAP GUI:
□ “Workload Managament → Threshold Violations”, □ “.. → Threshold Configuration”, □ “.. → Workloads and Service Classes”,
□ “.. → SAP WLM Setup Status”, □ “Performance → Top SQL Statements”, □ “.. → Active Utilities”, □ “.. → Utility History”,
□ “Configuration → Configuration History”, □ “Diagnostics → Message History”
• Screen: “Workload Management → Threshold Configuration” : + Maximum Number of Concurrent DB Coordinator Activities
• New Screens (SAP GUI only):
□ “Configuration → Client Configuration”, □ “Diagnostics → Lock Waits and Deadlocks”, □ “Performance → pureScale: Cluster Status”,
□ “Performance → pureScale: Page Reclaim”
38
Drury Design Dynamics
19
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
39
SAP on IBM DB2 10.5 – What is new?
Reorg-Free Database – DB2 10.1 Recap
How do Insert Time Clustered (ITC) tables work?
8am
9am
10am
11am
12pm
3pm
Extent
Boundaries
Extents quickly returned to tablespace
Available for other tables, indexes
1) INSERTS …
2) DELETE WHERE …
3) REORG … RECLAIM EXTENTS
4) INSERTS
40
Drury Design Dynamics
20
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Reorg-Free Database – DB2 10.5 Extension
DB2 10.5 Sparsely filled extents can be reclaimed
Embedded Empty extents
can be easily reclaimed
1
2
DB2 10.5 enhancement: Reclamation of partially filled extents
1 Partially filled extents are consolidated to free up entire extents
2 Completely empty extents are returned to the tablespace
Executed transparently in the background under automatic table maintenance control
41
SAP on IBM DB2 10.5 – What is new?
Reorg-Free Database for SAP
Sparse objects that allow space reclaim
- Insert Time Clustered (ITC) tables
- Recommended for tables with active archiving policies
- Allow reclaim of completely empty extents in DB2 10.1
- Reclaim of partially filled extents in DB2 10.5
- MDC tables: Reclaim of empty extents
- BLU tables: Reclaim of empty extents
- All indexes: Reclaim of partially filled extents
Space reclamation
- REORG … RECLAIM EXTENTS ALLOW WRITE ACCESS
- Executed automatically by DB2 in the background under ATM control
Smart prefetching
- Removes the need for REORGs to achieve good performance for large scans
Changes to REORGCHK
- No longer to report “*” REORG recommendations under DB2_WORKLOAD=SAP
Avoids unnecessary Reorgs
- SAP Note 975352 - DB6: Reorganizations in DB2/Using DB2 Auto REORG for details
- SAP Paper - Avoiding Database REORG Operations in SAP Systems on DB2 for LUW
http://scn.sap.com/docs/DOC-32875
42
Drury Design Dynamics
21
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
SAP usage of DB2 Automation and Self Tuning
Automatic Configuration and Self Tuning
Most DB2 configuration parameters can be set to AUTOMATIC
Automatic and adaptive memory tuning by DB2’s Self Tuning Memory
Manager (STMM)
DB2 10.5 NEW: STMM member-individual tuning for DB2 pureScale
and DPF Feature (SAP Note 1132282)
Automatic Storage
Removes the burden of managing tablespaces
DB2 manages the tablespaces inside the storage groups
Automatic Table Maintenance
Automatic statistics collection
Real-Time statistics
Automatic index cleanup
Automatic space reclamation
43
SAP on IBM DB2 10.5 – What is new?
DB2 Advanced Copy Services - Scripted Interface
The library invokes the customer script to perform the DB2 snapshot backup or restore
Storage vendor provided tool is not required, customers can implement their own scripts
Snapshot backup information is written into DB2 history file
DB2 Backup example using this solution
BACKUP DATABASE SAMPLE
USE SCRIPT $HOME/sqllib/samples/BARVendor/libacssc.sh
OPTIONS '/repository'
DB2 LUW
calls
Scripted Interface
for DB2 ACS invokes
queries
queries
Writes
Options
Read
Options
Reads
Options
db2acsutil
44
Drury Design Dynamics
Customer
Script
May write
own information
Contents of Protocol Files
Protocol
File Repository
DB and instance name
DB path
Container Paths
Storage Paths
Log Directories
Options like include / exclude logs
22
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 10.5 pureScale Enhancements
New DB2 10.5 pureScale features
results in better performance and
improved reliability / availability for
SAP on pureScale
• Online FixPack updates
• HADR support
• Topology changes with DB2 Backup &
Restore
Central
Services
Application Servers
Backup and restore between pureScale
and non-pureScale environments
• Online Add Members for additional
capacity
• Per-Member Self-Tuning Memory
Management
Application Servers
Application Servers
db2dsdriver.cfg
Cluster
Services
Member 1
Member 2
Cluster Caching
Facility
High speed
Member n
interconnect
Shared Disks
45
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
46
Drury Design Dynamics
23
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 10.5 Cancun Non-BLU Highlights for SAP
• DB2 pureScale
TCP/IP (sockets) interconnect for faster cluster setup and
lower cost deployments using commodity network hardware
• Provides exactly the same level of high availability
as RDMA-based pureScale environments
pureScale can be run in a set of virtual machines
• VMware ESXi and KVM as hypervisor
CF
CF
• POWER 8 Exploitation
General advantages with more cores and threads, larger caches, higher
bandwidth between core and caches/memory
DB2 delivered exploitation of a newest Power CPU architecture shortly after
Power8-based systems became available
Faster DECIMAL SUM on row-organized tables
Faster Page checksum calculation
Faster BLU column scan including simple predicate evaluation
47
SAP on IBM DB2 10.5 – What is new?
SAP Performance on IBM DB2 with POWER8 versus
POWER7+
Results from SAP Sales and Distribution (SD) standard application benchmark
SAP SD Benchmark
140000
120000
Power8
S AP S
100000
Power7+
80000
60000
40000
20000
0
Power 7+ / DB2 10.5
Power 8 / DB2 10.5
Source: http://www.sap.com/benchmark
48
Drury Design Dynamics
24
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Overview
Integration
Performance and Compression
DB2 BLU Implementation at Knorr Bremse
Recent Enhancements
• Extending DB2 BLU Support
• More Information
49
SAP on IBM DB2 10.5 – What is new?
Introducing BLU Acceleration
IBM Research & Development Lab Innovations
• Dynamic In-Memory
In-memory columnar processing with
BLU Acceleration
dynamic movement of unused data to storage
• Actionable Compression
Industry’s first data compression that
preserves order so that the data can be used
without decompressing
• Parallel Vector Processing
Multi-core and SIMD parallelism
(Single Instruction Multiple Data)
• Data Skipping
Super Fast, Super Easy—
Create, Load and Go!
• No Indexes, No Aggregates
• No Tuning
• No SQL / schema changes
Skips unnecessary processing of irrelevant data
50
Drury Design Dynamics
25
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
SAP BW Support without DB2 BLU
All SAP BW and NLS objects are created on row-organized tables
Reporting
DB2 optimizations
Aggr
egate
Aggre
gate
Aggre
gate
• Database Partitioning
Feature (DPF)
• Multi-Dimensional
Clustering (MDC)
• Compression
Aggre
gate
Reporting
Layer
Info
Cube
Master
Data
Info
Cube
Enterprise
Data
Warehouse
Layer
Info
Cube
DSO
Data
Acquisition
Layer
PSA
DSO
PSA
PSA
BW Near-Line
Storage (NLS)
Source Systems
51
SAP on IBM DB2 10.5 – What is new?
SAP BW Support on DB2 10.5 FP1 and FP3aSAP
Selected SAP BW and NLS objects can be implemented on column-organized (BLU) tables
Reporting
• Available with SAP BW
7.0 and higher
• Supported BW objects
Aggr
egate
InfoCubes and
Aggregates
BW temporary tables
Reporting
Layer
Info
Cube
Enterprise
Data
Warehouse
Layer
Data
Acquisition
Layer
Info
Cube
Master
Data
DSO
PSA
PSA
Info
Cube
• Supported NLS objects
NLS InfoCubes
NLS DSOs
DSO
PSA
BW Near-Line
Storage (NLS)
• Benefits
Fast and stable BW
reporting without
tuning
Space reduction
Less Aggregates
Faster NLS queries
Source Systems
52
Drury Design Dynamics
26
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
SAP BW Support on DB2 10.5 Cancun
Supported SAP Applications (SAP Note 1819734)
• SAP BW 7.0 and higher
• DB2 Near-Line Store for SAP BW
• SAP Strategic Enterprise Management (SAP SEM)
• Supported objects
Reporting
Available with SAP BW 7.0 and
higher
- InfoCubes and Aggregates
- Master Data
- DSOs and PSA tables
- BW temporary tables
- NLS InfoCubes
- NLS DSOs
Available with SAP BW 7.40 SP8
- Flat InfoCubes
Aggr
egate
Reporting
Layer
Master
Data
Info
Cube
Enterprise
Data
Warehouse
Layer
Data
Acquisition
Layer
DSO
PSA
PSA
Flat
Info
Cube
DSO
PSA
PSA
Info
Cube
• Additional benefits
DSO
BW Near-Line
Storage (NLS)
Source Systems
53
- General performance
improvements with Cancun
- Faster reporting on InfoCubes
- Fast reporting on DSOs
- Faster ETL processing
- Less ETL processing steps
- Better performance with Flat
InfoCube
- More space reduction
• HADR Support for BLU
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 BLU Integration into SAP BW
Overview
Integration
Performance and Compression
DB2 BLU Implementation at Knorr Bremse
Recent Enhancements
• Extending DB2 BLU Support
• More Information
54
Drury Design Dynamics
27
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Use of DB2 BLU Acceleration with DB2 Cancun (1)
• SAP Note 1819734 – DB6: Use of BLU Acceleration
Supported SAP applications
• SAP NetWeaver BW 7.0 and higher
• DB2 Near-Line Storage for SAP NetWeaver BW
• SAP Strategic Enterprise Management (SAP SEM)
• SAP Note 1825340 – DB6: Use BLU Acceleration with SAP BW
SAP BW Release
Support Package
7.00
7.01 (SAP BW 7.0 EHP1)
7.02 (SAP BW 7.0 EHP2)
7.11
7.30
7.31 (SAP BW 7.3 EHP1)
7.40
33
16
16
14
12
13
7
(*) ABAP Corrections/Extensions from additional SAP Notes have to be applied.
• Updated Database Administration Guide for SAP BW on IBM DB2 for LUW
Details about DB2 BLU integration into SAP BW
Can be downloaded from SAP Service Marketplace
55
SAP on IBM DB2 10.5 – What is new?
Use of DB2 BLU Acceleration with DB2 Cancun (2)
• SAP Note 1834310 - DB6: Use of DB2 BLU Acceleration with DB2 Near-Line Storage
SAP BW Release
7.01 (SAP BW 7.0 EHP1)
7.02 (SAP BW 7.0 EHP2)
7.30
7.31 (SAP BW 7.3 EHP1)
7.40
Recommended
Support
Package
15
15
11
10
5
Minimum
Support
Package (*)
13
13
8
5
GA
(*) ABAP Corrections/Extension from SAP Note (1834310) have to be applied
• SAP Note 2063589 - DB6: NLS Impl. - mandatory corrections for NLS with DB2 10.5 FP4
release
56
Drury Design Dynamics
28
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 BLU Integration into SAP BW
• Integration into SAP BW Workbench
• New BW objects supported with DB2 10.5 Cancun
• SAP ABAP Dictionary extension to support BLU tables as new table type
• BLU conversion of existing BW objects
• DBA Cockpit support: Monitoring and Administration
• Configuration for BLU feature is part of SAP’s DB2 parameter setting
• SAP BW ETL processing adaptation
• SAP BW Migration to DB2 10.5 BLU
57
SAP on IBM DB2 10.5 – What is new?
Integration into SAP BW Workbench
New InfoCubes and DSOs can be created on BLU (column-organized) tables
via “Clustering” dialog
58
Drury Design Dynamics
29
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Classical InfoCube and Aggregate Support on BLU
• Available with SAP BW 7.0 and higher
Master Data
Classical
• InfoCube tables created as column-
InfoCube
organized tables
InfoCube DIM
Master Data
• Benefits
DIM
Faster reporting on InfoCubes
Faster ETL processing
Less Aggregates
Less ETL processing steps
Space reduction
E+F
FACT
Master Data
E + F Fact tables
Dimension tables
DIM
DIM
Master Data
59
SAP on IBM DB2 10.5 – What is new?
BW 7.40 >= SP10 recommended
• Flat InfoCube
“flat” structure
One fact table
No dimension tables (except package
dimension)
Dimensions still visible in InfoCube
maintenance but not physically stored
in the database
Master data references in fact table
60
Faster BW query processing
- less table joins
- less performance impact of
not optimal InfoCube layout
Faster ETL processing
- No dimension table lookups
E+F
FACT
DIM
DIM
DIM
Flat
Master Data
Master Data
InfoCube
InfoCube
PDI
M
FACT
Master Data
• Benefits
InfoCube DIM
Master Data
higher (pilot)
InfoCube
Master Data
• Available with SAP BW 7.40 SP8 and
Master Data
Classical
Master Data
Flat InfoCube Support
on BLU
Master Data
Drury Design Dynamics
30
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Flat InfoCubes
• BW 7.40 >= SP10
Allows direct creation of flat InfoCubes in BW transaction RSA1
Allows transport of flat InfoCubes
Conversion of existing InfoCubes: report RSDU_REPART_UI
• SAP note 2168105 - Conversion from star to flat InfoCube may
create compressed records with duplicate keys
61
SAP on IBM DB2 10.5 – What is new?
DataStore Object (DSO) Support on BLU
• Available with SAP BW 7.0 and higher
• Standard DataStore Object (DSO)
Object layout
- DSO Active Table is used for BW reporting
DSO active tables are created as
column-organized table
Benefits
- Fast reporting on DSOs
- Space reduction
• Write Optimized DataStore Object ( Write Optimized DSO)
Object layout
- Single table created as column-organized table
Benefits
- Space reduction
Write Optimized DSO
Single Table
62
Drury Design Dynamics
31
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Master Data Table Support on BLU
• Available with SAP BW 7.0 and higher
• BW InfoObjects - Master Data tables
Includes master data identifiers (SIDs)
Tables are joined to InfoCubes and DSOs during
BW query processing
Can be created as column-organized tables
Master Data table types
“/B…/S…” SID tables
“/B…/X…” Attribute SID tables (time independent)
“/B…/Y…” Attribute SID tables (time dependent)
Global Enablement with RSADMIN Parameter
DB6_IOBJ_USE_CDE
• Benefit
Faster BW query processing
63
SAP on IBM DB2 10.5 – What is new?
Persistent Staging Area (PSA) Support on BLU
• Available with SAP BW 7.0 and higher
• PSAs are single tables which can be created
as column-organized tables
• Globale Einstellung über RSADMIN
Parameter DB6_PSA_USE_CDE
• Benefit
Space reduction
PSA
64
Drury Design Dynamics
32
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
DB2 BLU Support in SAP ABAP Dictionary
Examle: Storage parameters for Classical InfoCube F fact table
F fact table row-organized
(up to 16 secondary indexes)
F fact table column-organized
(no indexes)
65
SAP on IBM DB2 10.5 – What is new?
Conversion of Existing BW Objects to DB2 BLU (1)
• Online conversion with DB6CONV V6
Conversion jobs for dependent tables are created
SAP note 1513862
Always use latest version of DB6CONV tool (currently V6.08)
66
Drury Design Dynamics
33
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Conversion of Existing BW Objects to DB2 BLU (2)
• DB6CONV V6.0
• Conversion jobs with new
new type BWCONV (BW
Conversion) are created
• Conversion of
corresponding database
tables and adaption of BW
meta data
67
SAP on IBM DB2 10.5 – What is new?
SAP BW Migration to DB2 10.5 Cancun
New options in ABAP report
SMIGR_CREATE_DDL to
generate DDL for BLU tables
BLU for InfoCube tables
BLU for InfoCube tables
including dependent
InfoObject tables
BLU for all eligible BW
objects
68
Drury Design Dynamics
34
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
BLU Acceleration support in the DBA Cockpit
Following information are available with the DBA Cockpit enhancements for BLU
• Individual table information, including whether the table is column- or row-organized
• Buffer pool hit ratio, buffer pool read and write activity, and prefetcher activity on
database, buffer pool, table space and application level
• Column-organized data processing information as part of time spent analysis
69
SAP on IBM DB2 10.5 – What is new?
DB2 BLU Configuration for SAP BW
• Details in SAP Note 1851832 - DB6: DB2 10.5 Standard Parameter Settings
• Minimal database server size for productive usage
At least 8 cores
At least 64GB memory
• DB2 Registry
DB2_WORKLOAD=SAP
(includes DB2 optimizations for BLU)
• Database Manager configuration
INTRA_PARALLEL = YES
MAX_QUERYDEGREE = ANY
• Database configuration
INSTANCE_MEMORY >= 60 GB
(dependent on db server memory)
DATABASE_MEMORY = AUTOMATIC
SHEAPTHRES_SHR = 40% of INSTANCE_MEMORY
(initial value)
SORTHEAP = 1/20 of SHEAPTHRES_SHR
(initial value)
UTIL_HEAP_SZ = AUTOMATIC
STMM enabled for Bufferpool, Locklist and Package Cache
Bufferpool size = 40% of INSTANCE_MEMORY
(initial value)
• WLM currency threshold (SAP Note 1819734)
Run db6_update_db script to enable WLM concurrency threshold
70
Drury Design Dynamics
35
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 BLU Integration into SAP BW
Overview
Integration
Performance and Compression
DB2 BLU Implementation at Knorr Bremse
Recent Enhancements
• Extending DB2 BLU Support
• More Information
71
SAP on IBM DB2 10.5 – What is new?
SAP BW ETL Performance with DB2 10.5
Initial BW ETL scenarios supported since FP1
• Data Propagation from PSA into to InfoCube
FP1/FP3aSAP: BLU is as fast as row-store
Cancun: BLU is in average 10% faster than row-store
• „InfoCube Compression“
FP1/FP3aSAP: BLU is in average 27% faster than row-store
Cancun: BLU is in average factor 2x faster than row-store
• Selective Data Deletion from InfoCube
FP1/FP3aSAP: BLU is up to factor 6.9x faster than row-store
• Aggregate Build
FP1/FP3aSAP: BLU is up to factor 1.7x faster than row-store
New BW ETL scenarios supported with Cancun
• Master Data - Data Propagation
Cancun: BLU is in average 15% faster than row-store
• Master Data - Change Run
Cancun: BLU is as fast as row-store
• DSO Activation
Cancun: BLU is in average as fast as row-store
• Data Propagation into PSA
Cancun: BLU is in average as fast as row-store
72
Drury Design Dynamics
Internal Tests at IBM Germany Research & Development
36
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
SAP BW Query Performance - InfoCubes
Comparison SAP BW query performance
with row-organized InfoCube
versus column-organized (BLU) standard InfoCube
versus column-organized flat InfoCube
Internal Tests at IBM Germany Research & Development
73
SAP on IBM DB2 10.5 – What is new?
SAP BW Query Performance (2)
• Excellent performance scalability
High BW query throughput with parallel workload
CPU Utilization
Throughput of BW queries / hour
BW query throughput of parallel running BW queries
Number of parallel running BW queries
• No time consuming SQL query tuning
Fast “Out of the box” performance
Internal Tests at IBM Germany Research & Development
74
Drury Design Dynamics
37
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Space Savings with DB2 Compression
• InfoCube Sizes
• Row uncompressed
2.4x
7.5x
8.3x
• Row with adaptive compression
• BLU – standard InfoCube
• BLU – flat Infocube
Internal Tests at IBM Germany Research & Development
75
SAP on IBM DB2 10.5 – What is new?
SAP BW Query Performance - DSOs
Query run-times of sample queries
60s
50.7s
50s
37.9s
40s
37.7s
34.1s
30s
20s
18.0
11.6
8.1
10s
12.9s
11.3s
4.0 3.5
1.8
4.6
7.7
6.6
2.4 1.8
2.7 1.8
7.4
3.5 2.0
1.9 0.7
0s
Q1
Q2
Q3
DSO row
76
Drury Design Dynamics
DSO BLU
Q4
IC BLU
Q5
Q6
IC flat
Internal Tests at IBM Germany Research & Development
38
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 BLU Integration into SAP BW
Overview
Integration
Performance and Compression
DB2 BLU Implementation at Knorr Bremse
Recent Enhancements
• Extending DB2 BLU Support
• More Information
77
SAP on IBM DB2 10.5 – What is new?
SAP BW on BLU PoC
BLU PoC: Compare BW query performance between DB2 9.7 and DB2 10.5 BLU
78
Drury Design Dynamics
39
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
SAP BW on BLU PoC
79
SAP on IBM DB2 10.5 – What is new?
SAP BW on BLU PoC
80
Drury Design Dynamics
40
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 BLU Integration into SAP BW
Overview
Integration
Performance and Compression
DB2 BLU Implementation at Knorr Bremse
Recent Enhancements
• Extending DB2 BLU Support
• More Information
81
SAP on IBM DB2 10.5 – What is new?
Recent SAP BW on DB2 BLU Extensions
DB2 10.5 FP5SAP2 (currently in SAP certification testing)
Improvements
Faster BLU Anti-Join
Optimized DB2 BLU bufferpool processing
DB2 optimizer improvements
Improved DB2 lock handling
Benefits
More BW Master Data tables will be supported with BLU
Faster BW queries on InfoCubes, DSOs and InfoSets
Faster BW Master Data consistency checking
Support of BW Transactional InfoCubes
MasterData
SID Attributes
Hierarchies
Flat InfoCube
Package
Dim
Char Attributes
Texts
Columnar since Cancun
Fact
table
Columnar with FP5SAP2
Used in BW PBS and SEM BCS components
Support of Windows
SAP note 2116040
New SAP master note for BLU implementation (1825340)
Contains corrections all required SAP notes for BLU support
Information about prerequisites and required configuration has been moved to SAP BW on
DB2 Administration Guide
New SAP BW Administration Guide
(http://scn.sap.com/docs/DOC-8801)
82
Drury Design Dynamics
41
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Recent NLS Extensions
NLS InfoCube (Star Schema)
Dimensio 1: Product
Dimensio 2: Customer
DimID Attr1 Attr2
DimID Attr1 Attr2
Flat NLS Infocube for BLU
By factors faster NLS archiving
Faster NLS queries
SAP note 2155374 - DB6: NLSImpl:
Neue Tabellenlayouts mit DB2 BLU
Acceleration
Fact Table
Dim1 Dim2 Dim3 Dim4 Fact1 Fact2 Fact3
Dimensio 3: Country
DimID Attr1 Attr2
Dimensio 4: Time
DimID Year Month
New NLS Administration Guide
(http://scn.sap.com/docs/DOC-8801)
Flat NLS InfoCube
Fact table
Attr1 Attr2 Attr1 Attr2 Attr1 Attr2 Year Month Fact1 Fact2 Fact3
83
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
84
Drury Design Dynamics
42
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
Considerations for Extending DB2 BLU Support
SAP Solution Manager
Internal Evaluation successfully finished
Looking for a customer to run a PoC
SAP Business Planing and Consolidation (BPC Classic)
Looking for a customer to run a PoC
SAP Supply Chain Management (SCM)
Looking for a customer to run a PoC
85
SAP on IBM DB2 10.5 – What is new?
Agenda
•
•
•
•
•
•
•
•
•
DB2 Optimizations for SAP - Overview
Database Performance Optimizations for SAP Business Suite
Use of DB2 Parallel Processing for SAP OLTP Applications
Enhancements in DBA Cockpit
DB2 10.5 GA Non-BLU Highlights for SAP (Recap)
DB2 10.5 Cancun Non-BLU Highlights for SAP
DB2 10.5 BLU Integration into SAP BW
Extending DB2 BLU Support
More Information
86
Drury Design Dynamics
43
IBM IOD 2012
5/19/2015
SAP on IBM DB2 10.5 – What is new?
More Information
SAP Community Network: DB2 for Linux, Unix, Windows
www.sdn.sap.com/irj/sdn/db6
Forum: www.sdn.sap.com/irj/sdn/forum?forumID=187
IBM DB2 for Linux, Unix and Windows and SAP
www.ibm.com/software/data/db2/sap
DB2 with BLU Acceleration
www.ibm.com/software/data/db2/linux-unix-windows/db2blu-acceleration
IBM Redbook: Architecting and Deploying DB2 with BLU Acceleration in
Your Analytical Environment
http://www.redbooks.ibm.com/abstracts/sg248212.html?Open
Deploying the IBM Banking Data Warehouse to IBM DB2 10.5 with BLU
Acceleration
www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Wc
9a068d7f6a6_4434_aece_0d297ea80ab1/page/Deploying%20the%20IB
M%20Banking%20Data%20Warehouse%20to%20IBM%20DB2%2010.5
%20with%20BLU%20Acceleration
87
SAP on IBM DB2 10.5 – What is new?
Thank You
[email protected]
88
Drury Design Dynamics
44