Professional Documents
Culture Documents
➢ HANA-HAsso Plattner New Architecture. It is not acronym, name of Hasso Plattner(One of SAP
Founder)
3) SAP HANA.
➢ Appliance is merger of s/w and h/w. After founder name HANA is technically called as High
performance Analytical appliances
➢ OLTP Vs OLAP
➢ After fine tuning using all the best possible methods, the DB performance cannot be
improved after certain extent.
➢ Traditional Databases
➢ BW – Business Warehouse
➢ Data from OLTP systems will be pulled into BW using various methods.
▶ In memory computing
▶ When the data is pushed to DB, a separate algorithm triggers and stores data into BWA
▶ Disadvantages: During power outage, by that time BWA boots up, the queries use DBs
to process reports and analysis
▶ During a first run of a query, it takes same time as of running in DB. Second run will give
results faster.
▶ The records stored in BWA are duplicate of DB. Maintenance and Cost additional.
▶ Example:
A recent analysis showed that a complex query on customer sales information (460 billion
records – 50 TB storage) retrieved from traditional database took 77 minutes. Whereas using HANA, it
took stunning 17 seconds to fetch the results
▶ 4 such layers then combined to form a single server which can perform 384 operations
at any point of time
▶ Special attention was given while designing the in memory computing engine.
▶ Data stored in In-Memory (Main Memory) will not be erased during power outage with
the efficient backup process.
▶ For this they have used Page Management and Logger to form a persistent layer
▶ Both will be storing data in the physical mechanical device with partition for Data
volumes and Log volumes.
▶ Sybase IQ
▶ This brings the capability of row storage. It thinks in TREX format and stores
data faster than any other traditional DB. Loading is faster than Retrieving.
▶ Persistent Layer - MaxDB
Majority of the time taken (60%) is to retrieve the data from database and put it in application server.
In application server the logic is written to massage the data and prepare it for output.
HANA, instead massages and prepares the data in DB itself using stored procedures. Thus reducing the
time taken for data shuttling between DB and AppServer.
Information composer and Modeling studio
Application services
In-Memory Database
Data Services
▶ HANA as a Database
▶ HANA as a Accelerator
All the data from SAP and NON SAP systems can use HANA as its database.
Various techniques are used to bring data into HANA (BODS/SLT/DX/SDA/Flat files)
HANA has a provision to integrate Hadoop (Big Data) into its database.
In future HANA will be a standalone database which supports all SAP and Non SAP applications
Row storage Vs Column Storage
Now when you write the data 5 minutes before and you want to read it, the algorithm will read the data
from both column storage and row storage from the RAM and displays the data.
▶ Once data is brought using various techniques (BODS/SLT/SDA/DX/Flat files), we can build
models on top of this columnar tables.
▶ Using Analytical and Calculation view report can be generated using SAP BO/BEX
▶ Tailpiece
▶ This does not mean BW will be phased out. Since BW models are prepared already by
client, bringing entire models into HANA will take lot of time.
▶ Only for particular application performance improvement, HANA can be used as a secondary
database.
▶ As Attribute view/Analytical view/Calculation view will be created using columnar tables, which
stores the data in effective way, thus increasing the performance. Hence BWA is not required
▶ Speed, you will see the tremendous increase in speed of the report being generated
As HANA will be acting as Database. We can build models using HANA studio on top of this.
BW can be plugged into HANA and use it as a Database. Still we can use BW models and do reporting
using BW reporting tools.
▶ Client will decide on the size of disk space and RAM requirements.
▶ Then as per the calculation 1/4th space of requested disk space and equal size of RAM will be
allotted.
▶ HANA performs the same as on-premise and cloud. However the speed is determined based on
the network speed.
▶ Additional applications can be built on top of XS engine and can be incorporated into business
(Example – Bid Processing – Between purchase order and sales order).
▶ Develop any application using front end tool SAP UI5 (HTML5 + CSS + JS + Lib) and Services
OData Services (JAVA Scripting + XMLA + SQL scripting) is called native development
▶ ABAP + JAVA + .Net + C/C++ called non native development
▶ HANA - Front end developers - SAP Fiori will be the front end
▶ XS engine provides a gateway for building small applications on top of your regular SAP/NonSAP
applications
▶ If BW is there HANA?
▶ HANA is only database and BW is data warehouse application. BW is increased with HANA
coming and becomes hybrid.
▶ ECC is more compatible with HANA is called simple finance /simple logistics. Number of tables
go down