Beruflich Dokumente
Kultur Dokumente
Mike Eacrett
SAP NetWeaver RIG - BI
Content
Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance
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:
! " !
!
%
&
" %
# ! # !
'
% '
% (# ! )
* ! #
+ * ,
Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance
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
&% %
Pre-Calculation /
Offline Analysis
OLAP Cache
Aggregates
Reuse
Reuse
InfoCubes
Overview
Query Performance
Aggregates
OLAP Cache
Pre-Calculation
Data Load Performance
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
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
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