HANA Overview and Capabilities
description
Transcript of HANA Overview and Capabilities
![Page 1: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/1.jpg)
HANA Overview and Capabilities
Dr. Bjarne Berg
![Page 2: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/2.jpg)
Why In-Memory Processing?
2
FocusImprovement20121990
216 Addressable Memory
2614x52.27MB/$
0.02MB/$
Memory
6083x304.17MIPS/$
0.05MIPS/$
CPU
Technology
620MBPS
5MBPS
Disk Data Transfer
124x
1000 x100Gbps
100Mbps
Network Speed
264 248x
Source: 1990 numbers SAP AG, 2012 numbers, Dr. Berg
Disk speed is growing slower than all other hardware components, while the need for speed is increasing.
Source: BI Survey of 534 BI professionals, InformationWeek, 2010
![Page 3: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/3.jpg)
In Memory Processing — General Highlights — BWA
SAP BW
InfoCubes
DSOs
1. Indexing and compression stored on a file system
2. Indexes copied into RAM on blades
BI Analytical Engine
3. Queries are routed to BWA by the Analytical engine
BWA = SAP BW Accelerator
![Page 4: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/4.jpg)
SAP HANA — In Memory Options• SAP HANA is sold as an in-memory appliance. This means that both Software and Hardware are included from the vendors
• Currently you can buy SAP HANA solutions from Cisco, Dell, Fujitsu, IBM, and Hewlett-Packard
• SAP HANA currently indexes the data from a variety of sources, including ERP and BW and store the result on a dedicated server
• The future of SAP HANA is to replace the databases of ERP and BW and run these on the in-memory platform
Source SAP AG,2011
SAP HANA has the potential to radically change the way
databases operate and make systems dramatically faster.
![Page 5: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/5.jpg)
The Different Editions of HANA
Software Component
Enterprise extended
editionEnterprise
EditionPlatform Edition
HANA Studio
HANA Information Composer
HANA Client
HANA Client for Excel
HANA User Interface for information Access -INA
HANA Database
HANA Host Agent
Diagnostics Agent
BusinessObjects Data Services
HANA Direct Extractor Connection (DXC)
Landscape Transformation Add-on (SLT)
Landscape Transformation Replication Server
HANA Load Controller (LC)
Sybase Replication Server and Agent
Sybase Adaptive Service Enterprise (ASE)
![Page 6: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/6.jpg)
Persistence Layer
Looking Inside SAP HANA — In-Memory Computing Engine (IMCE)
Disk Storage
Data Volumes Page Mgmt.
BusinessObjects Data Services
Log
Volumes
Logger
AAAA
Metadata ManagerAuthorization
Manager
Transaction
Manager
Relational Engine
-Row Store-Column Store
Load Controller
SQL Script
Calculation
Engine
Replication Server
SQL Parser
MDX
Session Manager
Inside the Computing Engine of SAP HANA we have many different components that manage the access and storage of the data. This include MDX and SQL access, as
well as Load Controller (LC) and the Replication Server.
![Page 7: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/7.jpg)
Row based index
![Page 8: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/8.jpg)
Row- vs. Column-Based Indexing (cont.)
• As we can see, there are only 7 unique states and 3 unique customer classes in the data. This allows SAP HANA to compress this data set significantly
• By including the Row ID in the column-based index in SAP HANA, the “ownership” of the values in the index can still be mapped back to the record
Column-based indexes on fields with repeated values often leads to better compression ratios and thereby lower size of the indexes (as
we can see, there are few values repeated in the rows).
Row ID Name State Class Birth date Income1 Jane Hansen NC Gold 8/7/1959 71,927$ 2 Olav Petersen TX Silver 2/24/1963 35,633$ 3 Peter Johnsen FL Platinum 1/1/1959 144,077$ 4 Thomas Berg TX Gold 2/13/1981 85,087$ 5 John Beatty FL Platinum 12/26/1958 123,456$ 6 Jim O'Brian NC Silver 6/11/1977 76,506$ 7 Jeff Pinolli NY Platinum 5/9/1971 73,503$ 8 Carol VanZyck NY Platinum 3/13/1969 68,987$ 9 Fredrick Davidson FL Gold 9/8/1980 100,600$ 10 Tone Leffler CA Platinum 2/10/1955 105,943$ 11 Carol Hansen CA Silver 9/9/1980 112,096$ 12 Jim Petersen NY Gold 2/23/1974 41,080$ 13 Jeff Johnsen CA Platinum 3/10/1978 118,481$ 14 Peter Berg FL Platinum 12/14/1981 50,900$ 15 Thomas Beatty IN Silver 10/25/1954 78,304$ 16 John O'Brian IN Gold 11/27/1970 38,809$ 17 Olav Pinolli CA Gold 10/1/1955 157,105$ 18 Jane VanZyck FL Platinum 6/27/1960 151,067$ 19 Tone Davidson NC Silver 11/19/1958 63,169$ 20 Fredrick Leffler SC Gold 12/21/1973 65,628$
![Page 9: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/9.jpg)
Enterprise Data Warehouse – SAP BW
SAP HANA — Virtual Marts and Applications• Virtual data marts and new applications were built that run on SAP
NetWeaver BW, which is again enabled by SAP HANA in-memory processing
ERP
Database
HANA (in-the works)
Virtual Data Marts
Applications
Databases
Virtual Data Marts
Virtual Data Marts
Virtual Data Marts
BI Solutions
Files
This provides much tighter integration with the source system (less data latency) and much faster query response time for high-volume analysis
Applications developed by SAP
1. Planning & consolidation
2. Customer revenue performance mgmt
3. Predictive segmentation & targeting
4. Trade promotion management
5. Merchandise & assortment planning
6. Sales & operations planning (SOP)
7. Demand signal repository
8. Profitability analysis
9. Dynamic cash management
10.Strategic workforce planning
11.Smart meter analytics (power companies)
![Page 10: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/10.jpg)
The Hardware – IBM Example
![Page 11: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/11.jpg)
Client Demo
11
![Page 12: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/12.jpg)
SAP HANA — Loading the Application and Performance
You can load the application based on the logs in the source system, ETL-based (Extract Transform and Load) loads, and SAP trigger-based replication
Tool PurposeBusinessObjects Data Services 4.0 – ETL-based replicationSybase replication server & Load Controller – Log-based replicationSAP Landscape Transformation (LT) – Trigger-based replication
Log based replication is possible on IBM DB 2 LUW/UDB, MSFT SQL Server Enterprise Edition, Oracle Enterprise Edition, and Sybase ASE
Max Min AverageBank 1 : 6.3 521.6 258.8 369.5HANA POC (SAP) 1 : 5.2 484.3 301.4 350.3
Query speed improvementsCompression (data)
Project
Some Reported SAP HANA Performance Achivements
![Page 13: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/13.jpg)
Opening HANA Admin
![Page 14: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/14.jpg)
Adding New System in HANA
![Page 15: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/15.jpg)
Adding New System in HANA
![Page 16: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/16.jpg)
Creating HANA system
connection
![Page 17: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/17.jpg)
Setup HANA Security
Authentication
![Page 18: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/18.jpg)
Changing a HANA password
![Page 19: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/19.jpg)
Creating HANA Security questions
![Page 20: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/20.jpg)
Creating HANA Security questions
![Page 21: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/21.jpg)
Your HANA System in the
Navigator
![Page 22: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/22.jpg)
Searching for a table in HANA
![Page 23: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/23.jpg)
The table definition
inside HANA
![Page 24: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/24.jpg)
All HANA tables
![Page 25: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/25.jpg)
Open a HANA table
![Page 26: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/26.jpg)
Browsing data in a HANA table
![Page 27: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/27.jpg)
Opening HANA Admin
![Page 28: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/28.jpg)
HANA memory usage
![Page 29: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/29.jpg)
Creating a New HANA Table
![Page 30: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/30.jpg)
Creating a New HANA Table
![Page 31: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/31.jpg)
Creating a New Products
HANA Table
![Page 32: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/32.jpg)
Defining a new Sales
HANA table
![Page 33: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/33.jpg)
Accessing Data Services to Load
data to HANA
![Page 34: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/34.jpg)
Accessing Data Services to Load
data to HANA
![Page 35: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/35.jpg)
Linking Data Services to HANA
datastores
![Page 36: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/36.jpg)
Linking Data Services to HANA
datastores
![Page 37: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/37.jpg)
Linking Data Services to HANA
datastores
![Page 38: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/38.jpg)
Our new Data Services HANA
repository
![Page 39: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/39.jpg)
Data Services HANA repository
objects
![Page 40: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/40.jpg)
Importing HANA table definitions
![Page 41: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/41.jpg)
Importing HANA Customer table
definition
![Page 42: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/42.jpg)
Importing HANA Sales table definition
![Page 43: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/43.jpg)
Linking data files to load to HANA
![Page 44: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/44.jpg)
Linking data files to load to HANA
![Page 45: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/45.jpg)
Defining file format for loading
data to HANA
![Page 46: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/46.jpg)
Defining data file format for HANA
data load
![Page 47: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/47.jpg)
Saving file formats
![Page 48: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/48.jpg)
Customer file for HANA data load
![Page 49: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/49.jpg)
ReplicatingProduct file for HANA data load
![Page 50: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/50.jpg)
Replicated Product file for HANA dataload
![Page 51: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/51.jpg)
Replicating Sales file for
HANA data load
![Page 52: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/52.jpg)
Replicated Sales file format loading
data to HANA
![Page 53: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/53.jpg)
Create a Project for Data Services
![Page 54: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/54.jpg)
Create a Project for Data Services
![Page 55: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/55.jpg)
Create a Batch job for HANA data loads
![Page 56: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/56.jpg)
The new batch job for a HANA
data load
![Page 57: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/57.jpg)
A new dataflow for HANA data load
![Page 58: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/58.jpg)
Making HANA tables the data
target
![Page 59: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/59.jpg)
Creating data mapping to load
data to HANA
![Page 60: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/60.jpg)
Creating data mapping to load
data to HANA
![Page 61: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/61.jpg)
Detailed data mapping to load
data to HANA
![Page 62: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/62.jpg)
Detailed data mapping to load
data to HANA
![Page 63: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/63.jpg)
Execute a HANA data load
![Page 64: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/64.jpg)
Execute a HANA data load
![Page 65: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/65.jpg)
Execute a HANA data load
![Page 66: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/66.jpg)
HANA data load log
![Page 67: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/67.jpg)
Opening HANA Studio
![Page 68: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/68.jpg)
Opening HANA Studio
![Page 69: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/69.jpg)
Opening ourCustomer table in
HANA
![Page 70: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/70.jpg)
Our Customer table in HANA
![Page 71: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/71.jpg)
What can you do with HANA and BO Explorer?
The system looks at the data and formats it based on implied hierarchies (i.e., time, geography, customer) as well as measures. Users may navigate and change measures, graphs, and tables.
![Page 72: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/72.jpg)
New Calculations
Any data panel can be sorted in many ways
Measures used on any graph can be calculated “on-the-fly.”
We can also add our own measures
In our example we are adding the measure “Margin Per Unit” as total margin divided by “quantity sold”
72
![Page 73: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/73.jpg)
HANA Optimized InfoCubes
![Page 74: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/74.jpg)
74
Data Store Objects (DSO) In HANA
Main IndexDelta Index
History Index
Insert Only Index
Read delta, between snapshot 1 and 2 Index Read
Data Load
Activation
The DSO in HANA is a ‘closed’ object where you can do:
• Index reads (snapshots)• Delta reads for updates• Activate data• Querying
PS! a table, an analytic or calculation view in a HANA schema can be accessed via a
BW DataSource. This is based on ‘DB connect’ using a second DB connection to
the underlying HANA DBMS. Source: T. Zurek, SAP AG
![Page 75: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/75.jpg)
SAP HANA — Test Drive
• You can see demos and do a test drive at: https://www.experiencesaphana.com
This site contains a lot of great information and you can also try the Information Composer and see recorded demos.
![Page 76: HANA Overview and Capabilities](https://reader031.fdocuments.in/reader031/viewer/2022012917/56816178550346895dd104bb/html5/thumbnails/76.jpg)
Register and Take a Free BI Test Drive with SAP HANA• You can register for a free test drive at: https://bi.ondemand.com/session/new
You can also upload your own data and try the tool to see if it is something for your organization. There is even quick guides, videos, and wizards to get you started. 76