SlideShare a Scribd company logo
6
Most read
7
Most read
9
Most read
DSO Job Log and Activation
 Parameters




Applies to:
SAP BW 7.x. For more information, visit the EDW homepage

Summary
This article explains the job log during activation of requests in standard DSO. It explains Transaction
RSODSO_SETTINGS and how the settings influence activation performance.

Author:      Jürgen Noe
Company: Kheto Consulting GmbH
Created on: 8 January 2011

Author Bio
             Jürgen Noe has over 9 years consulting experience in SAP BW projects and ABAP/OO
             programming. Jürgen is presently working for Kheto Consulting GmbH, Germany. He’s working
             mainly on SAP BI 7.0 and SAP BO front end tools. He is specialised in SAP BW backend,
             performance and administration.




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      1
DSO Job Log and Activation Parameters




Table of Contents
1.          DataStore Objects in BW 7.x ................................................................................................................. 3
2.          Manually activation of a request ............................................................................................................ 3
3.          BI_ODSA* and BIBCT* Jobs ................................................................................................................. 4
4.          Transaction for DSO settings ................................................................................................................ 5
5.          Settings for activation ............................................................................................................................ 6
6.          Settings for SID generation ................................................................................................................... 8
7.          Settings for Rollback .............................................................................................................................. 8
8.          DataStore-specific settings .................................................................................................................... 8
9.          Activation in Process chains .................................................................................................................. 8
Related Content ................................................................................................................................................ 10
Disclaimer and Liability Notice .......................................................................................................................... 11




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                        2
DSO Job Log and Activation Parameters




    1. DataStore Objects in BW 7.x
In BI 7.x you have three different kinds of DataStoreObjects (DSO): Standard, write-optimized and direct
update. A Standard DSO consists of a new data and an active date table and a changelog table, which
records the changes. Write-optimized DSO and DSO for direct update consist of an active table only.
In BI 7.x the background process how data in standard DataStoreObjects is activated has changed in
comparison to BW 3.5 or prior. In this article I will explain the DSO activation job log and the settings /
parameters of transaction "RSODSO_Settings". I will describe how the parameters you can set in this
transaction influence DSO activation performance. I will not describe the different activation types.

    2. Manually activation of a request
If you loaded a new request with a Data Transfer Process (DTP) in your standard DSO, data is written to
new data table. You can manually activate the request or within a process chain.
If you manually activate requests, you get following popup screen:




                                       Picture 1: Manual DSO Activation
Button "Activate in Parallel" sets the settings for parallel activating. In this popup you select either dialog or
background. In background you select job class and server. For both you define the number of jobs for
parallel processing. By default it is set to '3'. This means, you have two jobs that can be scheduled parallel to
activate your data, the BIBCTL* jobs. The third job is needed for controlling the activation process and
scheduling the processes. That's the BI_ODSA* job.




SAP COMMUNITY NETWORK                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                       3
DSO Job Log and Activation Parameters


    3. BI_ODSA* and BIBCT* Jobs
The main job for activating your data is "BI_ODSAxxxxxxxxxxxxxxxxxxxxxxxxx" with a unique 25-letter-GUID
at the end. Let's have a look at the job log with SM37.




                                    Picture 2: Job log for BI_ODSA* job
Activating data is done in 3 steps. First it checks status of request in DSO if it can be activated, marked
green in the log. If there is another yellow or red request before this request in the DSO, activation
terminates. In a second step data is checked against archived data, marked blue in the log. In a third step
the activation of data takes place, marked red in the log. During step 3 a number of sub-jobs
"BIBCTL_xxxxxxxxxxxxxxxxxxxxxxxx" with a unique 25-letter-GUID at the end are scheduled. This is done for
the reason to get a higher parallelism and so a better performance.
But how is the data split up into the BIBCTL* jobs? How does the system know, how many jobs should be
scheduled? I will answer this question in chapter 4.
But often, the counterpart seems to happen. You set a high parallel degree and start activation. But
activation even of a few data records takes a long time. In Reference 3 you will find some general hints for
DataStore performance.
I will show you in chapter 4, which settings can be the reason for these long-running activations. After the
last "BIBCTL*" has been executed the SID activation will be started. Unfortunately this is not written to the
job log for each generation step but at the end if the last of your SID generation jobs has been finished.
Let's look at the details and performance settings, how they influence DSO activating so that you may reduce
your DSO activation time.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     4
DSO Job Log and Activation Parameters




   4. Transaction for DSO settings
