Professional Documents
Culture Documents
PUBLIC
Agenda
SAP Analytics Cloud - Performance Best Practices when using SAP Analytics Cloud with:
▪ SAP BW live
▪ SAP HANA live
Analytics Designer for SAP Analytics Cloud - Performance Best Practices (in about 30 min)
This document is provided 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. This document is for informational
purposes and may not be incorporated into a contract. SAP assumes no responsibility for errors or omissions in this
document.
This presentation is not subject to your license agreement or any other service or subscription agreement with SAP. SAP
has no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or
release any functionality mentioned therein. This document, or any related presentation and SAP's strategy and possible
future developments, products and or platforms directions and functionality are all subject to change and may be changed
by SAP at any time for any reason without notice. The information in this document is not a commitment, promise or legal
obligation to deliver any material, code or functionality.
All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ
materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements and
they should not be relied upon in making purchasing decisions.
Content contribution: Stephane Perdigeon, Mihaela Radulescu, Silke Jahr, Jacques Buchholz, David Gonzalez,
Matthias Badaire, Radim Bacinschi
Links to
Key Resources
Links to key resources
• SAP Analytics Cloud Best Practices for Performance Blog: click here
• Master Knowledge Base Article on SAP Analytics Cloud performance troubleshooting: click here
• How to enable HTTP/2 to support multi-processing in SAP Analytics Cloud: click here
• SAP Analytics Cloud Optimized View Mode: click here, and here
1. Re-save story
to take advantage of recently released SAP Analytics Cloud performance improvements.
Official documentation:
https://help.sap.com/doc/7b5ec370728810148a4b1a83b0e91070/1610%20000/en-
US/frameset.htm?c7b46000a76445f489e86f4c5814c7e8.html
It can increase backend load, ensure backend is configured to support this increased load
▪ It can increase backend load, ensure backend is configured to support this increased load
• Avoid to load all and filter after – use aggregated data, show detailed information on
other story pages where you can jump to by a using a hyperlink
For details please refer to Blog, SAP Analytics Cloud help and SAP
Note: 2715030
Capture a HAR file using the Network tab in Google Chrome Developer Tools. See article 2280022
for further information.
Capture a performance timeline using the Performance tab in Google Chrome Developer Tools.
See article 2413393.
Review article 2630653 - How to Troubleshoot and Trace SAP Analytics Cloud connecting to on-
premise / acquired / imported data.
Laptop optimization:
▪ Plug laptop in power outlet, do not run on battery
▪ Set high performance power plan
▪ If possible, use wired network, not Wi-Fi
▪ If issue is reproducible without VPN then test without VPN
▪ Stop all apps like outlook and others
▪ Traces should be recorded on a physical machine, not on Citrix
▪ Do not record screen as it takes lots of CPU and disk IO
▪ Do not do conference calls, screens sharing during traces collection.
Chrome optimization:
▪ Use a single tab, close all other unused Chrome tabs
▪ Disable all chrome://extensions
Official Resources
▪ Analytics Designer performance best practices are published
▪ As Blog: https://saphanajourney.com/sap-analytics-cloud/learning-article/performance-best-practices-for-sap-
analytics-cloud-analytics-designer/
▪ Or Developer Handbook: https://saphanajourney.com/sap-analytics-cloud/analytics-designer/ → download
developer handbook → Chapter 13
▪ Story performance best practices are valid for analytic applications as well for those widgets that are
shared between these 2 artifacts (table, chart, geo map etc.)
▪ For details please refer to the best practices of story: https://saphanajourney.com/sap-analytics-cloud/learning-
article/best-practices-for-performance/
▪ SAP Note 2946271 - Performance hints for SAP Analytics Cloud Analytics Designer applications
Most Important:
▪ Loading invisible widgets in Background
▪ Use the Pause Refresh API
▪ Enable Planning for Tables only when planning is used
▪ Use member info object with setDimensionFilter()
Important:
▪ The Design of the Applications
▪ Analytics Designer Script APIs
▪ Widgets
▪ Other Considerations
▪ Keep the scripts for User Interaction Analytic Application Script Execution
widgets:
Widget already loaded
Use pause refresh API to avoid unnecessary model Pause Refresh: true
refresh Planning Enabled: false
▪ Some actions (e.g. data action trigger, data input and
also member update) cause the model refresh. Use
pause refresh script API to avoid unnecessary model
refresh
Executing multiple data
▪ Use mass data entry mode plus the pause refresh actions via script APIs:
together to achieve the better performance Suitable for not long-
▪ Leverage data action technical components /script running data actions
API to trigger multiple data actions and then trigger Manually Refresh Data
data refresh via script API
© 2021 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC
Pause Refresh Script API 3)
Additional Tips:
▪ Reset to refresh paused for charts/tables before
saving the bookmarks
▪ Leverage script API
application.setRefreshPaused to set multiple
widgets. This can reduce the amount of codes.
Browser Mobile
▪ Always try to use Chrome as browser ▪ Number of charts, table and timeseries
▪ take advantage of improved performance with impact the runtime memory
browser caching of apps. This is particularly ▪ Device specification: at least 2GB RAM,
important for apps with multiple charts or better 3GB RAM
models. Cache is valid as long as there are
no structural changes made in the app. Note Application start up mode
that this performance improvement is only
available for Chrome users in a non-incognito ▪ Prefer embed mode in case the toolbar is not necessary
mode.
Using SAC Content / Performance Analysis Tool (avail since Q1/2021 and improved for Q3/2021)
As a first insight into the dashboard startup performance…
CTRL-SHIFT-A
widgets that are accessed from OnInit script but not set to Pause Refresh=true…
▪ To reach the best application start up performance and save system resource, please
smartly combine the following options
▪ Background loading for invisible widgets
▪ Access as less invisible widgets as possible in OnInit event
▪ Always initialize on Startup for the needed widgets in OnInit event
▪ Pause Refresh the invisible widgets and the widgets that are used in OnInit event
▪ Switch off the planning capability of planning tables if they are not needed or not needed at
the application initialization
▪ Apply pause refresh as much as possible to
▪ invisible widgets and
▪ widgets used in OnInit event
▪ Planning use case
▪ Enable end user to do some UI actions and then refresh chart/table at once
▪ Use Member Info Object for filtering to provide member description
www.sap.com/contactsap