Database Statistics During ODS Activation

Similar documents
Process Chain Log Deletion

Step by Step Method for File Archival in BW

Step By Step: the Process of Selective Deletion from a DSO

DB Connect with Delta Mechanism

How to use Boolean Operations in the Formula as Subsidiary for IF Condition

Using Radio Buttons in Web Template

Recreating BIA Indexes to Address the Growth of Fact Index Table

Standalone BW System Refresh

Extracting Missing Fields of Data Source Which Are Present In Their Extract Structure

Cut Over Activities Specific for LIS* Data Sources

Step by Step Procedure for DSO Creation

Developing Crystal Reports on SAP BW

How to Create and Schedule Publications from Crystal Reports

Step-By-Step guide to Virtual InfoCube Implementation

How to Create View on Different Tables and Load Data through Generic Datasource based on that View

Validity Table in SAP BW/BI

Extraction of Hierarchy into Flat File from R/3 and Loading in BW System

Replacement Path: Explained with an Illustrated Example

Reporting Duplicate Entries

Information Broadcasting Part 3 Scheduling the First Report

Linking Documents with Web Templates

Integration of Web Dynpro for ABAP Application in Microsoft Share Point Portal

Creating Custom SU01 Transaction Code with Display and Password Reset Buttons

Using Query Extract to Export Data from Business warehouse, With Pros and Cons Analyzed

How to Default Variant Created for Report Developed In Report Painter/Writer

Step by Step Guide on How to Use Cell Definition in BEx Query

How to Check BW system Before Go-Live

MDM Syndicator: Custom Items Tab

Implying Security on Business Object XI 3.1 Universe having SAP BW as Source

How to Display Result Row in One Line While Reporting On Multiproviderer

Data Mining: Scoring (Linear Regression)

Data Flow During Different Update Mode in LO Cockpit

Material Master Archiving in Simple Method

Maintaining Roles and Authorizations in BI7.0 - RSECADMIN

Freely Programmed Help- Web Dynpro

Using Nested Exception Aggregation in BEx Reports- Scenario

Financial Statement Version into PDF Reader

Xcelsius Tricks Part 5 Create a Loading Bar in SAP Crystal Dashboard and Presentation Design (Xcelsius 2008)

Add /Remove Links on ESS Home Page in Business Package 1.5

How to Work with F4 Input Help Effectively in BEX

MDM Import Manager - Taxonomy Data (Attribute Text Values) Part 3

All about Compression

Errors while Sending Packages from OLTP to BI (One of Error at the Time of Data Loads through Process Chains)

Changing the Source System Assignments in SAP BW Objects without Affecting the Data Modeling

Data Inconsistency in the Cube and Aggregate

How to Reference External JAR Files in Web Dynpro DC in SAP NW Portal 7.3

How to Broadcast BEx Workbooks using BW Pre-calculation Server and through Process Chains

About ITAB Duplicate_Key (SAP lrsaods) Runtime Error

List of Values in BusinessObjects Web Intelligence Prompts

Procedure to Trigger Events in Remote System Using an ABAP Program

Managing Transports in SAP BW 3.5 and BI 7.0

Easy Lookup in Process Integration 7.1

Table Row Popup in Web Dynpro Component

Performance Management in Data Loading: an Overview

Data Source Replication and Activation of Transfer Structures

Material Listing and Exclusion

Reading Enhanced DataSource fields for the Remote Cube

SAP BW Copy Existing DTP for Data Targets

Using Rule Group in SAP-BI. Part - 1

POWL: Infoset Generation with Web Dynpro ABAP

How to Configure User Status in mysap SRM

Material Master Extension for New Plant

Explore to the Update Tab of Data Transfer Process in SAP BI 7.0

Triggering the Process Chains at Particular Date using Events

Generate Export Data Source

SAP BI BO Unit/Currency Logic for Unknown Units Case Study

How to Display Traffic Lights for Exceptions in BI Web Reports

Creation of Key Figures with Higher Decimal Place Precision

Data Mining: Decision Trees

Currency Translation in SAP BI Step by step Guide

Graphical Mapping Technique in SAP NetWeaver Process Integration

Customized Transaction to Trigger Process Chain from Failed Step

How to Create Top of List and End of List of the ALV Output in Web Dynpro for ABAP

Data Extraction & DS Enhancement in SAP BI Step by Step

Displaying SAP Transaction as Internet Application in Portal

Step by Step Guide How to Use BI Queries in Visual Composer

Setting up Connection between BW and R/3 for Data Load

Positioning of CML of SAP s LSA with NLS SAND as Archiving Technology

ecatt Part 6 System Data Container

Open Hub Destination - Make use of Navigational Attributes

Creation of Sets in SAP-ABAP, How to Read them INI SAP-ABAP Reports

Hierarchy in Business Objects with Expanded Hierarchy Logic

Download SAP Query Output to Local/ Network Folders in Background

Steps to Activate ALE Delta for Custom Master Datasource Created on ZTable

SAP BW vs. SAP BusinessObjects Web Intelligence Functionalities

SDN Community Contribution

Information Broadcasting Part 1 System Parameter Setting

Solution to the Challenges in Pivoting

Methods of Selecting BOM Variant Parts in Variant Configuration

