Know How Network: SAP BW Performance Monitoring with BW Statistics

Similar documents
SAP Enterprise Portal 6.0 Portal Development Kit (PDK) Deployment Strategy. Version: November 21, 2003

HA400 ABAP Programming for SAP HANA

Introduction to SAP BusinessObjects Dashboards

HABS1 Business Suite on HANA

BODS10 SAP Data Services: Platform and Transforms

The Customizing Cross-System Viewer

Integration of the Change and Transport System

Versions HELP.PSVER. Release 4.6C

SAP Enterprise Portal 6.0 -Sample Screenshots- 31/03/2003

How to Create New Portal Display Rules

TBW60. BW: Operations and Performance COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

EDB795 SAP IQ Advanced Administration Course Outline

SAP NetWeaver Scheduler for Java

BW310. BW - Enterprise Data Warehousing COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

SAP Exchange. in XI30. Prasad Illapani SAP Netweaver RIG-XI SAP Labs LLC.,USA

SEM-BPS Enhancements. Product Management BI

SAP BW 3.3 April 2004 English. General Ledger Analysis. Business Process Procedure. SAP AG Neurottstr Walldorf Germany

General Report Selection

Installing a Patch for Portal Platform 6.0 on Web AS 6.40 SAP NetWeaver 04

The DCOM Connector HELP.BCMIDDCOM. Release 4.6C

ADM800 AS Java 7.3 Administration

BW Unicode R/3 MDMP. Product Management Global Solutions International Development, SAP AG. Product Management BI, SAP AG

Extract Archived data from R3

SAP Enterprise Portal 6.0. Unification 5.0 with EP 6.0. Version: September 2003 (Updated: January 2004)

Product and Release Information

DISCOVERY SYSTEM CONNECTIVITY. Introduction HOW TO CREATE PORTAL IVIEWS BASED ON APPLICATIONS RUNNING ON A DS

Cross-Application Mass Maintenance (CA-GTF-MS)

Selection/Formula Properties: Enhancements

IACs for External Services Management (MM-SRV)

What s New / Release Notes SAP Strategy Management 10.1

TBW30 SAP BW Modeling & Implementation

Automatic Deletion of Similar/Identical Requests from InfoCube after Update

Install and Use the PCD Inspector Tool

Functional Trace HELP.BCCCM. Release 620

Client Copy and Transport

Multiple Components in One Database

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Installation Guide Business Explorer

Install TREX for CAF Version 1.00 March 2006

Do Exception Broadcasting

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

How To Extend User Details

Dynamic Modification of the Inspection Scope

Julia Levedag, Vera Gutbrod RIG and Product Management SAP AG

Configure UME for Multiple LDAP Data Sources

Production Resources/Tools (PRT)

Microsoft Strategic Technology Protection Programm

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

How To... Configure Drill Through Functionality

SAP Automation (BC-FES-AIT)

LO Extraction - Part 6 Implementation Methodology

BC400. ABAP Workbench Foundations COURSE OUTLINE. Course Version: 15 Course Duration: 5 Day(s)

Hardware Requirements

PLM210. Master Data Configuration in SAP Project System COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 10 Course Duration: 2 Day(s)

SAP AddOn Quantity Distribution. by Oliver Köhler, SAP Germany

BC400 Introduction to the ABAP Workbench

Visual Composer for SAP NetWeaver Composition Environment - Connectors

ADM950. Secure SAP System Management COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BC404. ABAP Programming in Eclipse COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

Customizing System Setting (BC-CUS)

How can a Reference Query Be used?

configure an anonymous access to KM

Visual Composer - Task Management Application

BC100. Introduction to Programming with ABAP COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BW Text Variables of Type Replacement Path

MDG100 Master Data Governance

Duet Enterprise: Tracing Reports in SAP, SCL, and SharePoint

Quick View Insider Microblog: Why Is There No Inbox?

BC405 Programming ABAP Reports

Create Monitor Entries from an update routine

Duplicate Check and Fuzzy Search for Accounts and Contacts. Configuration with SAP NetWeaver Search and Classification (TREX) in SAP CRM WebClient UI

Inspection Planning with the Engineering Workbench

Engineering Workbench (PP-BD)

Sizing for Guided Procedures, SAP NetWeaver 7.0

BOC310. SAP Crystal Reports: Fundamentals of Report Design COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

BIT460. SAP Process Integration Message Mapping COURSE OUTLINE. Course Version: 15 Course Duration: 3 Day(s)

