Web Intelligence Caching in BusinessObjects Enterprise XI Release 2

Similar documents
MDM Syndicator Create Flat Syndication File

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

Visual Composer - Task Management Application

Cache Settings in Web Page Composer

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

Consuming Web Dynpro components in Visual Composer.

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

What s New / Release Notes SAP Strategy Management 10.1

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

Web Page Composer anonymous user access

Do Exception Broadcasting

Install TREX for CAF Version 1.00 March 2006

View Time Security for crystalreports.com

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 NetWeaver How-To Guide

How To Extend User Details

Enterprise Portal Logon Page Branding

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

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

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How to Use Function Keys in Mobile Applications for Handhelds

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

configure an anonymous access to KM

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

Visual Composer Build Process

Integrate a Forum into a Collaboration Room

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

How to Browse an Enterprise Services Registry in Visual Composer

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

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

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

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

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

Introducing SAP Enterprise Services Explorer for Microsoft.NET

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

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

How To...Configure Integration of CUP with SPM

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

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

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

How to Create a New SAPUI5 Development Component

How to Translate a Visual Composer Model Part I

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

Building a Tax Calculation Application

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

BusinessObjects Enterprise XI 3.0 with Complex NAT Networks

Process Control 2.5 Implementation Checklist

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

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

How To Generate XSD Schemas from Existing MDM Repositories

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

Extracting Product Attributes in XML using Web Service

How To Configure IDoc Adapters

Simplified Configuration of Single System Update in Maintenance Optimizer

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

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

SAP NetWeaver How-To Guide

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

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

xmii UDS Overview and Troubleshooting

How To Troubleshoot SSL with BPC Version 1.01 May 2009

Monitoring System Landscapes Using the DBA Cockpit

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

Extract Archived data from R3

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

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

Consuming Directory API in ABAP

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

SAP BPC 5.0 & 5.1 Performance and Reliability tips

SAP Composite Application Framework. Creating a Content Package Object

Value Help in Web Dynpro ABAP - Tutorial.

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Working with Select Options in Web Dynpro for ABAP

Configure Peripheral Drivers with Mobile Infrastructure

How To... Configure Drill Through Functionality

Installation Guide Business Explorer

Business Rules Framework plus Workbench

Best Practices Using KMC Capabilities in an External Facing Portal Version 1.00 October 2006

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

Single Sign-on For SAP NetWeaver Mobile PDA Client

Setting up Single Sign On Between xmii and Enterprise Portal

Send Multiple IDocs Within One XI Message

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

Tutorial: Consuming Web Services in Web Dynpro Java

DOE s Attachment Capability - with a Sample Application

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

Create Monitor Entries from a Transformation routine

JMS Clustering and Failover

How to Use Other Conditions in Decision Tables in Rules Composer

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

Crystal Reports 2008 FixPack 2.4 Known Issues and Limitations

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

SAP NetWeaver Identity Management Identity Center Minimum System Requirements

How to Handle the System Message in SAP NetWeaver Mobile 7.1

Create Monitor Entries from an update routine

How to Use Definitions in Rules Composer

How To Set Up and Use the SAP ME Work Instructions Feature

How To Customize the SAP User Interface Using Theme Editor

Backup & Restore with SAP BPC (MS SQL 2000)

Transcription:

Web Intelligence Caching in BusinessObjects Enterprise XI Release 2 Applies to: BusinessObjects Enterprise Web Intelligence XIR2 For more information, visit the Business Objects homepage. Summary This document explains how Web Intelligence caching works in BusinessObjects Enterprise XIR2. Understanding the caching behaviors will help in tuning the environment to be more efficient and can help in increasing performance of Web Intelligence reporting. Author: Carly Trow, Senior Engineer Company: SAP Business Objects Created on: 03 December 2007 Author Bio Carly Trow, Senior Engineer I started with Business Objects in January 2005 on the Web Intelligence team. Within a year, I was collaborating with colleagues on training plans for WebI and even spent some time in India training newly hired engineers. In October 2006, I accepted the role of a Web Intelligence Resource on the Architecture team, which has translated to Senior Engineer in the current support structure on the IDD-WebI team. 2009 SAP AG 1

