Documentos de Académico
Documentos de Profesional
Documentos de Cultura
SAP BW Performance
Monitoring with BW
Statistics
Ron Silberstein
Platinum Consultant - Business Intelligence
Netweaver RIG US
SAP Labs, LLC
Agenda
2
BW Statistics Overview
Setting Up BW Statistics
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 2
Agenda
3
BW Statistics Overview
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 3
BW Statistics: Facts
4
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 4
BW Statistics: Facts (continued)
5
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 5
BW Statistics: Data Flow Architecture
6
Table RSDDSTAT
Queries
Queries Info-
Info- Update
Update
Source
Source rules
rules
aggregates
Info-
Info- Update
Update
aggregates rules
rules
Table RSDDSTATAGGR Source
Source
BW Statistics
MultiProvider
warehouse
warehouse Info-
Info- Update
Update
management
management rules
rules
Table RSDDSTATWHM
Source
Source
Analysis by
queries
(in workbooks)
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 6
Enable Capture of Statistical Performance Data 7
Choose
Tools > BW
Statistics for
InfoProviders
Can be
turned on/off
for
OLAP/WHM
You can
store new
settings You can delete
permanently old data from
database
tables
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 7
Consequences
8
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 8
Agenda
9
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 9
Key Delivered Queries (BW Statistics Workbook)
10
Query Runtime
User, query, # of navigations, components of runtime
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 10
Example: SAP Delivered Graph (Workbook)
11
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 11
Customer Report Example: Usage by Month (Cube)
12
# of Navigations
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 12
Customer Report Example: Usage by Month (User)
13
Enterprise view
# of navigations
by user
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 13
Example: Usage by Month (User) for a Cube
14
InfoCube view
# of navigations
by user
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 14
Customer Example: Aggregate Use Per Cube
15
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 15
Customer Example: Aggregate Use Per Cube
16
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 16
Agenda
17
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 17
Overview: Reporting Performance Analysis Tools
18
Table RSDDSTAT
BW Statistics
Collecting information
from table RSDDSTAT
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 18
ST03 – Workload Analysis – BW Specific
19
Expert mode
Expert mode 1
Administrator
Service engineer
BW System Load 2
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 19
ST03 - WorkLoad By InfoCube
20
Expert Mode!
High ratio:
Selected /
transferred
records
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 20
Using Table RSDDSTAT
21
Number of entries
INFOCUBE to
QUERYID to
QRUNTIMECATEGORY to
QNAVSTEP to
QDBSEL to
QDBTRANS to
QTIMEDB to
STARTTIME to
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 21
Settings of Table RSDDSTAT
22
User-Specific Settings
Repository Infosystem Data Browser ITS Chan...
Output list
Width of output list
Maximum no. of hits
INFOCUBE Display max.n.of hits possible
QUERYID ALV-Grid
QRUNTIMECATEGORY ALV-List
QNAVSTEP SE16 standard list
QDBSEL
QDBTRANS Keyword
QTIMEDB Field name
STARTTIME Field text
Records
transferred
from the
database to
the OLAP
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 23
Agenda
24
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 24
Analyzing Reporting Performance Issues
25
Building Aggregates:
OR
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 25
Analyzing Reporting Performance Issues
26
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 26
BW Statistics or ST03N: Find InfoCubes for Analysis
27
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 27
Stastistics for Queries
28
BEx Web
Analyzer Browser
Front-end 3 Amount of
data
Query
transferred to
execution the front-end? Front-end
time?
Application Server
1 Number of rows
Database
time?
Database Server selected on the
database?
Aggregates
InfoCube
Data
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 28
Indicators That Aggregates Will Help
29
Look for many more records One Key Indicator:
selected than necessary!
Ratio records selected / records transferred
> 10
Records
transferred after
being
Infocube Number of records summarized on
read on the the database
(QDBTRANS)
database (QDBSEL)
AND
Other Key Indicator:
database time for
Total query runtime (QRUNTIMECATEGORY) queries > 30% of
total query runtime
Start 2s 4s 6s 8s 10s 12s 14s 16s 18s 20s End
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 29
Analysis of BW Statistics at InfoCube Level (1)
30
Ratio records
Database time ~40% selected /
of total runtime (6771 records
of 17 025 seconds) transferred: 24
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 30
Analysis of BW Statistics at InfoCube Level (2)
31
Ratio records
Database time ~3,5% selected /
of total runtime (1011 records
of 28 540 seconds) transferred: 32
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 31
Analysis of BW Statistics at InfoCube Level (3)
32
Ratio records
Database time ~90% selected /
of total runtime (1420 records
of 1572 seconds) transferred: 1.1
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 32
Analyzing Reporting Performance Issues
33
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 33
Indicators That Aggregates Will Help
29
Look for many more records One Key Indicator:
selected than necessary!
Ratio records selected / records transferred
> 10
Records
transferred after
being
Infocube Number of records summarized on
read on the the database
(QDBTRANS)
database (QDBSEL)
AND
Other Key Indicator:
database time for
Total query runtime (QRUNTIMECATEGORY) queries > 30% of
total query runtime
Start 2s 4s 6s 8s 10s 12s 14s 16s 18s 20s End
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 34
Using BW Statistics: Find Queries for Analysis
35
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 35
Analysis Techniques: Key Components of Runtime 1
36
Ratio records
Database time ~60% of selected /
Utilizing OLAP per Query
total runtime (2.798 of records
4.685 seconds) transferred: 54
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 36
Analysis Techniques: Key Components of Runtime 2
37
Ratio records
Database time ~89% selected /
of total runtime (1064 records
of 1162 seconds) transferred: 2.1
Web Applications
Compression
Precalculation
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 38
Agenda
39
Setting Up BW Statistics
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 39
Enable Capture of Statistical Performance Data 40
Choose
Tools > BW
Statistics for
InfoProviders
Can be
turned on/off
for
OLAP/WHM
You can
store new
settings You can delete
permanently old data from
database
tables
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 40
Customizing: Transfer Business Content
DataSources
41
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 41
Customizing: Transfer Business Content
DataSources
42
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 42
Customizing: Transfer Business Content DataSources
43
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 44
Business Content Installation: Group Objects
45
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 45
Business Content Installation: Select InfoProviders
46
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 46
Business Content Installation: Check & Install 47
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 47
Business Content Installation: Collect Object
Superset
48
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 48
Business Content Installation: Check Objects &
Install
49
Install
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 50
Post-Content Installation: Check Data Flow Diagram
51
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 51
Post-Content Installation: Check Data Flow Diagram
52
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 52
BW Statistics Setup: Data Loads
53
Check delivered InfoPackage groups; Utilize and modify as needed.
Consider building process chains to automate data loads.
InfoPackage Scheduler: Schedule regular data loads for all master data
InfoPackages under the Technical Content InfoArea and the BW Metadata
InfoArea
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 53
BW Statistics Setup: Assign Technical Content Role
54
The Technical Content Role
(SAP_BWC_TCONT ) is activated via
the BW statistics business content
installation.
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 54
Important Resource
55
How-to-guide:
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 55
Questions?
56
Q&A
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 56
Copyright 2003 SAP AG. All rights reserved
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 herein may 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®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registered trademarks of
Microsoft Corporation.
IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®, S/390®, AS/400®, OS/390®, and
OS/400® are registered trademarks of IBM Corporation.
ORACLE® is a registered trademark of ORACLE Corporation.
INFORMIX®-OnLine for SAP and Informix® Dynamic ServerTM are registered trademarks of Informix Software
Incorporated.
UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.
Citrix®, the Citrix logo, ICA®, Program Neighborhood®, MetaFrame®, WinFrame®, VideoFrame®, MultiWin® and
other Citrix product names referenced herein are trademarks of Citrix Systems, Inc.
HTML, DHTML, XML, XHTML 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, SAP Logo, R/2, RIVA, R/3, SAP ArchiveLink, SAP Business Workflow, WebFlow, SAP EarlyWatch, BAPI,
SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.com are trademarks or registered
trademarks of SAP AG in Germany and in several other countries all over the world. All other products
mentioned are trademarks or registered trademarks of their respective companies.
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 57