Sie sind auf Seite 1von 17

Lori Vanourek

Product Management SAP NetWeaver / BI

Mike Eacrett
SAP NetWeaver RIG - BI
Content

Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance

SAP AG 2003, Performance in SAP BW


Performance Tuning OLTP
OLTP Systems
Application Development and
performance tuning separated Database
Performance tuning by basis
experts
Application

Performance Tuning

SAP BW SAP BW
Performance Tuning as holistic
process over application
design and database
configuration
Database

Performance is designed
into an SAP BW solution!!! Application

Performance Tuning
SAP AG 2003, Performance in SAP BW
Basic rules for performance optimization:

! " !
!

SAP AG 2003, Performance in SAP BW


# ! " $

%
&
" %
# ! # !

'
% '

% (# ! )

* ! #

+ * ,

SAP AG 2003, Performance in SAP BW


"

It is important to use the right objects into your DW model…


ODS Objects and InfoCubes are specifically designed for certain roles!
Overview of the EDW layers…

Operational Data Store


•Operational Reporting
•Near Real-Time / Volatile
•Granular
•Built with ODS Objects &
& -

Persistent Data Warehouse Multidimensional Models


Storage Area •Non-volatile
•Multidimensional analysis
• Data Staging •Granular
•Aggregated view
• Raw data •Integrated
•Integrated
• Built with PSA •Historical foundation
•Built with InfoCubes
objects •Built with ODSODS
Objects
Object &
PSA & -
SAP AG 2003, Performance in SAP BW
Content

Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance

SAP AG 2003, Performance in SAP BW


" $ ./ ! .& 0

ST03
ST03/ /Technical
TechnicalContent
Content
Which component
contributes most?
Database
Database OLAP
OLAP Frontend
Frontend
1.1. Data
DataModel 1.1. Data 1.1. Network
Model DataModel
Model Network
Check 2.2. Query
these QueryDefinition
Definition 2.2. Query
QueryDefinition
Definition 2.2. WAN
WANand
andBEx
BEx
(including
(includingOLAP
OLAP
points 3.3. Aggregates
Aggregates 3.3. Client
ClientHardware
Hardware
features)
features)
4.4. OLAP
OLAPCache
Cache 4.4. VBA
VBA/ /Java
Java
3.3. Aggregates
Aggregates
5.5. Pre-Calculated
Pre-CalculatedWeb
Web 5.5. Documents
Documents
4.4. OLAP
OLAPCache
Cache
Templates
Templates 6.6. Formatting
Formatting
5.5. Virtual
VirtualKey
KeyFigures
Figures/ /
6.6. Compressing
Compressing Characteristics
Characteristics 7.7. ODBO
ODBO/ /33rdparty
rd
party
7.7. Indices
Indices 6.6. Authorizations
Authorizations
8.8. DB
DBStatistics
Statistics
9.9. DB
DB and
andbasis
basis
(Buffer) Parameter
(Buffer) Parameter
SQL
SQLTrace
Trace(ST05)
(ST05) RSRT,
RSRT,RSRTRACE
RSRTRACE
Tools RSRV SQL IEMON
RSRV SQLTrace
Trace(ST05)
(ST05) IEMON
RSRT,
RSRT,RSRTRACE ABAP RSRT,
RSRT,RSRTRACE
RSRTRACE ABAPTrace
Trace(SE30)
(SE30) RSRTRACE
SAP AG 2003, Performance in SAP BW
&% %

Portal iView Cache

Pre-Calculation /
Offline Analysis

OLAP Cache

Aggregates
Reuse
Reuse
InfoCubes

SAP AG 2003, Performance in SAP BW


Definition InfoCube
Materialization of aggregated subsets of InfoCube fact
table data
Independent structures where summary data is stored
within separate, transparent InfoCubes
Benefits
Transparency: Users do not notice if aggregate is hit
or not
Improved query performance by reducing the amount
of data to be read from DB
Aggregates can be created …
Only on top of basic InfoCubes
Aggregates
For dimension characteristics
For navigational attributes Note: Aggregates can
On hierarchy levels improve query
performance
Using time-dependent navigational attributes (as of
considerably, but keep
SAP BW 3.x)
in mind that they also
Using hierarchy levels where the structure is time- impact the load
dependent (as of SAP BW 3.x) performance.

SAP AG 2003, Performance in SAP BW


&% "

Global OLAP Cache in SAP BW 3.x


Session- and user-independent
Stores Query Results
In application buffer
In cluster table or flat file (highly compressed)
Benefit
Complete query results with virtually no DB table access as of the
second call of the query
Re-use
For equal queries or subsets of cached query results
Invalidation
OLAP Cache and actual InfoProvider data always in-sync
Invalidation of cache entries e.g. after transaction data load,
master data load/change run, meta data change
Strategy
Warm-up OLAP Cache via reporting agent/Information
Broadcasting

SAP AG 2003, Performance in SAP BW


Content

Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance

SAP AG 2003, Performance in SAP BW


" $ . % ! .& 0 1.

Technical
TechnicalContent,
Content,Data
DataLoad
LoadMonitor
Monitor
Which component
contributes most?
Extraction
Extraction Transfer
Transfer Load
LoadInto
IntoPSA
PSA

1.1. Customer
CustomerExits 1.1. Resource 1.1. I/O
I/OContention
Exits ResourceContraint
Contraint Contention
2.2. Resource
ResourceUtilization 2.2. CPU 2.2. PSA
PSAPartition
PartitionSize
Utilization CPU/ /Memory
Memory Size
Check 3.3. Load
Bottleneck
Bottleneck
these LoadBalancing
Balancing
3.3. Network
Network
points 4.4. Data
DataPackage
PackageSize
Size
4.4. Application
ApplicationBuffer
Buffer
5.5. Indices
Indicesonontables
tables Synchronization
Synchronization
6.6. Flat
FlatFile
Fileformat
format
7.7. Content
Contentvs.
vs.generic
generic
extractor
extractor

Extractor
ExtractorChecker
Checker
(RSA3),
(RSA3), SM50
SM50
Tools ABAP
ABAPTrace
Trace(SE30),
(SE30), SQL
SQLTrace
Trace(ST05)
(ST05) OS
OSMonitor
Monitor(ST06)
(ST06)
SQL
SQLTrace
Trace(ST05) OS
(ST05) OSMonitor
Monitor(ST06)
(ST06) DB
DBMonitor
Monitor(ST04)
(ST04)
SAP AG 2003, Performance in SAP BW
" $ . % ! .& 0 2.

Technical
TechnicalContent,
Content,Data
DataLoad
LoadMonitor
Monitor
Which component
contributes most?

Transfer
TransferRules Load
Rules LoadInto
IntoData
DataTargets
Targets
Update
UpdateRules
Rules
Master
MasterData
Data InfoCubes
InfoCubes ODS
ODSObjects
Objects

1.1. Transformation 1.1. Buffering


Buffering 1.1. Roll-up
Transformation Roll-up 1.1. Parallel
Parallel
Check Rules Number
Number
Rules/ /ABAP
ABAP Ranges 2.2. Change
ChangeRun
Run
ODS
ODS
these Coding
Coding Ranges activation
3.3. Compression activation
points 2.2. Transformation 2.2. Change
Change Compression
Transformation 2.2. Unique
UniqueData
Data
Library Run
Run 4.4. Indices
Library Indices Records
Records
Formulas 5.5. Load
Formulas LoadMaster
Master 3.3. Flag
FlagBEx
BEx
Data before
Data before Reporting
Transaction Reporting
Transaction
Debugger
Debuggerwithin
within Data 4.4. Indices
Indices
Data
Monitor
Monitor 6.6. Buffering
Buffering
ABAP Number
ABAPTrace
Trace Number
Ranges
Tools (SE30),
(SE30), Ranges

SQL
SQLTrace
Trace(ST05)
(ST05) SQL
SQLTrace
Trace(ST05)
(ST05)
SAP AG 2003, Performance in SAP BW
Design
Designyour
yourData
Data
Model
ModelPrudently
Prudently
and
andConsider
Consider
Regular
RegularReviews
Reviews
Compress
Compress
Regularly
Regularly

Use
UseAggregates
Aggregates
and
andDesign
DesignThem
Them
Carefully
Carefully
Use
Usecustomer
customer--
oriented
orientedreporting
reporting
&&analysis
analysis
features
features

SAP AG 2003, Performance in SAP BW


, " '

3 0*
http://service.sap.com/BW (Alias ‚BW‘) >
Services and Implementation

# $
Use ALIAS: “BW” at
http://service.sap.com/BW
See Performance Folder

&
http://help.sap.com

SAP AG 2003, Performance in SAP BW


/ 4

SAP AG 2003, Performance in SAP BW

Das könnte Ihnen auch gefallen