SAP BPC 5.0 & 5.1 Performance and Reliability tips

Similar documents
Visual Composer - Task Management Application

MDM Syndicator Create Flat Syndication File

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

What s New / Release Notes SAP Strategy Management 10.1

Consuming Web Dynpro components in Visual Composer.

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

Install TREX for CAF Version 1.00 March 2006

Cache Settings in Web Page Composer

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

Web Page Composer anonymous user access

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

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

Do Exception Broadcasting

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

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How to Set Up and Use the SAP OEE Custom UI Feature

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Visual Composer Build Process

How To... Promote Reports and Input Schedules Through Your System Landscape

Building a Tax Calculation Application

How to Translate a Visual Composer Model Part I

How To...Configure Integration of CUP with SPM

How to Use Function Keys in Mobile Applications for Handhelds

configure an anonymous access to KM

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

Enterprise Portal Logon Page Branding

xmii UDS Overview and Troubleshooting

How to Browse an Enterprise Services Registry in Visual Composer

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

How to Create a New SAPUI5 Development Component

SAP NetWeaver How-To Guide

How To... Reuse Business Objects and Override Operations of a Business Object

View Time Security for crystalreports.com

How To Troubleshoot SSL with BPC Version 1.01 May 2009

How To Extend User Details

How To... Configure Integrated Configurations in the Advanced Adapter Engine

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

Configure SSO in an SAP NetWeaver 2004s Dual Stack

Process Control 2.5 Implementation Checklist

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

Extracting Product Attributes in XML using Web Service

Integrate a Forum into a Collaboration Room

How-To... Add Sensitive Content into an Area

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Web Intelligence Caching in BusinessObjects Enterprise XI Release 2

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

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

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

Introducing SAP Enterprise Services Explorer for Microsoft.NET

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

Installation Guide Business Explorer

Working with Select Options in Web Dynpro for ABAP

Value Help in Web Dynpro ABAP - Tutorial.

How To... Configure Drill Through Functionality

How To Configure IDoc Adapters

How To... Master Data Governance for Material: File Down- and Upload

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

Simplified Configuration of Single System Update in Maintenance Optimizer

Extract Archived data from R3

Create Monitor Entries from a Transformation routine

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

What's New in the DBA Cockpit with SAP NetWeaver 7.0

Monitoring System Landscapes Using the DBA Cockpit

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

How To... Use the BPC_NW Mass User Management Tool

Create Monitor Entries from an update routine

SAP NetWeaver How-To Guide

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

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

Consuming Directory API in ABAP

SAP Composite Application Framework. Creating a Content Package Object

Setting Up an Environment for Testing Applications in a Federated Portal Network

How To Build the Carry Forward and Account Transformation Business Rules

How To Generate XSD Schemas from Existing MDM Repositories

SAP NetWeaver 04. Unification Terminology

Backup & Restore with SAP BPC (MS SQL 2000)

Setting up Single Sign On Between xmii and Enterprise Portal

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

Configure Peripheral Drivers with Mobile Infrastructure

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

Hardware Requirements

How-to Guide SAP EPM. How To Use Comments. Version 1.00 March Applicable Releases: EPM BPC 5.1 Microsoft & EPM BPC 7 Microsoft

JMS Clustering and Failover

How to Use Definitions in Rules Composer

Run SAP BPC in a VMware environment Version 1.00 December 2008

Optimize the RFC performance for mysap CRM Mobile Sales Version 1.00 April Applicable Releases: SAP CRM Mobile Sales and Service 4.0 and 5.

WDJ: Adaptive Web Service Model Controller Coding Explained

Using Tools to Represent Appraisal Status Flow (HR module Objectives Settings and Appraisals ) as Diagram

Handle. How-to Guide SAP NetWeaver 2004s. Version 1.00 Sept 2006

Tutorial: Consuming Web Services in Web Dynpro Java

Business Rules Framework plus Workbench

Transcription:

SAP BPC 5.0 & 5.1 Performance and Reliability tips Applies to: EPM-BPC 5.0 and 5.1 For more information, visit the Enterprise Performance Management homepage. Summary This is short list of hints to solve common performance and reliability issues of SAP Business Performance and Consolidation (aka BPC) 5 and 5.1. Most of them were come from troubleshooting of escalated customers. Since BPC 7 for Microsoft is direct child of 5.1, many of these hints are still valid even under BPC 7 for Microsoft platform. Author: Seongbae Kim Company: SAP Created on: 15 December 2008 Author Bio BPC Lead developer RIG customer care team 2009 SAP AG 1

Table of Contents EVDRE query issue (error)...3 SQL 2000 OLAP with default provider...3 Timeout error of logic...3 IIS authentication in application server...3 InApp property...4 EVDRE design pattern...4 SQL 2005 Analysis Service parameters...4 SQL tempdb tuning...5 Avoid using multiple level calculation...5 Copyright...6 2009 SAP AG 2