Table of Contents Introduction...3 WebIntelligence Workflows...3 Viewing on Demand...3 Viewing a Scheduled Instance...4 WebIntelligence Cache Settings in the CMC...5 List of Values Caching...5 Enable Viewing Caching...5 Enable Real Time Caching...5 Document Cache Duration...5 Document Cache Size...5 Amount of Cache to Keep When Document Cache is Full...6 Document Cache Scan Interval...6 Maximum Number of Downloaded Documents To Cache...6 WebIntelligence Cache Sharing...6 Scheduling Using Pre-cache Options...6 HTML Pre-Cache...6 Excel Pre-Cache...7 PDF Pre-Cache...7 Related Content...8 Copyright...9 2009 SAP AG 2

Introduction WebIntelligence does not use a separate cache server as Crystal Reports and Desktop Intelligence does. The WebIntelligence Report Server and the Business Objects SDK handles caching. The purpose of caching is to prevent the report from hitting the database again and process the report again, thus saving time and processing cycles. WebIntelligence Workflows The following workflows represent a single server machine process flow which may or may not include multiple WebI Report Servers. It is important to note that in a clustered environment the cache is associated to the Report Server that created it. Therefore if a request hits the Business Objects Enterprise system, and the architecture load balances the request to a WebI Report Server that does not contain the cached files, the performance gains resulting from the generated cache will not be realized. With the introduction of SP2 to XI R2, the ability exists to share these cache files amongst WebI Report Servers see section below, WebIntelligence Cache Sharing. Viewing on Demand Scenario: User attempts to view a WebI report that has been recently added to a Public Folder and has not yet been viewed. No cache currently exists and the report has Refresh on Open disabled. 1. The WebI Report Server retrieves the report template file (.wid) and the associated Universe template file (.unw) from the Input File Repository s File Store 2. The WebI Report Server merges the report data into the template and copies the resulting.wid file to the cache directory 3. WebI s cache directory post CHF15: a. Unix: <BOInstallDir>/bobje/data/<server_CMSport>/storage/docs/<#>/#.wid_ b. Windows: <BOInstallDir>\BusinessObjects Enterprise 11.5\Data\<server>\storage\docs\<#>\ c. Ex: /home/carly/xir2/bobje/data/kermit_50064/storage/docs/00000088/ 00000002.wid_/00000002.wid Note: XML files are created to reproduce the structure, format, and design of the report. If any calculations are executed using the report data, the resulting calculations are included in the XML data. No further calculations are required once the XML files are created. 4. The XML files are generated in that cache directory under: a. In UNIX i. XIR2 though SP2: /en_us/xmlpaginated/<page#>/blob#.xml Full path example: /home/carly/xir2/bobje/data/kermit_50064/storage/docs/000 00088/00000002.wid_/en_US/XMLPaginated/1/Blob1.xml ii. XIR2 SP3: /en_us/xmlpaginated.drilloff/<page#>/blob#.xml Full path example: /home/carly/xir2/bobje/data/kermit_50064/storage/docs/000 00088/00000002.wid_/en_US/XMLPaginated.drilloff/1/Blob1.x ml b. In Windows i.xir2 through SP2: \en_us\xmlpaginated\<page#>\blob#.xml Full path example: 2009 SAP AG 3