You can view and change this DSO settings with "Goto->Customizing DataStore" in your manage DSO view.
You’re now in transaction RSODSO_SETTINGS. In Reference 4 at the end of this document you can find a
note for runtime parameters of DSO.




                                     Picture 3: RSODSO_SETTINGS
As you can see, you can make cross-DataStore settings or DataStore specific settings. I choose cross-
DataStore and choose "Change" for now. A new window opens which is divided into three sections:




                             Picture 4: Parameters for cross-datastore settings
Section 1 for activation, section 2 for SID generation and section 3 for rollback. Let's have a look at the
sections one after another.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     5
DSO Job Log and Activation Parameters


    5. Settings for activation
In the first section you can set the data package size for activation, the maximum wait time and change
process parameters.
If you click on the button "Change process params" in part "Parameter for activation" a new popup window
opens:




                                          Picture 5: Job parameters
The parameter described here are your default '3' processes provided for parallel processing. By default also
background activation is chosen. You can now save and transport these settings to your QAS or productive
system. But be careful: These settings are valid for any DSO in your system. As you can see from picture 4
the number of data records per data package is set to 20000 and wait time for process is set to 300, it may
defer from your system. What does this mean? This means simply that all your records which have to be
activated are split into smaller packages with maximum of 20000 records each package. A new job
"BIBCTL*" is scheduled for each data package.
The main activation job calculates the number of "BIBCTL*" jobs to be scheduled with this formula:
<Maximum number of jobs> = Max( <parallel processes for activation>, <number of records in new data> div
<maximum package size> + 2 .
It is the maximum of your number of available processes for activation and the integer part of your number of
records divided by your maximum package size plus 2. One process for the fractal part of your division and
one control process for your BI_ODSA job. So if you have 10000 records only to activate and four processes
for activation, what happens? The result of the Formula Max (4, 2) is 4. Your BW will schedule 3 jobs and
split your 10000 records into your 3 processes to 3333 each.
The default setting of 20000 records can be enough for small DSO or delta DSO where you expect only few
data per load. But if you have mass data like in an initial load for CO-PA with millions of records you should
increase this parameter to speed up your CO-PA activation. Keep this rule of thumb in mind taken from Note
1392715:
<Number of records to activate at once> = <Number of requests> * <Sum of all records in these requests> /
<Package size of the activation step> <= 100.000.
This rule is implemented by note 1157070.
So if you have only a couple of records to activate it can make sense to set your number of parallel
processes to 2 instead of 3. For mass data with expected number of millions of records you can set the




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      6
DSO Job Log and Activation Parameters


number of parallel process to a higher value, for example 6, so that you have 5 processes for activation and
1 control process. This parameter depends of your machine size and memory.
In this note 1392715 you also find SAP some common recommendations for your system and other useful
performance hints:
Batch processes = (All Processes/2)+1
Wait Time in Sec. = 3 * rdisp/max_wprun_time
rdisp/max_wprun_time - RZ11 (Note 25528)
The maximum wait time for process defines the time how long the job is allowed to run and activate data. If
the activation job takes longer than defined, BW assumes system problems or database problems and
aborts this job. If you have high number of data packages you should set the wait time to a higher value, if
you have less data packages set a low value.
One little trick: If you simply count the number of your BIBCTL* jobs in the job log and multiply it with
maximum package size, you know how many records have been activated and how many records still have
to be activated. As further approximation you can take the time how long each activation job BIBCTL* runs
and multiply it by the maximum number of jobs you can calculate how long your activation job will run.
One important point: You can change the parameters for data package size and maximum wait time
for process only if there is no request in your DSO. If you have loaded one request and you change
the parameters, the next request will be loaded with the previous parameter settings. You first have
to delete the data in your DSO, change the parameter settings and restart loading.




SAP COMMUNITY NETWORK                 SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                     7
DSO Job Log and Activation Parameters




    6. Settings for SID generation
In section SID generation you can set parameters for maximum Package size and wait time for processes
too. With button "Change process params" popup described in picture 5 appears. In this popup you define
how many processes will be used for SID generation in parallel. It's again your default value. Minimum
package size describes the minimum number of records that are bundled into one package for SID
activation. With SAP Layered Scalable Arcitecture (LSA) in mind, you need SID generation for your DSO
only if you want to report on them and have queries built on them. Even if you have queries built on top of
DSO without SID generation at query execution time missing SIDs will be generated, which slows down
query execution. For more information to LSA you can find really good webinar from Jürgen Haupt in the
references at the end of the document. Unfortunately SID generation is set as default if you create your
DSO. My recommendation is: Switch off SID generation for any DSO! If you use the DataStore object as the
consolidation level, SAP recommends that you use the write-optimized DataStore object instead. This makes
it possible to provide data in the Data Warehouse layer 2 to 2.5 times faster than with a standard DataStore
object with unique data records and without SID generation! See performance tips for details.
From performance tips for DataStore Objects in help.sap.com you can also find this performance table and
how the parameters “SID generation” and “Unique records” influence DSO activation:
Flag                                          Saving in Runtime
Generation of SIDs During Activation      x   approx. 25%
Unique Data Records                       x
Generation of SIDs During Activation          approx. 35%
Unique Data Records
Generation of SIDs During Activation          approx. 45%
Unique Data Records                       x

The saving in runtime is influenced primarily by the SID determination. Other factors that have a favorable
influence on the runtime are a low number of characteristics and a low number of disjointed characteristic
attributes.

    7. Settings for Rollback
Finally last section describes rollback. Here you set the maximum wait time for rollback processes and with
button “Change process params” you set the number of processes available for rollback. If anything goes
wrong during activation, e.g. your database runs out of table space, an error during SID generation occurs,
rollback will be started and your data is reset to the state before activation. The most important parameter is
maximum wait time for Rollback. If time is over, rollback job will be canceled. This could leave your DSO in
an unstable state. My recommendation set this parameter to a high value. If you've large amount of data to
activate you should take at least double the time of maximum wait time for activation for rollback. You should
give your database enough time to execute rollback and reset your DSO to the state before activation
started.
Button "Save" saves all your cross-datastore settings.

    8. DataStore-specific settings
For a DataStore-specific setting you enter your DSO in the input field as you can see from picture 3. With this
DSO local setting you overwrite the global DSO settings for this selected DSO. Especially if you expect to
have very large DSOs with lot of records you can change your parameters here. If you press button "Change
process params" the same popup opens as under global settings, see picture 5.

    9. Activation in Process chains
I explained the settings for manual activation of requests in a standard DSO. For process chains you have to
create a variant for DSO activation as step in your chain, see picture 6. In this variant you can set the
number of parallel jobs for activation accordingly with button "Parallel Processing".




SAP COMMUNITY NETWORK                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                      8
DSO Job Log and Activation Parameters




                           Picture 6: Process variant DSO activation
Other parameters for your standard DSO are taken from global or local DSO settings in TA
"RSODSO_SETTINGS" during run of the process chain and activation.




SAP COMMUNITY NETWORK          SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                              9
DSO Job Log and Activation Parameters




Related Content
Webinar about Layered Scalabe Architecture
DSO request activation: collective performance problem note
Performance tips for DataStore Objects
Runtime parameters of DataStore Objects




SAP COMMUNITY NETWORK                SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                    10
DSO Job Log and Activation Parameters




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.




SAP COMMUNITY NETWORK                            SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2011 SAP AG                                                                                                                11

More Related Content

PDF
Optimized dso data activation using massive parallel processing in sap net we...
PPTX
Introduction to SAP Gateway and OData
PDF
Lo extraction part 3 extractor logic
PDF
How to run v3 job
PDF
Line item dimension and high cardinality dimension
PDF
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
PDF
Using error stack and error dt ps in sap bi 7.0
PDF
Lo extraction part 4 update methods
Optimized dso data activation using massive parallel processing in sap net we...
Introduction to SAP Gateway and OData
Lo extraction part 3 extractor logic
How to run v3 job
Line item dimension and high cardinality dimension
Solution Manager 7.2 SAP Monitoring - Part 3 - Managed System Configuration
Using error stack and error dt ps in sap bi 7.0
Lo extraction part 4 update methods

What's hot (20)

PPT
SAP Document Management System Integration with Content Servers
PDF
Data migration blueprint legacy to sap
PDF
BADI IMPLEMENTATION.pdf
PDF
User manual rpfieu_saft_1.04_en (1)
PDF
BW Adjusting settings and monitoring data loads
PDF
SAP BI Generic Extraction Using a Function Module.pdf
PDF
Technical Overview of CDS View - SAP HANA Part II
PDF
Performance tuning in sap bi 7.0
PDF
Beginner's guide create a custom 'copy' planning function type
PPTX
PDF
How to create generic delta
PPTX
SAP CPI - DS
PDF
Errors in process chains
PDF
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
PDF
Enhancing data sources with badi in SAP ABAP
PDF
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
PDF
Guidelines to determine the right interface when integrating with sap systems...
PDF
Bw writing routines in update rules
PDF
How to add new Object Link in SAP DMS
PDF
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Document Management System Integration with Content Servers
Data migration blueprint legacy to sap
BADI IMPLEMENTATION.pdf
User manual rpfieu_saft_1.04_en (1)
BW Adjusting settings and monitoring data loads
SAP BI Generic Extraction Using a Function Module.pdf
Technical Overview of CDS View - SAP HANA Part II
Performance tuning in sap bi 7.0
Beginner's guide create a custom 'copy' planning function type
How to create generic delta
SAP CPI - DS
Errors in process chains
Hybrid provider based on dso using real time data acquisition in sap bw 7.30
Enhancing data sources with badi in SAP ABAP
Guide to Configure Custom SD Output Types in S/4HANA Using BRF+
Guidelines to determine the right interface when integrating with sap systems...
Bw writing routines in update rules
How to add new Object Link in SAP DMS
SAP Configuration Guide for Functional Modules (Based on IDES)
Ad

Viewers also liked (9)

PDF
Rda step by step
PDF
How to write a routine for 0 calday in infopackage selection
PDF
Variables in sap bi
PDF
Management 2.0 Hackathon
PDF
Analysis process designer (apd) part 2
DOC
Analyzing awr report
PDF
Management Consulting
PPTX
Sap fiori
PDF
Management 2.0 : Manage Collaboration inside Enterprise
Rda step by step
How to write a routine for 0 calday in infopackage selection
Variables in sap bi
Management 2.0 Hackathon
Analysis process designer (apd) part 2
Analyzing awr report
Management Consulting
Sap fiori
Management 2.0 : Manage Collaboration inside Enterprise
Ad

Similar to Dso job log and activation parameters (20)

PDF
Archive data in sap
PDF
Catalogic DPX: Dashboard Reporting with Microsoft Power BI
PDF
A treatise on SAP logistics information reporting
PDF
MD04 Report in BW
PDF
Sap bibw
PDF
Maintaining aggregates
PDF
Sap business warehouse_v1
PDF
Understanding dso (data store object) part 1%3a standard dso.doc
PDF
Orecord mode dso
PDF
Sand dna nearline for sap net weaver bw 7.0
PDF
Xd planning guide - storage best practices
PDF
Cool features 7.4
PDF
Oracle BIEE - Everything you always wanted to know about cache
TXT
PDF
Automate DG Best Practices
PPT
Tips tricks to speed nw bi 2009
PDF
Multi dimensional modeling
PDF
Oracle data capture c dc
PDF
Big Data: Big SQL web tooling (Data Server Manager) self-study lab
Archive data in sap
Catalogic DPX: Dashboard Reporting with Microsoft Power BI
A treatise on SAP logistics information reporting
MD04 Report in BW
Sap bibw
Maintaining aggregates
Sap business warehouse_v1
Understanding dso (data store object) part 1%3a standard dso.doc
Orecord mode dso
Sand dna nearline for sap net weaver bw 7.0
Xd planning guide - storage best practices
Cool features 7.4
Oracle BIEE - Everything you always wanted to know about cache
Automate DG Best Practices
Tips tricks to speed nw bi 2009
Multi dimensional modeling
Oracle data capture c dc
Big Data: Big SQL web tooling (Data Server Manager) self-study lab

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Approach and Philosophy of On baking technology
PPTX
sap open course for s4hana steps from ECC to s4
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Empathic Computing: Creating Shared Understanding
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Spectroscopy.pptx food analysis technology
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MIND Revenue Release Quarter 2 2025 Press Release
Approach and Philosophy of On baking technology
sap open course for s4hana steps from ECC to s4
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Electronic commerce courselecture one. Pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Chapter 3 Spatial Domain Image Processing.pdf
The AUB Centre for AI in Media Proposal.docx
Empathic Computing: Creating Shared Understanding
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Advanced methodologies resolving dimensionality complications for autism neur...
NewMind AI Weekly Chronicles - August'25 Week I
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”
Spectroscopy.pptx food analysis technology
20250228 LYD VKU AI Blended-Learning.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Dso job log and activation parameters

  • 1. DSO Job Log and Activation Parameters Applies to: SAP BW 7.x. For more information, visit the EDW homepage Summary This article explains the job log during activation of requests in standard DSO. It explains Transaction RSODSO_SETTINGS and how the settings influence activation performance. Author: Jürgen Noe Company: Kheto Consulting GmbH Created on: 8 January 2011 Author Bio Jürgen Noe has over 9 years consulting experience in SAP BW projects and ABAP/OO programming. Jürgen is presently working for Kheto Consulting GmbH, Germany. He’s working mainly on SAP BI 7.0 and SAP BO front end tools. He is specialised in SAP BW backend, performance and administration. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 1
  • 2. DSO Job Log and Activation Parameters Table of Contents 1. DataStore Objects in BW 7.x ................................................................................................................. 3 2. Manually activation of a request ............................................................................................................ 3 3. BI_ODSA* and BIBCT* Jobs ................................................................................................................. 4 4. Transaction for DSO settings ................................................................................................................ 5 5. Settings for activation ............................................................................................................................ 6 6. Settings for SID generation ................................................................................................................... 8 7. Settings for Rollback .............................................................................................................................. 8 8. DataStore-specific settings .................................................................................................................... 8 9. Activation in Process chains .................................................................................................................. 8 Related Content ................................................................................................................................................ 10 Disclaimer and Liability Notice .......................................................................................................................... 11 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 2
  • 3. DSO Job Log and Activation Parameters 1. DataStore Objects in BW 7.x In BI 7.x you have three different kinds of DataStoreObjects (DSO): Standard, write-optimized and direct update. A Standard DSO consists of a new data and an active date table and a changelog table, which records the changes. Write-optimized DSO and DSO for direct update consist of an active table only. In BI 7.x the background process how data in standard DataStoreObjects is activated has changed in comparison to BW 3.5 or prior. In this article I will explain the DSO activation job log and the settings / parameters of transaction "RSODSO_Settings". I will describe how the parameters you can set in this transaction influence DSO activation performance. I will not describe the different activation types. 2. Manually activation of a request If you loaded a new request with a Data Transfer Process (DTP) in your standard DSO, data is written to new data table. You can manually activate the request or within a process chain. If you manually activate requests, you get following popup screen: Picture 1: Manual DSO Activation Button "Activate in Parallel" sets the settings for parallel activating. In this popup you select either dialog or background. In background you select job class and server. For both you define the number of jobs for parallel processing. By default it is set to '3'. This means, you have two jobs that can be scheduled parallel to activate your data, the BIBCTL* jobs. The third job is needed for controlling the activation process and scheduling the processes. That's the BI_ODSA* job. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 3
  • 4. DSO Job Log and Activation Parameters 3. BI_ODSA* and BIBCT* Jobs The main job for activating your data is "BI_ODSAxxxxxxxxxxxxxxxxxxxxxxxxx" with a unique 25-letter-GUID at the end. Let's have a look at the job log with SM37. Picture 2: Job log for BI_ODSA* job Activating data is done in 3 steps. First it checks status of request in DSO if it can be activated, marked green in the log. If there is another yellow or red request before this request in the DSO, activation terminates. In a second step data is checked against archived data, marked blue in the log. In a third step the activation of data takes place, marked red in the log. During step 3 a number of sub-jobs "BIBCTL_xxxxxxxxxxxxxxxxxxxxxxxx" with a unique 25-letter-GUID at the end are scheduled. This is done for the reason to get a higher parallelism and so a better performance. But how is the data split up into the BIBCTL* jobs? How does the system know, how many jobs should be scheduled? I will answer this question in chapter 4. But often, the counterpart seems to happen. You set a high parallel degree and start activation. But activation even of a few data records takes a long time. In Reference 3 you will find some general hints for DataStore performance. I will show you in chapter 4, which settings can be the reason for these long-running activations. After the last "BIBCTL*" has been executed the SID activation will be started. Unfortunately this is not written to the job log for each generation step but at the end if the last of your SID generation jobs has been finished. Let's look at the details and performance settings, how they influence DSO activating so that you may reduce your DSO activation time. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 4
  • 5. DSO Job Log and Activation Parameters 4. Transaction for DSO settings You can view and change this DSO settings with "Goto->Customizing DataStore" in your manage DSO view. You’re now in transaction RSODSO_SETTINGS. In Reference 4 at the end of this document you can find a note for runtime parameters of DSO. Picture 3: RSODSO_SETTINGS As you can see, you can make cross-DataStore settings or DataStore specific settings. I choose cross- DataStore and choose "Change" for now. A new window opens which is divided into three sections: Picture 4: Parameters for cross-datastore settings Section 1 for activation, section 2 for SID generation and section 3 for rollback. Let's have a look at the sections one after another. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 5
  • 6. DSO Job Log and Activation Parameters 5. Settings for activation In the first section you can set the data package size for activation, the maximum wait time and change process parameters. If you click on the button "Change process params" in part "Parameter for activation" a new popup window opens: Picture 5: Job parameters The parameter described here are your default '3' processes provided for parallel processing. By default also background activation is chosen. You can now save and transport these settings to your QAS or productive system. But be careful: These settings are valid for any DSO in your system. As you can see from picture 4 the number of data records per data package is set to 20000 and wait time for process is set to 300, it may defer from your system. What does this mean? This means simply that all your records which have to be activated are split into smaller packages with maximum of 20000 records each package. A new job "BIBCTL*" is scheduled for each data package. The main activation job calculates the number of "BIBCTL*" jobs to be scheduled with this formula: <Maximum number of jobs> = Max( <parallel processes for activation>, <number of records in new data> div <maximum package size> + 2 . It is the maximum of your number of available processes for activation and the integer part of your number of records divided by your maximum package size plus 2. One process for the fractal part of your division and one control process for your BI_ODSA job. So if you have 10000 records only to activate and four processes for activation, what happens? The result of the Formula Max (4, 2) is 4. Your BW will schedule 3 jobs and split your 10000 records into your 3 processes to 3333 each. The default setting of 20000 records can be enough for small DSO or delta DSO where you expect only few data per load. But if you have mass data like in an initial load for CO-PA with millions of records you should increase this parameter to speed up your CO-PA activation. Keep this rule of thumb in mind taken from Note 1392715: <Number of records to activate at once> = <Number of requests> * <Sum of all records in these requests> / <Package size of the activation step> <= 100.000. This rule is implemented by note 1157070. So if you have only a couple of records to activate it can make sense to set your number of parallel processes to 2 instead of 3. For mass data with expected number of millions of records you can set the SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 6
  • 7. DSO Job Log and Activation Parameters number of parallel process to a higher value, for example 6, so that you have 5 processes for activation and 1 control process. This parameter depends of your machine size and memory. In this note 1392715 you also find SAP some common recommendations for your system and other useful performance hints: Batch processes = (All Processes/2)+1 Wait Time in Sec. = 3 * rdisp/max_wprun_time rdisp/max_wprun_time - RZ11 (Note 25528) The maximum wait time for process defines the time how long the job is allowed to run and activate data. If the activation job takes longer than defined, BW assumes system problems or database problems and aborts this job. If you have high number of data packages you should set the wait time to a higher value, if you have less data packages set a low value. One little trick: If you simply count the number of your BIBCTL* jobs in the job log and multiply it with maximum package size, you know how many records have been activated and how many records still have to be activated. As further approximation you can take the time how long each activation job BIBCTL* runs and multiply it by the maximum number of jobs you can calculate how long your activation job will run. One important point: You can change the parameters for data package size and maximum wait time for process only if there is no request in your DSO. If you have loaded one request and you change the parameters, the next request will be loaded with the previous parameter settings. You first have to delete the data in your DSO, change the parameter settings and restart loading. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 7
  • 8. DSO Job Log and Activation Parameters 6. Settings for SID generation In section SID generation you can set parameters for maximum Package size and wait time for processes too. With button "Change process params" popup described in picture 5 appears. In this popup you define how many processes will be used for SID generation in parallel. It's again your default value. Minimum package size describes the minimum number of records that are bundled into one package for SID activation. With SAP Layered Scalable Arcitecture (LSA) in mind, you need SID generation for your DSO only if you want to report on them and have queries built on them. Even if you have queries built on top of DSO without SID generation at query execution time missing SIDs will be generated, which slows down query execution. For more information to LSA you can find really good webinar from Jürgen Haupt in the references at the end of the document. Unfortunately SID generation is set as default if you create your DSO. My recommendation is: Switch off SID generation for any DSO! If you use the DataStore object as the consolidation level, SAP recommends that you use the write-optimized DataStore object instead. This makes it possible to provide data in the Data Warehouse layer 2 to 2.5 times faster than with a standard DataStore object with unique data records and without SID generation! See performance tips for details. From performance tips for DataStore Objects in help.sap.com you can also find this performance table and how the parameters “SID generation” and “Unique records” influence DSO activation: Flag Saving in Runtime Generation of SIDs During Activation x approx. 25% Unique Data Records x Generation of SIDs During Activation approx. 35% Unique Data Records Generation of SIDs During Activation approx. 45% Unique Data Records x The saving in runtime is influenced primarily by the SID determination. Other factors that have a favorable influence on the runtime are a low number of characteristics and a low number of disjointed characteristic attributes. 7. Settings for Rollback Finally last section describes rollback. Here you set the maximum wait time for rollback processes and with button “Change process params” you set the number of processes available for rollback. If anything goes wrong during activation, e.g. your database runs out of table space, an error during SID generation occurs, rollback will be started and your data is reset to the state before activation. The most important parameter is maximum wait time for Rollback. If time is over, rollback job will be canceled. This could leave your DSO in an unstable state. My recommendation set this parameter to a high value. If you've large amount of data to activate you should take at least double the time of maximum wait time for activation for rollback. You should give your database enough time to execute rollback and reset your DSO to the state before activation started. Button "Save" saves all your cross-datastore settings. 8. DataStore-specific settings For a DataStore-specific setting you enter your DSO in the input field as you can see from picture 3. With this DSO local setting you overwrite the global DSO settings for this selected DSO. Especially if you expect to have very large DSOs with lot of records you can change your parameters here. If you press button "Change process params" the same popup opens as under global settings, see picture 5. 9. Activation in Process chains I explained the settings for manual activation of requests in a standard DSO. For process chains you have to create a variant for DSO activation as step in your chain, see picture 6. In this variant you can set the number of parallel jobs for activation accordingly with button "Parallel Processing". SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 8
  • 9. DSO Job Log and Activation Parameters Picture 6: Process variant DSO activation Other parameters for your standard DSO are taken from global or local DSO settings in TA "RSODSO_SETTINGS" during run of the process chain and activation. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 9
  • 10. DSO Job Log and Activation Parameters Related Content Webinar about Layered Scalabe Architecture DSO request activation: collective performance problem note Performance tips for DataStore Objects Runtime parameters of DataStore Objects SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 10
  • 11. DSO Job Log and Activation Parameters 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com © 2011 SAP AG 11