8/11/2019 BI104-BI Accelator-QA.pdf
1/41
8/11/2019 BI104-BI Accelator-QA.pdf
2/41
Contributing Speaker
Tanuj Gupta Associate Support Architect, SAP Labs India
SAP AG 2007, SAP TechEd 07 / BI104 / 2
8/11/2019 BI104-BI Accelator-QA.pdf
3/41
Learning Objectives
As a result of this workshop, you will be able to:
understand the architecture of SAP NetWeaver BI Accelerator
understand the new query runtime statistics in BI 7.0.
analysis of the SAP NetWeaver BI Accelerator query runtime
SAP AG 2007, SAP TechEd 07 / BI104 / 3
8/11/2019 BI104-BI Accelator-QA.pdf
4/41
verv ew
Quer Runtime Statistics
BI Accelerator Query Runtime
BI Accelerator Transactions
8/11/2019 BI104-BI Accelator-QA.pdf
5/41
SAP NetWeaver BI Accelerator: Vision
BI Accelerator for high performance BI
Performance speedup factor between 10 and 100 (compared to DB)
Without changing the BI user experience (transparent to users)Pre-requisite: SAP NetWeaver 7.0 BI
Queries Queries
SAP NetWeaver Business
IntelligenceBI Accelerator
Database
X
SAP AG 2007, SAP TechEd 07 / BI104 / 5
8/11/2019 BI104-BI Accelator-QA.pdf
6/41
SAP NetWeaver BI Accelerator: Architecture
BusinessExplorer
Any Tool
BI Analytic
joins and aggregates in run time
Engine Query &Response
indexes loaded
InfoCubesIndexing
Data Acquis ition Any
Source creates and storesindexes for InfoCubes
SAP NetWeaver BI SAP NetWeaver BI Accelerator
SAP AG 2007, SAP TechEd 07 / BI104 / 6
8/11/2019 BI104-BI Accelator-QA.pdf
7/41
Criteria for BI Query Acceleration
Query processing time comprises 3 componentsDatabase access, calculations (OLAP), client rendering
a resses e a a ase access mes
No Acceleration for uer es a are a rea y as w o aggrega es
Queries with high OLAP time
-
Complex authorization checksTransferred amount of data > 500,000 (rough indicator)
Acceleration for
Ad-hoc analysis/unpredictable query patterns
High database time
Big ratio DBSEL/DBTRANS
SAP AG 2007, SAP TechEd 07 / BI104 / 7
Queries that routinely need lots of aggregates
8/11/2019 BI104-BI Accelator-QA.pdf
8/41
verv ew
Quer Runtime Statistics
BI Accelerator Query Runtime
BI Accelerator Transactions
8/11/2019 BI104-BI Accelator-QA.pdf
9/41
New Query Statistics
Split ting the OLAP statistics into a FE/OLAP and aDataManager part.
. Many different events (FE/OLAP) vs. small number of events (DM)
Queries that are already fast w/o aggregatesIntroducing statistic detail levels on query (not just InfoProvider)Queries with high OLAP time
extensions) Long front-end events
Distributin the statistic information over several tables
SAP AG 2007, SAP TechEd 07 / BI104 / 9
8/11/2019 BI104-BI Accelator-QA.pdf
10/41
Analysis of Query Runtime Statistics
In the Query Monitor (transaction RSRT), detailed query runtime statisticscan be displayed.
SAP AG 2007, SAP TechEd 07 / BI104 / 10
8/11/2019 BI104-BI Accelator-QA.pdf
11/41
Event-IDs
Event-IDs:Definition in RSDDSTATEVENTSCommon concept used in query runtime, planning and warehousemanagement statistics
Most important Event-IDs:EVENT-ID / EVENT-RANGE Descri tion
2500 2530 OLAP Cache usage3000 3999 OLAP processing & calculation
4300 4600 Authorization checks
9000 Data Manager
12600 14600 Web application
15000 15100 BEx 7.x frontend
19900 19999 BEx 3.x frontend
40000 40100 MDX
50000 50010 Integrated planning
SAP AG 2007, SAP TechEd 07 / BI104 / 11
8/11/2019 BI104-BI Accelator-QA.pdf
12/41
8/11/2019 BI104-BI Accelator-QA.pdf
13/41
Query Runtime Overview
SAP AG 2007, SAP TechEd 07 / BI104 / 13
8/11/2019 BI104-BI Accelator-QA.pdf
14/41
RSDDSTAT_OLAP: Details (I)
Used frontend Overall runtime (per step)
Administrative Info
SAP AG 2007, SAP TechEd 07 / BI104 / 14
Execution start time
S S A O A il ( )
8/11/2019 BI104-BI Accelator-QA.pdf
15/41
RSDDSTAT_OLAP: Details (II)
Counter RuntimeEvent-IDs
SAP AG 2007, SAP TechEd 07 / BI104 / 15
2 keyfigure types
8/11/2019 BI104-BI Accelator-QA.pdf
16/41
8/11/2019 BI104-BI Accelator-QA.pdf
17/41
Data Manager details in RSDDSTAT DM (II)
8/11/2019 BI104-BI Accelator-QA.pdf
18/41
Data Manager details in RSDDSTAT_DM (II)
Aggregate used ?
Fact tabletype
BasisInfoProvider
Database DBSEL &DM prepare
SAP AG 2007, SAP TechEd 07 / BI104 / 18
8/11/2019 BI104-BI Accelator-QA.pdf
19/41
8/11/2019 BI104-BI Accelator-QA.pdf
20/41
verv ew
Quer Runtime Statistics
BI Accelerator Query Runtime
BI Accelerator Transactions
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
21/41
BI Accelerator Query Runtime
SAP AG 2007, SAP TechEd 07 / BI104 / 21
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
22/41
BI Accelerator Query Runtime
SAP AG 2007, SAP TechEd 07 / BI104 / 22
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
23/41
BI Accelerator Query Runtime
SAP AG 2007, SAP TechEd 07 / BI104 / 23
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
24/41
cce e ato Que y u t e
SAP AG 2007, SAP TechEd 07 / BI104 / 24
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
25/41
Q y
SAP AG 2007, SAP TechEd 07 / BI104 / 25
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
26/41
Q y
SAP AG 2007, SAP TechEd 07 / BI104 / 26
BI Accelerator Query Runtime
8/11/2019 BI104-BI Accelator-QA.pdf
27/41
SAP NetWeaver BI TREX ABAP
RFCServer
TREX Index Server Gateway
TREXClient
ABAP_RFC_TIME
RFC_SERVER_TIME
TREX_CLIENT_TIME
TREX_KERNEL_TIME
SAP AG 2007, SAP TechEd 07 / BI104 / 27
8/11/2019 BI104-BI Accelator-QA.pdf
28/41
verv ew
Quer Runtime Statistics
BI Accelerator Query Runtime
BI Accelerator Transactions
BI Accelerator Monitor - Summary (RSDDBIAMON2)
8/11/2019 BI104-BI Accelator-QA.pdf
29/41
Summary tab featuresan alert status icon
Click icon to see detailsbelow or right-click online and choose Details
BI accelerator monitor offering all themain administration tools you need
SAP AG 2007, SAP TechEd 07 / BI104 / 29
RSDDBIAMON2 Check Load Distribution
8/11/2019 BI104-BI Accelator-QA.pdf
30/41
CPU per Proc. indicates single CPU utilization / per Index server / blade
Memory Process indicates memory utilzation / Index server / blade
Total Memory is the total memory utilzation / bladeIf load is not evenly distributed, either re-org (re-dist ibute) the BIA indexacross the blades or re-index the InfoCube
SAP AG 2007, SAP TechEd 07 / BI104 / 30
BI Accelerator Monitor - Go To 1
8/11/2019 BI104-BI Accelator-QA.pdf
31/41
SAP AG 2007, SAP TechEd 07 / BI104 / 31
BI Accelerator Monitor - Go To 2
8/11/2019 BI104-BI Accelator-QA.pdf
32/41
SAP AG 2007, SAP TechEd 07 / BI104 / 32
8/11/2019 BI104-BI Accelator-QA.pdf
33/41
TREX Administration Tool
8/11/2019 BI104-BI Accelator-QA.pdf
34/41
TREX Admin Tool is a stand-alone program that you can use to
administer TREX independently of the application to which i t isconnected.
The application that is connected to TREX normally provides its own
administ ration tools for TREX too. You should use the administ rationtools provided by the application where possible. Only use the TREXadmin tool for the functions that are not available in the administrationtools of the application.
SAP AG 2007, SAP TechEd 07 / BI104 / 34
Transaction TREXADMIN - 1
8/11/2019 BI104-BI Accelator-QA.pdf
35/41
SAP AG 2007, SAP TechEd 07 / BI104 / 35
8/11/2019 BI104-BI Accelator-QA.pdf
36/41
Table RSADMIN QUERY_MAX_WP_DIAG
8/11/2019 BI104-BI Accelator-QA.pdf
37/41
QUERY_MAX_WP_DIAG is a parameter in table RSADMIN.
query (non-BIA and BIA) could potentially use.The BI system reserves 5 DIA (dialog) work processes open anduses the formula: (MIN(# InfoProviders, QUERY_MAX_WP_DIAG)+ 5) to determine whether or not to parallelize query execution.Default value = 6. Hence there NEEDS to be atleast 11 DIA workprocesses free in order to execute query in parallel.For additional information, refer to SAP Note 895530.
SAP AG 2007, SAP TechEd 07 / BI104 / 37
Summary
8/11/2019 BI104-BI Accelator-QA.pdf
38/41
SAP NetWeaver BI Accelerator improves Query databasetime
New Query Runtime statistics are flexible and available forfurther extensions
SAP NetWeaver BI Accelerator Query Runtime statist ics canbe viewed using the table RSDDSTATTREXSERV
Transactions RSDDBIAMON2 and TREXADMIN can be usedto monitor the SAP NetWeaver BI Accelerator.
SAP AG 2007, SAP TechEd 07 / BI104 / 38
Further Information
8/11/2019 BI104-BI Accelator-QA.pdf
39/41
SAP Public Web: . . .
Business Process Expert (BPX) Community: www.bpx.sap.com
http://www.sap.com/education/
SAP AG 2007, SAP TechEd 07 / BI104 / 39
8/11/2019 BI104-BI Accelator-QA.pdf
40/41
8/11/2019 BI104-BI Accelator-QA.pdf
41/41
Please complete your session evaluation.
Be courteous deposit your trash,and do not take the handouts for the following session.
Th k Yhank You
SAP AG 2007, SAP TechEd 07 / BI104 / 41