382329 - Delta extractors CO: Poor performance



Symptom

  1. 1. Extraction of data using the CO delta DataSources takes a very long time.

              An SQL trace tells you that this is caused by select statements on the COVP table containing a lot of conditions joined with 'OR'.As a result, the optimal COEP indexes 1 (for a full updated) or 4 (for a delta init update or delta update) are not used.

  1. 2. It may also be useful to implement the correction for this note if the extraction frequently terminates with ORA-01555 short dumps when you access table COVP (see also Note 7634).

Other Terms

Performance, BW-BCT-COOM,
CO delta DataSources
0CO_OM_CCA_9, 0CO_OM_OPA_6, 0CO_OM_ABC_7, 0CO_OM_WBS_6, 0CO_OM_NAE_2, 0CO_OM_NTW_2, 0OC_OM_NWA_2, extractor, BWOMD, delta, BWOMR, ORA155.


Reason and Prerequisites

  • Database index 1 or 4 for the table COEP is not active.
  • The database system optimizer does not tolerate SELECT-statements with several intervals linked by 'OR' for a field and therefore selects the wrong index.

Solution

  1. 1. Make sure that indexes 1 and 4 delivered by SAP on the database for the table COEP are active in the form delivered in the standard system. In the standard system, index 4 is not delivered as active and must be manually activated by the customer when using the CO Delta DataSources (see documentation on the InfoSource in the BW content).
  1. 2. Make sure that indexes defined by the customer do not interfere with the selection. The customer is responsible for these indices. Analysis and elimination of performance problems caused by these indexes is subject to a fee.
  1. 3. When you use the Oracle Cost-Based Optimizers:

              Check whether current and precise statistics exist for tables COEP and COBK. It may be possible to solve the problem by refreshing the statistics.

  1. 4. If you are already using PI 2001.1 or higher, you can skip implementing the program corrections in the next two steps.
  1. 5. Implement the corrections in note 409990.
  1. 6. Implement the attached program corrections. Bear in mind that you first have to implement note 374228!
  1. 7. By using the maintenance of table BWOM_SETTINGS, you can now set whether several selects without the 'OR' links are transmitted instead of a few conditions linked by 'OR' for the 'OBJNR' field.
  1. a) To do this, create an entry (if not already present) in the BWOM_SETTINGS table.
    OLTPSOURCE = ' '
    PARAM_NAME = 'OBJSELSIZE'

                       As an alternative, you can use transaction RSA3 to run any of the affected extractors with any of the selection criteria.

  1. b) Use transaction SE16 to change the value in the 'PARAM_VALUE' column for the above-mentioned entry of the 'BWOM_SETTING' table to 'X'. This means:
    PARAM_VALUE = ' ' as few selects as possible (default)
    PARAM_VALUE = 'X' no 'OR' links for 'OBJNR'


Other Attributes

CLEAR
COPY
FULL
RSA3
SE16

Header Data

 
Released On 2002.04.10 22:08:37
Release Status Released for Customer
Component BW-BCT-CO-OM Overhead Cost Controlling
Priority Recommendations / Additional Info
Category Special development

Validity

Software Component
From Rel.
To Rel.
And Subsequent
SAP_APPL
600
600
 
602
602
 
603
603
 
604
604
 
PI
2000_1_40B
2000_1_46C
 
2000_2_31I
2000_2_46C
 
2001_1_31I
2001_1_46C
 
2004_1_46C
2004_1_500
 
PI-A
2000_1_40B
2000_1_45B
 
2000_2_40B
2000_2_45B
 

Correction Instructions

Correction Instructions
Software Component
Valid from
Valid to
Number
PI
2000_1_40B
2000_2_46C
PI-A
2000_1_40B
2000_2_45B

Support Packages & Patches

Support Packages
Software Component
Release
Support Package
PI
2000_2_46B
2000_2_46C
PI-A
2000_2_40B
2000_2_45B

References

This document refers to:

SAP Notes
1597364   FAQ: BW-BCT: Extraction performance in source system
374228   CO delta extraction: Docs twice with ALE
387964   CO delta extractors: poor performance for Deltainit
397286   CO-delta-extractors: SQL error in the delta mode
398041   INFO: CO-OM/IM-Content (BW)
399123   CO delta extractors: Error in Note 387964
408215   BCT-CO totals record DataSourcen for costs
410130   PSBW: Extraction of costs: Performance problems
578417   BCT-CO: CO-OM delta DataSources: Executing the DeltaInit
836740   Delta extractors CO: OBJSELSIZE DataSource specific

This document is referenced by:

SAP Notes (10)
397286   CO-delta-extractors: SQL error in the delta mode
399123   CO delta extractors: Error in Note 387964
398041   INFO: CO-OM/IM-Content (BW)
387964   CO delta extractors: poor performance for Deltainit
374228   CO delta extraction: Docs twice with ALE
410130   PSBW: Extraction of costs: Performance problems
408215   BCT-CO totals record DataSourcen for costs
836740   Delta extractors CO: OBJSELSIZE DataSource specific
1597364   FAQ: BW-BCT: Extraction performance in source system
578417   BCT-CO: CO-OM delta DataSources: Executing the DeltaInit
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章