Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
42Activity
0 of .
Results for:
No results containing your search query
P. 1
BW General

BW General

Ratings:

4.0

(1)
|Views: 2,705|Likes:
Published by Suraj Reddy

More info:

Published by: Suraj Reddy on Oct 02, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

05/04/2013

pdf

text

original

 
Huge Performance Problems on SAP BW 3.10.
We have huge performance problems on SAP BW 3.10. (Oracle 9.2, AIX). Ourusers don't get the results of theirs queries, and they often have to log-off from sapwhen they use the bex analyzer .I have read the differents topics regarding this problem , and read the differentsSAP notes.*The database statistics are refreshed every moring , after the data loads.(statistic for the fact table is always current, transaction db20)* Oracle Parameters are set according to SAP notes 632556.* Oracle indices are deleted and recreated every day* Fact table is partitioned* I have tried to change the read mode in RSRT but it didn't work I have checked the BW statistics (st03 and table RSDDSTAT). The databaseproportion is very high FOR ALL QUERIES (40 to 90%), and for the infocube(64%).The ratio of selected to transfered record is 397 for the infocube and for the queries: 270.000 to 30.We do not use aggregates and we do not use Cube compression. At first , I thoughtit was the reason of our problem but now I'm wondering If we do not have adatabase problem.Is there anyone who could give me some advice ?Further informations :Data Buffer Quality : 96,3 %I/O read times :Read (Avg ms) : 2 to 7Write (Avg ms) :150 to 459According to OSS note 443544 , IO timesbelow should be acceptable below 10 ms,but in BW only the read mode (queries performances) is important, right ?
It looks like you are doing a great job tuning the database, an area I tend to neglect (as anon DBA BW consultant). However you say you are not using aggregates. I have to ask why?The fact you have a selected to transfered ration of 270,000 in some queries suggestshaving to read many base level records to produce a summary result. By using the BWserver to summarise into aggregates at load time, generally a quiet time, you will reducethe amount of work it has to do at query time.
 
If you decide to use aggregates you can let BW design aggregates for you, in which caseyou get many aggregates based on navigations in statistics, or design a few levelsyourself, which means you control the extra storage. I tend to create a summary levelaggregate, and mid level aggregate and sometimes additional customer without materialor material without customer aggregates.As you are using Oracle did you also know you can run an 'explain' on the SQL statementof a poorly performing query - run the query -> trans SM66 to find the Process ID (PID)of a the query -> trans ST04 -> detailed analysis -> oracle session -> select SQL textfrom DBA_VIEWS where PID -> use DBA tools to run an explain on the SQL statement.From this you may also find some areas for improvement. Not much to add to the above great answer: looks like you're a textbook example to useaggregates.In addition also have a look at compression: note 590370 explains the advantages youcould get from it. The above note may mention this , but in order to reap the benefits of fact table partioning you need to compress your infocube.Database partioning works on the 'E' table within the infocube (not the 'F' fact table thathold the uncompressed data).
How to build an extractor?
 
Using SAP BW 2.1C and soon 3.0A we have to extract data from R/3 FI.
 
Standard extractor can´t be used, since data need to be enhanced and go througvarious routines before data contains all information needed in BW. Delta uploadmechanism is needed.
 
Where can information on
 
- building a new extractor (including delta mechanism)
 
- enhancing a standard extractor be found?
 Technically, programming a function module data source would be a modification.There's also a way that allows you to stay close to the standard, especially if you extractdata from standard tables:In OLTP:1) Find out which change document object points to the table.2) Use the generic extractor to build a data source for _master data_ over the table.3) Use the "enhance extract structure" feature in the BW img to add computed fields tothe data source4) Use the user exit for extraction to program your enhancement logic and computeadditional fields
 
5) In data source maintenance, enter the change document object to delta-enable the datasourceIn BW:7) Create an infoobject with attributes. (Key figures can be attributes, too.) Useconcatenated keys or "Klammerung" to make the key fields identical to the key fields of your source table.8) Create infopackages for initial load and delta load, and load data. Now you need to load the data from your infoobject into a data target for transactionaldata (ODS or InfoCube).In BW:9) In infoobject maintenance, look up the view for master data for your new infoobject.10) Use the generic extractor to create a generic datasource for transactional data out of this view.11) Load data from this second generic extractor into your Cube/ODS.As far as I know, BW 3.0 will allow loading data straight from OLTP _master_datadatasources into BW ODS/Cubes, so as soon as you've upgraded, steps 7 - 11 will beobsolete.
COPA Extraction Steps
 The below are the command steps and explanation. COPA Extraction -steps
R/3 System
 1. KEB02. Select Datasource 1_CO_PA_CCA3. Select Field Name for Partitioning (Eg, Ccode)4. Initialise5. Select characteristics & Value Fields & Key Figures6. Select Development Class/Local Object7. Workbench Request8. Edit your Data Source to Select/Hide Fields9. Extract Checker at RSA3 & Extract
BW
 1. Replicate Data Source2. Assign Info Source3. Transfer all Data Source elements to Info Source4. Activate Info Source5. Create Cube on Infoprovider (Copy str from Infosource)6. Go to Dimensions and create dimensions, Define & Assign7. Check & Activate8. Create Update Rules

Activity (42)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
talk2parimi liked this
suvesh202 liked this
suvesh202 liked this
madhu0808 liked this
snataraj5995 liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->