E:\xir2\BusinessObjects Enterprise 11.5\Data\carlyr2sp2\storage\docs\00000057\00000001.wid_ \en_us\xmlpaginated\1\blob1.xml ii.xir2 SP3: \en_us\xmlpaginated.drilloff\<page#>\blob#.xml Full Path example: E:\xir2\BusinessObjects Enterprise 11.5\Data\carlyr2sp2\storage\docs\00000057\00000001.wid_ \en_us\xmlpaginated.drilloff\1\blob1.xml 5. A Blob#.xml file is generated for each page and report of the WebI document. 6. The XML file is generated as each page is viewed. NOTE: any report level functions, variables, calculations are performed during the.wid to.xml file creation. 7. The XML file is stored in cache until the cache file size limit or cache duration time has been exceeded. 8. As a user views the report the XML files are converted into HTML files viewable by the end user s browser by the Business Objects SDK (REBEAN). 9. The conversion from XML to HTML is known as XSL Transformation and occurs on the client side. Extensible Style-sheet Language Transformations (XSLT) is an XML-based language used for the transformation of XML documents into other XML or "humanreadable" documents. The original document is not changed; rather, a new document is created based on the content of an existing one. XSLT is most often used to convert data between different XML schemas or to convert XML data into HTML or XHTML documents for web pages, creating a dynamic web page, or into an intermediate XML format that can be converted to PDF documents. Viewing a Scheduled Instance The following scenarios assume all WebI Report and Job servers are on the same server machine or there is only one set of WebI Report and Job servers. Scenario: User1 schedules a WebI Report to refresh using all of the default options of the scheduler (default formatting, default destination, no caching options set, etc). User1 logs into Infoview and views the WebI Report instance. 1. During scheduling, the WebI Report Server retrieves the report template and merges it with data refreshed from the reporting database. 2. A copy of the resulting.wid is saved to the FRS Output File Store. 3. When the report is viewed, the same scenario occurs above except that the.wid is retrieved from the Output FRS File Store location and copied into the WebI Report Server s cache directory. 4. The XML files are generated one by one as User1 views each page of the instance in the same location as when viewing the report on demand. Scenario: User2 logs into Infoview and views the report instance that User1 had scheduled above. 1. By default, the cache generated by User1 will only be used if User1 and User2 belong to the same user group with the same permissions on the report. Therefore User2 will see the same initial delay as cache is being generated that User1 sees when viewing the instance for the first time. 2. This delay is caused as the files are being regenerated in the WebI Report Server temp session folder: a. <$BOBJEDIR>/data/<server>/<server>.Web_IntelligenceRepor tserver/sessions/... 3. This delay may be negligible depending on the report s complexity. If many report level variables exist that perform calculations on the report s data cube, this initial view time may take much longer. 4. To share user cache between users, enabling the following permission from the CMC at the report or folder level: 2009 SAP AG 4

a. Home > BusinessObjects Enterprise Applications > Web Intelligence > Advanced Rights : "Merge dimensions for synchronization" b. Enable this for either the user or user group. This will allow for User2 to be able to utilize User1 s generated cache. 5. For very complex reports where the initial view of the instance takes too long to display, HTML pre-caching should be utilized during scheduling. See below for more information on this option. NOTE: If Report and Job Servers are located on separate physical servers, cache sharing between these servers can be achieved by adding the command line switch storageroot <shared path> to the WebI Report Servers command line. In UNIX this would be accomplished through the ccm.config file. Report level functions, variables, calculations are performed during the.wid to.xml file creation. WebIntelligence Cache Settings in the CMC (Excerpts from the XIR2 Deployment and Configuration Guide) List of Values Caching Enables or disables caching per user session of list of values in WebIntelligence Report Server. The default is for the feature to be on. Enable Viewing Caching When this parameter is on, real-time caching is possible for WebIntelligence documents when they are viewed, or when they are generated as a result of having been run as a scheduled job. When this parameter is off both real-time caching of WebIntelligence documents and viewing of cached Web Intelligence documents is impossible. Real-time caching is done only if both this parameter and the Enable Real Time Caching parameters are on. Enable Real Time Caching When this parameter is on, it allows the WebIntelligence Report Server to load document states in active memory as they are viewed or run as scheduled jobs. This will increase performance of report navigation when viewing on demand because it stores the previously viewed pages in memory. When the parameter is off, the Web Intelligence Report Server does not cache the Web Intelligence documents in memory, but cache files will continue to be written to the WebI Report Server s cache directories if Viewing Caching is enabled. This parameter is taken into account only when the Enable Viewing Caching is set to on. Note: To improve system performance, set the Maximum Number of Downloaded Documents to Cache to zero when this option is selected, but enter a value for Maximum Number Of Downloaded Documents To Cache when this option deselected. Document Cache Duration The amount of time (in minutes) that content is stored in cache. Document Cache Size The size (in kilobytes) of the document cache. 2009 SAP AG 5

