07_01_tabw90 2.0b unit 7 data load performance
TRANSCRIPT
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
1/15
SAP AG 1999
Data load performance considerations.
Data Load Performance
Contents:
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
2/15
SAP AG 1999
Describe the BW performance issues relatingto data loads.
List the data load recommendations forachieving better performance.
At the conclusion of this unit, you will be able to:
Data Load Performance: Unit Objectives
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
3/15
SAP AG 1999
Step 1 Get the number range of all involved objects.
Buffer Number Range Objects
If a large quantity of transaction data should be uploaded into
the BW, the number range buffer should be increased for the
dimensions with a high expected number of rows.
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
4/15
SAP AG 1999
Buffer Number Range Objects
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
5/15
SAP AG 1999
Change the Buffering of the Number Range Objects
Buffer Number Range Objects
Step 2
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
6/15
SAP AG 1999
Buffer Number Range Objects
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
7/15 SAP AG 1999
Delete Secondary Indexes Before Loading Data
Existence of secondary indexes on fact tables slows dataload performance drastically.
It requires that inserts are made into indexes as well as fact
table - much more work involved.
Dropping secondary indexes prior to data load means thatinserts are made to fact table only.
Indexes can be quickly rebuilt after data load is finished.
Issue
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
8/15 SAP AG 1999
Using InfoCube Data Load Performance Tools
Create Indexbutton:set automatic index
drop / rebuild
Statistics Structurebutton:possibility to recalculate DB
statistics after a data load
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
9/15 SAP AG 1999
Possible Settings for Indices and DB Statistics
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
10/15 SAP AG 1999
The master data load creates the SIDs to the key-values and the navigational attribute values.
This avoids your transaction data from containingmany characteristic attributes for which a new SIDmust be determined.
The insert on the characteristic table for loading thetransaction data is no longer necessary.
Issue
Load Master Data before Transaction Data
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
11/15 SAP AG 1999
Load Parallel
When loading large quantities of data it is recommendedthat you split the data into several files and take advantageof multiple processors to improve performance.
These files can then be loaded in parallel into the BW withseveral requests.
Prerequisites
Multiple processors
Quick Raid
Issue
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
12/15 SAP AG 1999
The size of an IDOC determines the granularity for
the database COMMITS and as a result can havean effect on performance.
Issue
Set Package Size
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
13/15 SAP AG 1999
Additional Data Load Tips
Use a predefined record length (ASCII file) when loadingfrom a file.
If possible load the data from a file from the applicationserver and not from the client workstation.
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
14/15 SAP AG 1999
Additional Data Load Tips
Create InfoCube in proper tablespaces(see note 156784).
Run loads at off hours.
Avoid large loads across a network.
Avoid reading load files from tape.
(copy to disk first)
Avoid placing input load files on the same disk drives orcontrollers as the tables being loaded.
-
7/31/2019 07_01_TABW90 2.0B Unit 7 Data Load Performance
15/15 SAP AG 1999
Describe the BW performance issues relatingto data loads.
List the data load recommendations forachieving better performance.
Now you are able to:
Data Load Performance: Unit Summary