Professional Documents
Culture Documents
SAP BW Performance Monitoring With BW Statistics
SAP BW Performance Monitoring With BW Statistics
Ron Silberstein Platinum Consultant - Business Intelligence Netweaver RIG US SAP Labs, LLC
Agenda
BW Statistics Overview Monitoring with BW Statistics Reports Performance Monitoring Tools Detecting Optimization Potential Setting Up BW Statistics
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 2
Agenda
BW Statistics Overview
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 3
BW Statistics: Facts
SAP-delivered tools for analyzing and tuning system performance Delivered SAP Business Content Usage of tools requires Business Content installation Content Delivery Consists of:
MultiCube InfoCubes Queries Workbook (New one as of BW 2.0B) InfoSources Transfer Structures, Transfer Rules, Update Rules InfoPackages, InfoPackage Groups Role
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 4
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 5
Table RSDDSTAT
Queries Queries
aggregates aggregates
Table RSDDSTATAGGR
Table RSDDSTATWHM
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 6
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 7
Consequences
If the BW statistics are turned on, the systems collects data. These data is inserted in different tables:
Tables, which are filled by OLAP: RSDDSTAT RSDDSTATAGGR RSDDSTATAGGRDEF Tables, which are filled by WHM: RSDDSTATWHM RSDDSTATCOND RSDDSTATDELE, ...
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 8
Agenda
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 9
10
Query Runtime
User, query, # of navigations, components of runtime
Use of OLAP by Date Use of OLAP according to time of day Mean Time Per Query
Mean time per navigation
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 10
11
Total runtime (blue) by hour and Total number of records (red) by hour
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 11
12
# of Navigations
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 12
13
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 13
14
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 14
15
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 15
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
Table RSDDSTAT
BW Statistics
19
BW System Load
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 19
20
High % DB Time
Expert Mode!
High ratio: Selected / transferred records
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 20
21
Number of entries
INFOCUBE QUERYID QRUNTIMECATEGORY QNAVSTEP QDBSEL QDBTRANS QTIMEDB STARTTIME Width of output list Maximum no. of hits
to to to to to to to to
YYYYMMDDHHmmss
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 21
22
INFOCUBE QUERYID QRUNTIMECATEGORY QNAVSTEP QDBSEL QDBTRANS QTIMEDB STARTTIME Width of output list Maximum no. of hits
Output list Width of output list Maximum no. of hits Display max.n.of hits possible ALV-Grid ALV-List SE16 standard list Keyword Field name Field text
23
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 23
Agenda
24
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 24
25
Different Starting Points: Analyze specific InfoProviders OR Find problem queries, then analyze them
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 25
26
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 26
Sort by mean overall time to find InfoCubes with queries having the highest runtimes
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 27
Web Browser
28
Query execution
Front-end time?
OLAP processor
OLAP time?
Database time?
InfoCube Data
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 28
Aggregates
29
Infocube
AND
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 30
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 31
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 32
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 33
29
Infocube
AND
Sort by overall time to find queries that have the highest total runtime
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 35
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 36
Resource Constraints?
CPU speed Number of CPUs Available memory I/O throughput, number of controllers
Database Statistics Are they complete and up-to-date? Use of OLAP Cache Query Design Start at summarized level, drill down for details? Design Considerations
InfoCube Partitioning MultiProvider Line Item Dimension ODS InfoCube Report to Report Interface
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
40
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 40
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 41
Where? Administrator Workbench > Modeling > Source Systems > Select Self Source System > Context Menu
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 44
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 45
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 46
47
Ensure That All Objects in Tree Are Selected For Installation (or are already active), then Choose Install
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 47
Repeat Object Grouping Steps, But Now Choose Grouping Option All Objects In Dataflow Before and After
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 48
Spot Check Objects: Expand Update Rules, then Continue Expansion to InfoPackages Install
Where? Admin WB > Modeling > InfoSources: Check for Existence of InfoPackages
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 50
Where? Admin WB > Modeling > InfoProvider > Technical Content > BW Statistics > MultiProvider for BW Statistics > Context Menu > Show Data Flow
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 51
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 52
Check delivered InfoPackage groups; Utilize and modify as needed. Consider building process chains to automate data loads. InfoPackage Scheduler: perform data loads for all master data InfoSources under the Technical Content InfoArea and the BW Metadata InfoArea InfoPackage Scheduler: Perform delta initializations for all transaction data InfoPackages under the Technical Content InfoArea InfoPackage Scheduler: Schedule regular delta data loads for all transaction data InfoPackages under the Technical Content InfoArea InfoPackage Scheduler: Schedule regular data loads for all master data InfoPackages under the Technical Content InfoArea and the BW Metadata InfoArea Regularly monitor data loads and ensure timely data availability.
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 53
The Technical Content Role (SAP_BWC_TCONT ) is activated via the BW statistics business content installation. The delivered BW Statistics Workbook is (by default) contained within the Technical Content Role (SAP_BWC_TCONT ). Use transaction PFCG to assign the Technical Content Role (SAP_BWC_TCONT) to any users who should have easy access to the BW Statistics Workbook.
Important OSS notes (BW statistics) : 422264, 309955, 551552
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 54
Important Resource
55
How-to-guide: How to Setup BW Statistics: Valid for versions 2.0B, 2.1C, 3.0B and 3.1Content
Available at http//service.sap.com/BW > Services & Implementation > How to Guides > Guide list BW 3.0
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
2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 57