Crank Your BI Performance up to 11 - Sizing, Tuning & Performance Testing James Rapp Jonathan Brown Innovation Center Network, Silicon Valley Active Global Support
How-To Live Example Existing Patterns Pattern Book Overview A pattern book is a 'how to' of an actual deployment / upgrade of SAP BusinessObjects BI software documented as precisely as possible. A pattern book is a manual with step by step instructions on how to successfully deploy / test / upgrade SAP BusinessObjects BI software using a live example BI 4.1 Release how to Upgrade (from 3.1) and Update (from 4.0) Patterns BI 4.0 Release - on Linux and Windows Patterns BOE XI 3.1 Release - on Windows Pattern 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 2
Phase 4 Detailed Objectives Showcase Document Highlight Underscore Share that the SAP BusinessObjects BI 4.1 release is capable of providing rapid access to analytical content under load the seamless integration of SAP Lumira for BI Platform Edition with SAP BusinessObjects BI 4.1 and how customers can benefit from the ultimate combination of powerful BI Platform and sophisticated data governance foundation with SAP Lumira common use cases / scenarios in developing BI content and share the optimal method of consuming them through tuning, testing, and assorted best practices the importance of optimally configuring the platform in order to achieve high performance a repeatable way of conducting performance and load testing in SAP BusinessObjects BI 4.1 release using third party solutions such as JMeter 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 3
Key Tools & Technologies 1. Server o SAP BusinessObjects BI 4.1 SP06 release o Design Studio 1.5 add-on for BIP o Lumira 1.27 for BIP 2. Client Tools o Web Intelligence o Design Studio o Lumira 3. Others o Testing Tool Apache JMeter o Data Sources 2 Data Sources SAP HANA, AnyDB 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 4
Pattern Book architecture SAP HANA Revision 95 12 CPU / 128 GB RAM 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 5
Performance Testing Value Proposition Users are happier with applications that perform well Effective use of server resources results in lower total cost of ownership Increased Customer Satisfaction Lower TCO Performance Testing Improved ROI Drive additional consumption and wide-spread usage based on confidence in platform response Expanded Usage Business use is more effective, resulting in increased returns on the investment As business applications become more complex, it is imperative to consider the impact performance has on our end users. By testing and tuning performance-related aspects, such as response time and throughput, we enable a number of benefits. 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 6
Apache JMeter An Overview Apache JMeter is open source software, a 100% pure Java desktop application designed to load test functional behavior and measure performance. May be used to test performance both on static and dynamic resources (Files, Servlets, Perl scripts, Java Objects, Databases and Queries, FTP Servers, and more). Can be used to simulate heavy load on a server, network, or object to test its strength or to analyze overall performance under different load types. Used to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load. 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 7
Wily Introscope Overview Monitoring Dashboards Root Cause Analysis Service Delivery Enhanced Supportability 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 8
Wily Introscope Architecture 9 Workstation Webview SmartStor Database C++ BI Servers Java BI Servers Application Server Operating Systems CMS Metadata CMS Database Reporting Database 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 9
Wily Introscope Top Down Root Cause Analysis Dashboards BI Platform Tracelog Introscope Investigator Transaction Tracer 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 10
Results 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 11
Things to Consider Array Fetch Size Override Array Fetch Size is automatically optimized by default Sometimes overriding this can result in faster throughput Benchmark to find the optimal setting for your Universes DISABLE_ARRAY_FETCH_SIZE_OPTIMIZATION = Yes parameter in IDT Once disabled, it will use the AFS from the universe TIP: You can see the optimized values in the Connection Serve traces 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 12
Things to Consider Query Stripping for Relational DBs Query Stripping feature removes unused objects from a query This results in smaller queries and result sets Enabled by default for BICS connections Needs to be enabled for Relational Databases TIP: Can be set at Universe, Document and Query Level so check all 3 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 13
Things to Consider Index / Aggregate Awareness at the Semantic Layer Index Awareness takes advantage of indexes on key columns to improve query performance Aggregate Awareness uses pre-aggregated data from the DB to accelerate queries These features take more time to setup correctly but can greatly improve performance More Info on Index / Aggregate Awareness: DOC - Information Design Tool User Guide - Chapter 12 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 14
Things to Consider Platform Search Tweaking Platform Search is set to Continuous Crawl and Metadata by default This can greatly reduce available resources for Reports Schedule Indexing to non-peak hours whenever possible Benefits Ensures Processing Servers are not heavily used for indexing at peak hours Reduces impact when large # of documents is imported during an upgrade/migration 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 15
Things to Consider Balancing your BI Platform Timeouts Timeouts should be tweaked to balance usability and resources Really long timeouts can cause issues with resources Really short timeouts can cause failures and loss of work/productivity BI Launch Pad Default Session Timeout = 20 Mins Webi Idle Document Timeout = 20 Mins BI Launch Pad KBA 1837122 Webi Timeout Admin Guide 30.1.7 A lot of customers set these to 60 minutes which increases session/thread count on Application Server. Ensure you account for this in your sizing and performance testing 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 16
Things to Consider Do not reuse sizing from previous versions Sizing recommendations have changed for BI Platform 4.x (vs XI 3.1 and prior) 64-bit processing server + Architectural changes invalidate previous sizing Heavy usage of Adaptive Processing Server for Service distribution changes the game Be sure to redo your sizing if you are upgrading Resources DOC DOC XLS BLOG Sizing and Deploying SAP BI 4 and SAP Lumira SAP BusinessObjects BI4 Sizing Guide SAP BI 4x Resource Usage Estimator Revisit the Sizing for your deployment of BI 4.x Web Intelligence Processing Servers! 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 17
Things to Consider A Few Resource Considerations Network can become a bottleneck for large data transfers (DB to WIPS) Utilizing network storage for IO intensive workflows is a bad idea (Cache, etc ) Virtualized servers can compete for resources from other VMs CPU speed vs # of CPUs can be a factor to consider Process Explorer is a Great Tool for monitoring live on Windows 2015 SAP SE or an SAP affiliate company. All rights reserved. Customer 18
Thank you Contact information: James Rapp Principal Technical Specialist james.rapp@sap.com Jonathan Brown Support Architect jonathan.brown@sap.com 2015 SAP SE or an SAP affiliate company. All rights reserved.