Amount of Cache to Keep When Document Cache is Full If the storage size is bigger than the allocated storage size, the system will delete documents with the oldest last accessed time. Then if the cache size still exceeds the maximum storage size, the Web Intelligence Report Server will clean up the cache until the amount of cache percentage is reached. Document Cache Scan Interval The number of minutes that the system waits before checking the document cache for cleanup. Maximum Number of Downloaded Documents To Cache The number of Web Intelligence documents that can be stored in cache. Note: To improve system performance, set this value to zero when Enable Real Time Caching is selected, but enter a value when Enable Real Time Caching is deselected. WebIntelligence Cache Sharing In a clustered environment that spans multiple server machines, it is possible to configure XI R2 w/sp2 to share the cache files generated by the WebI Report Server. To do so you must add the following switch to the startup command line -storageroot <SharedDirectoryPath> Where <SharedDirectoryPath> is a UNC Share in a Windows environment or a UNIX mount point that has Full Control rights and permissions to the service or user account running the WebI Report Server service or daemon. Note: In a Windows environment, it is inappropriate to use a drive letter mapping as it is specific to a user environment profile and would not exist when the code is running in service mode Scheduling Using Pre-cache Options HTML Pre-Cache HTML Pre-caching can be used to generate the XML files at schedule time instead of at view time of the instance. This is particularly useful for complex reports including those that contain many report level variables that perform calculations on the data stored in the data cube of the WebI document. Using HTML pre-caching in WebIntelligence does not actually generate HTML files, but XML files. The XML files are converted into browser readable files (HTML, image files) when viewed. The SDK does this XSL Transformation on the fly. To enable HTML pre-caching from the CMC: 1. Login to the CMC. 2. Navigate to the report to be scheduled. 3. Click Properties > Schedule > Caching Options 4. Under Select the Formats to Pre-Load the Cache with when Scheduling check Standard HTML 5. Next select the locale the cache files are to be created in. 6. Click the Update button. 7. Click back on the Schedule tab. 8. Click Schedule button. 2009 SAP AG 6

To enable HTML pre-caching from Infoview: 1. Login to the Infoview. 2. Navigate to the Folder containing the report to be scheduled. 3. Click Schedule link below report name. 4. Expand the Caching the Options section. 5. Under Select the Formats to Pre-Load the Cache with when Scheduling check Standard HTML 6. Next select the locale the cache files are to be created in. 7. Click Schedule button. When the report schedule runs, the same caching workflow occurs as mentioned in the workflows above. The extra step taken for pre-caching is that the.wid is converted into the XML files at schedule time prior to the user viewing the instance. One XML file is generated per report page. These XML files are stored in the following location: XIR2 through SP2: /en_us/xmlpaginated/<page#>/blob#.xml XIR2 SP3: /en_us/xmlpaginated.drilloff/<page#>/blob#.xml Other XML files are cached at schedule time that are entire reports rather than being broken down 1 XML blob per page. This XML is used for viewing a WebI document in Draft Mode. It is cached under the WebI Report cache directory: /en_us/xmldraft/#/blob#.xml The # directory in this case is related to the reports or sub-reports within a WebI document (tabs) and not related to a page number. Excel Pre-Cache Excel pre-caching is similar to HTML pre-caching except that the report is converted to an Excel format at the time of scheduling and stored in cache. This cache will be used when saving or exporting the WebI Report instance to Excel rather than having to perform the conversion on the fly. The resulting XLS file is cached under the WebI Report Server cache directory: Standard: /en_us/excel/1/blob#.xls Optimized for Formatting: /en_us/exceloptimised/1/blob#.xls Full Path Example: /home/carly/xir2/bobje/data/kermit_50064/storage/docs/00000030 /00000002.wid_/en_US/Excel/1/Blob3.xls PDF Pre-Cache This cache will be used when viewing, saving or exporting the WebI Report instance in PDF format rather than converting on demand. The resulting PDF file is cached under the WebI Report Server cache directory: en_us/pdf/<page#>/blob#.pdf Full Path Example: /home/carly/xir2/bobje/data/kermit_50064/storage/docs/00000030 /00000002.wid_/en en_us/pdf/1/blob1.pdf 2009 SAP AG 7

Related Content BusinessObjects Enterprise XIR2 Administrator s Guide: http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_admin_en.pdf BusinessObjects Enterprise XIR2 Administrator s Reference Guide: http://help.sap.com/businessobject/product_guides/boexir2/en/xir2_bip_admin_en.pdf Information on XSL Transformation: http://en.wikipedia.org/wiki/xsl_transformations For more information, visit the Business Objects homepage. 2009 SAP AG 8

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 9