link SAP BPC Excel from an enterprise portal Version th of March 2009

EWM125. Labor Management in SAP EWM COURSE OUTLINE. Course Version: 16 Course Duration: 4 Hours

The test has been performed using a 64 Bit SAP NetWeaver Application Server Java 7.1 Enhancement Package 1 SP4 or greater system.

Security Audit Log HELP.BCCSTADM. Release 4.6C

Using Xcelsius 2008 with SAP NetWeaver BW

Single Sign-on For SAP NetWeaver Mobile PDA Client

NET311. Advanced Web Dynpro for ABAP COURSE OUTLINE. Course Version: 10 Course Duration: 4 Day(s)

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

Integrate a Forum into a Collaboration Room

How To Configure IDoc Adapters

Quick View Insider: How Can I Change the Colors? (SNC 7.0)

EDB358. System and Database Administration: Adaptive Server Enterprise COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

How to Create a New SAPUI5 Development Component

Business Configuration Sets (BC-CUS)

Output Determination (SD-BF- OC)

Business Objects Integration Scenario 2

Visual Composer Modeling: Data Validation in the UI

HA150 SQL Basics for SAP HANA

BC430 ABAP Dictionary

Transcription:

Know How Network: SAP BW Performance Monitoring with BW Statistics Ron Silberstein Platinum Consultant- Business Intelligence Netweaver RIG US SAP Labs, LLC

Agenda 2 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 3 BW Statistics Overview 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 3

BW Statistics: Facts 4 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

BW Statistics: Facts (continued) 5 Maintenance requires scheduling data loads and monitoring Delta load functionality delivered Transaction Data Master Data One of several sources of performance monitoring information. Others include: ST03 > Expert Mode > BW system load Table RSDDSTAT Function Module RSDDCVER_RFC_BW_STATISTICS Can be utilized when building aggregates System can propose aggregates from BW stats data Object metadata of BW Statistics is transportable 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 5

BW Statistics: Data Flow Architecture 6 Turn on/off logging for each InfoCube! Queries Table RSDDSTAT Info- Source Update rules aggregates warehouse management Table RSDDSTATAGGR Table RSDDSTATWHM Info- Source Info- Source Update rules Update rules BW Statistics MultiProvider 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 permanently You can delete old data from database tables 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 7

Consequences 8 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 9 Monitoring with BW Statistics Reports 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 9

Key Delivered Queries (BW Statistics Workbook) 10 Use of OLAP for Each InfoCube (Time) Components of runtime per query Use of OLAP for Each InfoCube (Records) Records selected / transferred 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 Data Load: Utilizing WHM per InfoSource 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 10

Example: SAP Delivered Graph (Workbook) 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

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 Performance Monitoring Tools 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 17

Overview: Reporting Performance Analysis Tools Table RSDDSTAT 18 BW Statistics BW Workload Analysis ST03N Collecting information from table RSDDSTAT Function module RSDDCVER_RFC_BW_STATISTICS 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 18

ST03 Workload Analysis BW Specific 19 Expert mode Expert mode Administrator 1 Service engineer BW System Load 2 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 19

ST03 - WorkLoad By InfoCube 20 Highest contributor in Total Run Time per InfoCube High % DB Time Expert Mode! High ratio: Selected / transferred records 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 20

Using Table RSDDSTAT 21 In transaction SE16, display table RSDDSTAT Number of entries INFOCUBE QUERYID QRUNTIMECATEGORY QNAVSTEP QDBSEL QDBTRANS QTIMEDB STARTTIME to to to to to to to to Width of output list Maximum no. of hits YYYYMMDDHHmmss 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 21

Settings of Table RSDDSTAT 22 Choose Settings User parameters (F6) User-Specific Settings Repository Infosystem Data Browser ITS Chan... 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 Check conversion exits Set flag to display query names 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 22

Important Fields in Table RSDDSTAT (1) 23 Query name Runtime Category Database time Records selected on the database Records transferred from the database to the OLAP 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 23

Agenda 24 Detecting Optimization Potential 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 24

Analyzing Reporting Performance Issues 25 Building Aggregates: Primary technique for tuning reporting performance Analyze to determine if building aggregates will help Different Starting Points: Analyze specific InfoProviders OR Find problem queries, then analyze them 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 25

Analyzing Reporting Performance Issues 26 Approach: Find InfoCubes of concern & consider aggregates 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 26

BW Statistics or ST03N: Find InfoCubes for Analysis 27 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

