Question:
1. What kind of tools are available to monitor the overall
Query Performance?
Answers:
O bw statistics
O bw workload analysis in st03n (Use Export mode !)
O content of table rsddstat
Question:
2. Do I have to do something to enable such tools?
Answer:
O yes, you need to turn on the BW statistics:
Rsa1, choose tools-> BW statistics for infocubes
(Choose OLAP and whm for your relevant cubes)
Question:
3. What kind of tools are available to analyze a specific query in detail?
Answers:
O transaction rsrt
O transaction rsrtrace
Question:
4. Do I have a overall query performance problem?
Answers:
O use st03n-> BW system load values to recognize the problem. Use
Number given in Table 'reporting-infocubes: share of total time (s )'
To check if one of the columns % OLAP, % db, % frontend shows a high
Number in all infocubes.
O you need to run st03n in EXPERT mode to get these values
Question:
5. What can I do if the database proportion is high for all queries?
Answers:
Check:
O if the database statistic strategy is set up properly for your DB Platform
(Above all for the BW specific tables)
O if database parameter set up accords with SAP notes and SAP services (earlywatch)
O If buffers, I/O, CPU, memory on the databaseServerAre exhausted?
O If cube compression is used regularly
O if database partitioning is used (not available on all dB platforms)
Question:
6. What can I do if the OLAP proportion is high for all queries?
Answers:
Check:
O if the CPUs on the Application Server are exhausted
O if the sap r/3 memory set up is done properly (use TX ST02 to find
Bottlenecks)
O if the Read mode of the queries is unfavourable (rsrrepdir, rsddstat,
Customizing default)
Question:
7. What can I do if the client proportion is high for all queries?
Answer:
O check whether most of your clients are connected via a WAN connection and the amount
Of data which is transferred is rather high.
Question:
8. Where can I get specific runtime information for one query?
Answers:
O again you can use st03n-> BW system load
O depending on the time frame. you select, you get historical data or
Current data.
O to get to a specific query you need to drill down using the infocube
Name
O use aggregation query to get more runtime information about
Single query. Use tab all data to get to the details.
(Db, OLAP, and frontend time, plus select/transferred records,
Plus number of cells and formats)
Question:
9. What kind of query performance problems can I recognize using st03n
Values for a specific query?
Answers:
(Use details to get the runtime segments)
O high database Runtime
O high OLAP Runtime
O high frontend Runtime
Question:
10. What can I do if a query has a high database runtime?
Answers:
O check if an aggregate is suitable (use all data to get values
"Selected records to transferred records", a high number here wowould
Be an indicator for query performance improvement using an aggregate)
O check if database statistics are update to data for
Cube/aggregate, use TX rsrv output (use database check for Statistics
And indexes)
O check if the Read mode of the query is unfavourable-recommended (h)
Question:
11. What can I do if a query has a high OLAP runtime?
Answers:
O check if a high number of cells transferred to the OLAP (Use
"All data" to get value "No. of cells ")
O use rsrt technical information to check if any extra OLAP-processing
Is necessary (stock query, exception aggregation, Calc. Before
Aggregation, virtual Char. Key Figures, attributes in calculated
Key figs, time-dependent currency translation)
Together with a high number of records transferred.
O check if a user exit usage is involved in the OLAP runtime?
O check if large hierarchies are used and the entry hierarchy level is
As deep as possible. This limits the levels of
Hierarchy that must be processed. Use SE16 on the Authorization sion
Tables and use the list of value feature on the column successor
And predecessor to see which entry level of the hierarchy is used.
-Check if a proper index on the partition sion table exist
Question:
12. What can I do if a query has a high frontend runtime?
Answers:
O check if a very high number of cells and formattings are transferred
To the frontend (use "all data" to get value "No. of cells") which
Cause high network and frontend (processing) runtime.
O check if frontend PC are within the recommendation (RAM, CPU MHz)
O check if the bandwidth for WAN connection is sufficient
I have just started learning BW and want to ask you a question.
How to Use the function module to send the tabli data in R3 to the BW cube
Methods:
1. Create a data source for sbiw, and BW uses standard data extraction.
2. Use RFC to read a table from BWProgram, Call the standard RFC "rfc_read_table" to read the content of the table, create a table with the same structure in BW to store data, and then create a data source using sbiw in BW to retrieve data.