SUP: Personalization Keys and Synchronize Parameter

SAP BI Analysis Authorization (Customer Exit Variables)

BW Reconciliation. Applies to: Summary. Author Bio

Load Info Cube in SCM 5.0 (BI 7.0)

Config Tool Activities

Common Queries/Errors while working with Adobe Print PDF Forms

Open Text DocuLink Configuration - To Access Documents which are Archived using SAP

SAP QM-IDI Interface. SDN Contribution. Applies to: Summary. Author Bio. SAP QM Interfaces

SDN Community Contribution

Step By Step Procedure to Implement Soap to JDBC Scenario

Template Designer: Create Automatic PDF Documents for Attachment or Print Purpose

Transcription:

Database Statistics During ODS Activation Applies to: SAP BW (3.5) / SAP BI (7.0). For more information, visit the EDW homepage Summary ODS Activation step periodically recalculates the statistics. This can be a overhead if the activation step is critical. In order to suppress the statistics step the document can be referred. The document also mentions the need for statistics. Author: Srivatsan.S Company: Infosys Technologies Limited Created on: 24 Feb 2011 Author Bio Srivatsan is working with Infosys Technologies Limited. He has got rich experience in implementation of various projects in both SAP BW 3.5 and SAP Bi 7.0. 2011 SAP AG 1

Table of Contents Scenario:... 3 Overview on Database Statistics:... 3 Ignoring Statistics Recalculation & Resetting:... 3 Procedure to Ignore Statistics Recalculation:... 3 Procedure to Reset the Statistics Settings:... 5 Statistics Status During the above Process:... 6 Old Statistics:... 6 Disadvantages of Database Statistics:... 6 Related Content... 7 Related Content... 7 Disclaimer and Liability Notice... 8 2011 SAP AG 2

Scenario: This scenario occurred during the production support activity for our retail client. The timelines for the load completion is very critical for our account since the dependencies are more. One such situation occurred where the activation step for an ODS was stuck for a very long time. On checking the Activation Job Logs, we found that the job was performing the statistics recalculation as shown in the screenshot below. This paves way for the document on Database Statistics during ODS Activation. Overview on Database Statistics: During the ODS activation process the statistics are generated for both 00 (Active table) and 40 (New Table) tables of the ODS. This can under circumstances slow down the activation process. However this step is essential for query performance over the ODS. Note: The Statistics recalculation step does not trigger every time the activation job is executed. This is not a periodic event as well. This process starts when the statistics seemed to have been corrupted. Ignoring Statistics Recalculation & Resetting: The statistics recalculation step at times causes an overhead during critical data load activation processes. For example: Consider the scenario where the ODS data has to be pushed further to a series of Infocubes on time and the process is stuck in the activation step of the ODS. The Statistics step can be ignored using the Report: RSSM_SUPPRESS_STATISTICS Note: The above program mentioned RSSM_SUPPRESS_STATISTICS is to be used during the activation process. Also note that the statistics will have to be manually generated if this option is used. Procedure to Ignore Statistics Recalculation: 1. Go to SE38 and type the program RSSM_SUPPRESS_STATISTICS and Execute. 2. The program RSSM_SUPRESS_STATISTICS has option to enter the ODS name and it gives 2 checkboxes. The check boxes work according to the following logic. 2011 SAP AG 3

1. Check DB St. Deactivated before Act and Check DB St. Deactivated after Act: This option will suppress the Statistics step totally for the particular ODS. 2. Check DB St. Deactivated before Act and Uncheck DB St. Deactivated After Act: This option will suppress the Statistics step before the Activation Step and Enable it after the Activation is complete.(recommended) 3. Uncheck DB St. Deactivated Before Act and Check DB St. Deactivated After Act: This option will suppress the Statistics step after the Activation Step (not recommended as it would have no effect). 4. Uncheck DB St. Deactivated Before Act and Uncheck DB St. Deactivated After Act: This option will enable the Statistics step totally for the particular ODS. Let us proceed with Step 2: 3. Once the above step is executed with ODS name the following screen appears: 4. This program basically changes the fields of the Table RSODSSETTINGS. 2011 SAP AG 4

Procedure to Reset the Statistics Settings: 1. Go to SE38 and type the program RSSM_SUPPRESS_STATISTICS and Execute 2. Enter the ODS name and Execute. Please note that the both the check boxes are to be unchecked. 3. Once the above step is executed the following screen appears: 2011 SAP AG 5

4. The changes are reverted back in the Table RSODSSETTINGS Statistics Status During the above Process: The Statistics will not be generated once the above process is followed. It has to be manually generated from DB02 for the particular ODS. Old Statistics: The performance of the old statistics cannot be conclusive as the decision factor is on how well the current data set is represented. Disadvantages of Database Statistics: Every change happening on the statistics can cause changes to the optimizer. In most of the cases regular update of statistics will have a positive effect on performance. 2011 SAP AG 6

Related Content SAP Community Network Forums: Using RSSM_SUPPRESS_STATISTICS... SAP Community Network Forums» Enterprise Information Management» Enterprise Information Management - General Activate Data in ODS Objects For more information, visit the EDW homepage 2011 SAP AG 7

Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. 2011 SAP AG 8