Stastistics for Queries Front-end Query execution BEx Analyzer Web Browser 3 Amount of data transferred to the front-end? Front-end time? 28 OLAP processor 2 Number of rows transferred to the application server? OLAP time? Application Server Database Server 1 Number of rows selected on the database? Database time? InfoCube Data Aggregates 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 28

Indicators That Aggregates Will Help Look for many more records selected than necessary! One Key Indicator: Ratio records selected / records transferred > 10 29 Infocube Number of records read on the database (QDBSEL) Total query runtime (QRUNTIMECATEGORY) Start 2s 4s 6s 8s 10s 12s 14s 16s 18s 20s Database time (QDBTIME) AND End Records transferred after being summarized on the database (QDBTRANS) Other Key Indicator: database time for queries > 30% of total query runtime 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 29

Analysis of BW Statistics at InfoCube Level (1) 30 Database time ~40% of total runtime (6771 of 17 025 seconds) Ratio records selected / records transferred: 24 Aggregates will probably improve query performance 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 30

Analysis of BW Statistics at InfoCube Level (2) 31 Database time ~3,5% of total runtime (1011 of 28 540 seconds) Ratio records selected / records transferred: 32 Aggregates will not improve query performance 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 31

Analysis of BW Statistics at InfoCube Level (3) 32 Database time ~90% of total runtime (1420 of 1572 seconds) Ratio records selected / records transferred: 1.1 Aggregates will not improve query performance 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 32

Analyzing Reporting Performance Issues 33 Approach: Find queries of concern, then analyze them 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 33

Indicators That Aggregates Will Help Look for many more records selected than necessary! One Key Indicator: Ratio records selected / records transferred > 10 29 Infocube Number of records read on the database (QDBSEL) Total query runtime (QRUNTIMECATEGORY) Start 2s 4s 6s 8s 10s 12s 14s 16s 18s 20s Database time (QDBTIME) AND End Records transferred after being summarized on the database (QDBTRANS) Other Key Indicator: database time for queries > 30% of total query runtime 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 34

Using BW Statistics: Find Queries for Analysis 35 Utilizing OLAP per Query Sort by overall time to find queries that have the highest total runtime 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 35

Analysis Techniques: Key Components of Runtime 1 36 Utilizing OLAP per Query Database time ~60% of total runtime (2.798 of 4.685 seconds) Ratio records selected / records transferred: 54 Aggregates will improve query performance 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 36

Analysis Techniques: Key Components of Runtime 2 37 Database time ~89% of total runtime (1064 of 1162 seconds) Ratio records selected / records transferred: 2.1 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 37 Aggregates will not improve query performance

Performance Concerns: if not aggregates, then what? Resource Constraints? CPU speed Number of CPUs Available memory I/O throughput, number of controllers 38 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

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 permanently You can delete old data from database tables 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 40

Customizing: Transfer Business Content DataSources 41 Where? Transaction SBIW 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 41

Customizing: Transfer Business Content DataSources 42 All Components Under TCT Must Be Selected for Transfer Where? Transaction SBIW, Transfer Business Content DataSources 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 42

Customizing: Transfer Business Content DataSources 43 Choose Select Delta, Then Transfer DataSources 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 43

Replicate DataSources (Self Source System) 44 Where? Administrator Workbench > Modeling > Source Systems > Select Self Source System > Context Menu 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 44

Business Content Installation: Group Objects 45 Where? Administrator Workbench > Business Content > Grouping Options 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 45

Business Content Installation: Select InfoProviders 46 Drag and Drop BW Statistics InfoProviders into Collected Objects Workspace 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 46

Business Content Installation: Check & Install 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

Business Content Installation: Collect Object Superset 48 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

Business Content Installation: Check Objects & Install 49 Spot Check Objects: Expand Update Rules, then Continue Expansion to InfoPackages Install Ensure All Objects Are Selected for Installation (or active) 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 49

Post-Content Installation: Check InfoPackages 50 Where? Admin WB > Modeling > InfoSources: Check for Existence of InfoPackages 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 50

Post-Content Installation: Check Data Flow Diagram 51 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

Post-Content Installation: Check Data Flow Diagram 52 2003 SAP Labs, LLC, SAP Professional Journal Conference, Ron Silberstein 52

BW Statistics Setup: Data Loads Check delivered InfoPackage groups; Utilize and modify as needed. Consider building process chains to automate data loads. 53 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

BW Statistics Setup: Assign Technical Content Role 54 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 How-to-guide: 55 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

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