EVDRE query issue (error) If user has white dialog EVDRE error in their Excel client, we have following checkpoints: Version of SQL Analysis Service. If it is low, apply Microsoft cumulative updates for SQL 2005 SP2 is highly recommended. Additional information of SQL 2005 updates is in following address: http://support.microsoft.com/kb/937137/ln/ If there is no error in server log (evdataserver_debug.txt), client EVDRE_LOG.txt must be checked. If there is a problem regarding decompress, BPC 5.1 SP2 PATCH3 OR SP3 (or above) with DO_COMPRESS option is answer. Note that DO_COMPRESS option is making response from server non-compressed. Noncompressed response is default protocol in BPC 7 for MS. SQL 2000 OLAP with default provider If user s system using SQL 2000 with BPC 5.x, following option is highly recommended to prevent memory leak of application server: Change or create a system parameter, USEADOMD with 0 as value of it. Change or create an application parameter, OLAPEXTRACONN with Client Cache Size=5000 as value of it. 5000 is 5Mbytes. It can be changed to any other value you want to use size of cache. To use this method, you must install ADOMD.NET provider to application server. It is provided in Server folder of BPC installation package. Note that default provider of SQL 2000 has potential memory leak in application server. Timeout error of logic If there is logic timeout problem, following logic statements may help to resolve it. XDIM_MEMBERSET to define source range. If logic script is using dedicated range of members in dimension, this is always recommended to use. (Ex: XDIM_MEMBERSET CATEGORY = ACTUAL, BUDGET) XDIM_MAXMEMBERS to define number of record can be processed at once. If range of source exceeds this value, an internal loop will be generated to process all of intersection in range by this value. (Ex: XDIM_MAXMEMBERS Entity = 50) IIS authentication in application server In BPC5, authentication method of IIS is integrated only in some of customer s configuration. This is not following BPC s standard configuration but working because of architecture of BPC 5.x even it is working fine, apparently. But under this configuration, SQE s detail debug log (EVDATASERVER_DEBUG.txt) is not able to populate. 2009 SAP AG 3

InApp property In BPC 5 with SQL 2005, limited number of dimension property can be InApp property. InApp properties are stored in both of mbr table and OLAP cube. Only InApp properties can be used in MDX statement. Definition of MDX statement in BPC is following: Property in member formula. (Ex: [TIME].PREVMEMBER.PROPERTIES( MONTHNUM )) MDX syntax logic. (Ex: *XDIM_MEMBERSET TIME=STRTOMEMBER( [ +TIME].[%TIME_SET%].PROPERTIES( MONTHNUM )+ ) ) Typical property check routine of logic script is using MBR table. (Ex: *WHEN ENTITY.GEO *IS ASIA ) Number of InApp is affecting overall performance of data retrieval. Especially, ROLAP partition of cube. So, reduce number of InApp property is always recommended. With many properties, difference is significant. Note that InApp property with SQL 2000 is not tested in same way as SQL 2005. EVDRE design pattern One pattern of EVDRE report/schedule design that must avoid is multiple nested expansions with suppression. Suppression is going to make long non-optimized MDX query and potentially executing forever. And it is consuming a lot of CPU and memory in both of OLAP and application server. It is so temptation pattern but need a lot of consideration to use. SQL 2005 Analysis Service parameters To get maximum performance of SQL 2005 Analysis Service, default parameter setting must be tuned with following suggestion: CoordinatorExecutionMode - This value can be changed with careful test. Negative number is controlling number of jobs that running by each CPU. Positive number is controlling number of jobs running by whole CPU. ThreadPool\Process\MaxThreads - General recommendation is less than or equal to 10 times of CPU. But can be increase if there are a lot of small MDX queries than one big MDX query. Default (64) also can be widely accepted for most of time. If OLAP server is using 16 or more CPU, set it to higher number to use 100% of CPU. ThreadPool\Query\MaxThreads - Most magical and mystic parameter to control thread of query. General recommendation is two less than or two times of number of CPU. Can be increased with careful test. In case of lots of small MDX query, increase to higher than general recommendation is also an option. Above 3 parameters are most important. If report or input schedule designed to multiple piece of small MDX query (in the other word, multiple EVDRE), higher than general may helps the performance issue. 2009 SAP AG 4

SQL tempdb tuning Since SQE (Shared Query Engine), business rule, SG (Send governor) are using temporary table heavily and frequently, optimize tempdb in SQL server is very important. Following optimization is highly recommended in both of SQL 2000 and 2005. Make tempdb data files to equal number that CPU of SQL server. Turn off auto-file growth of tempdb files. And set enough size of initial file size to each tempdb files. But there is serious problem if total amount of tempdb space is not enough in runtime. So, initial size of file must be decided carefully. Set initial size of each tempdb files are same. In weight round-robin mechanism of SQL server, bigger file has more priority. So, same size of data files is important to spread read/write activities. Place each tempdb files to different logical/physical disk volume if possible. Practically, it is almost impossible because equal number of physical drive is difficult to implement. Even in logical volume also. Turn on SQL trace flag 1118. Simple command DBCC TRACEON (1118) is making that change but not globally. To make it system default, change it by SQL startup setting is necessary. (Note this trace flag 1118 is not required to use in SQL 2005.) These changes are regarding tempdb. The contents of SQL performance is a size of books. Other SQL performance tuning is always important. Avoid using multiple level calculation Regarding SQL 2005 Analysis Service s calculation performance issue, avoid using multiple-level calculation. In simple example, do not use calculated member to use the source of other calculated member. If any MEASURE member has multiple-level calculation, performance of that MEASURE will be greatly worse. 2009 SAP AG 5

Copyright 2009 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, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, System i, System i5, System p, System p5, System x, System z, System z9, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, POWER5+, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C 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. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. Any software coding and/or code lines/strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. 2009 SAP AG 6