Sie sind auf Seite 1von 18

SAP HANA is a combination of

HANA databases
Data modelling
HANA adminstration and data provisioning
in a single suite

HANA stands for High performance analytics appliance.


As per vishal sikka's its Hasso's architecture

Features of SAP HANA


SAP HANA is a combination of software and hardware innovation to process huge amount of real time
Based on multi core architecture in distributed system environment.
Based on row and column type of data-storage in database.
Used extensively in Memory Computing Engine (IMCE) to process and analyze massive amount of rea
It reduces cost of ownership, increases application performance, enables new applications to run on r
It is written in C++, supports and runs on only one Operating System Suse Linux Enterprise Server 11

Need for HANA


Due to increase in Data Volume, it is a challenge for the companies to provide access to real time da
It involves high maintenance cost for IT companies to store and maintain large data volumes.
Due to unavailability of real time data, analysis and processing results are delayed.

SAP HANA Vendors that manufacture HANA Appliances and provide onsite support for inst
IBM Dell HP Cisco Fujitsu Lenovo (China) NEC

According to statistics provided by SAP, IBM is one of major vendor of SAP HANA hardware appliances

SAP HANA installation


Features of In-Memory Database
SAP HANA is Hybrid In-memory database.
It combines row based, column based and Object Oriented base technology.
It uses parallel processing with multicore CPU Architecture.
Conventional Database reads memory data in 5 milliseconds. SAP HANA In-Memory database reads da

It means, memory reads in HANA database are 1 million times faster than a conventional database ha
Advantages of In-Memory Database
HANA database takes advantage of in-memory processing to deliver the fastest data-retrieval speeds,
Disk-based storage is still the enterprise standard and price of RAM has been declining steadily, so me
In-Memory Column-based storage provides data compression up to 11 times, thus, reducing the stora
This speed advantages offered by RAM storage system are further enhanced by the use of multi-core

3. SAP HANA STUDIO

SAP HANA INFORMATION MODELER


Features:
Heart of HANA system,designs views on tables in such way as per business logic to extract various an
Informational modeler only works for column based storage tables.
Modelling views consumed by JAVA or HTML applications or SAP tools SAP Lumira or Analysis office for
MS Excel can be connected to HANA

Types of Information Views:


Attribute View
Analytic View
Calculation View

Row Store Vs Column Store:

In a Column store table, Data is stored vertically. So, similar data types come together as shown in the
SAP HANA stores data in both row and Column based structure. This provides Performance optimizatio

Benefits of Column Store:


Data compression
Faster R/W access as compared to conventional row storage
Flexibility & parallel processing
perform aggregations & calculations at higher speed

Data Storage Methods in column Store:


Dictonary Compressed: cells are stored in form of numbers in tables and numeral cells are always per
In Run length compressed, it saves the multiplier with cell value in numerical format and multiplier sh

Amritsar - 0 KA - 0
Banglore -1 MH - 1
Kolkata -2 PB - 2
Pune -3 WB -3

Dictionary Compressed

Traditional DB
City State Region City State
Pune MH West 3 1
Banglore KA South 1 0
Kolkata WB East 2 3
Amritsar PB North 0 2

Functional Difference: Row vs Column Store


Column store will be preferred for aggregate functions like sum,min max for better performance optim
Row store is used when we need to display from whole row.
Information Modeling Views

Attribute View
Attributes are non-measurable elements in database table.
Represents master data,similar to charateristics of BW
Are dimensions in database or used to join dimensions

Features:
Represents master data
Used in analytical & calculation view
Used to filter size of dimension tables in analytical & calculation view

Naming Conventions: AT_*


Subtype :
Standard is a normal attribute view
Time - time dependant master data
Derived - Changes in copied or base view needs to be done first to reflect changes in derived view

Semantics - Fields selected for output


Data Foundation - source tables for attribute view

General optimization rules of HANA


1. Keep result set small - avoid check on data select in a loop
2.Minimize amount of transferred data - use select field list instead of select * ; use aggregate function
3.minimize number of data transfers
4. Minimize search overheads
5.keep load away from databases
s huge amount of real time data.

yze massive amount of real time data.


ew applications to run on real time environment that were not possible before.
e Linux Enterprise Server 11 SP1/2.

ovide access to real time data for analysis and business use
arge data volumes.

e onsite support for installation and configuration of HANA system


Huawei

HANA hardware appliances and has a market share of 50-52% but according to another market survey conducte

-Memory database reads data in 5 nanoseconds.

a conventional database hard disk memory reads.


stest data-retrieval speeds, which is enticing to companies struggling with high-scale online transactions or time
en declining steadily, so memory-intensive architectures will eventually replace slow, mechanical spinning disks
es, thus, reducing the storage space of huge data.
d by the use of multi-core CPUs, multiple CPUs per node and multiple nodes per server in a distributed environm

logic to extract various analytical reports

umira or Analysis office for reporting purpose

me together as shown in the example above. It provides faster memory read and write operations with help of In
es Performance optimization, flexibility and data compression in HANA database.
umeral cells are always performance optimized as compared to characters.
al format and multiplier shows repetitive value in table.

East -0
North -1
South - 2
West -3

Row length compressed

Region City State Region


3 1X3 N 1X1N 1X3N number of occurences in c
2 1X1 N 1X0N 1X2N
0 1X2 N 1X3N 1X0N
1 1X0 N 1X 2N 1X1N

r better performance optimisation


hanges in derived view

t * ; use aggregate functions instead of fetching all rows from table


market survey conducted by HANA clients, IBM has a market hold up to 70%.
nline transactions or timely forecasting and planning.
mechanical spinning disks and will lower the cost of data storage.

in a distributed environment.

operations with help of In-Memory Computing Engine.


umber of occurences in column X index with n
SQL HANA 92.2 divided into 3 areas

DML Data Manipulation Language SELECT,INSERT,UPDATE,DELETE


DDL Data Definition Language CREATE,ALTER,DROP,RENAME
DCL Data Control Language GRANT,REVOKE

Syntax Enhancements
1. Escaping host variables & commma separated fields
2 Literal Values

3. use of calculations in Select stmt itself


4.conditional expressions in SELECT use of case

Das könnte Ihnen auch gefallen