Understanding the SAP HANA Difference
Transcript of Understanding the SAP HANA Difference
![Page 1: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/1.jpg)
Understanding the SAP
HANA Difference Amit Satoor, SAP Data Management
![Page 2: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/2.jpg)
Webinar Logistics
Got Flash? http://get.adobe.com/flashplayer
to download.
![Page 3: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/3.jpg)
© 2013 SAP AG. All rights reserved. 3
The future holds many transformational opportunities Capitalize on the new technology frontier
Retail: From transactions to
1:1 engaging relationships
Manufacturing: From mass
production to
custom 3-D printing
Healthcare: From generic
treatments to personalized
medicine
![Page 4: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/4.jpg)
© 2013 SAP AG. All rights reserved. 4
• Database & data processing
engines
• Application Server
• Integration Services
• Development, Deployment and
Administration
SAP HANA Difference Enabling real-time computing design patterns across entire software architecture
OLTP + OLAP
in Columnar database
SIMPLIFIED
Application
Processing
OPTIMIZED
End-to-end
Data Processing
CONVERGED
Text Image
Spatial/GIS Transactions Sensors
Prescriptive Predictive
Sentiment Intelligence
Machine Learning
Operational Analytics
SAP HANA (Main Memory)
SAP HANA (Main Memory)
SAP HANA (Main Memory)
Application Layer
In-Memory
Database layer
Libraries
![Page 5: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/5.jpg)
© 2013 SAP AG. All rights reserved. 5
Uncover value
Create breakthroughs
Experience simplicity
INNOVATIONS PREVIOUSLY UNFEASIBLE
• Real-time genome analysis
• Instantaneous fraud detection
• Predictive maintenance
• Optimize procurement, manufacturing, transportation
• Real-time MRP with instant re-planning
SIMPLICITY PREVIOUSLY UNACHIEVABLE
• Transactions and analysis in one system
• Efficiently analyze structured and unstructured data
• Fewer systems needed
• Hardware cost savings
• Less DBA involvement needed
SAP HANA In-Memory
Transaction & Analysis
directly In-Memory
VALUES PREVIOUSLY UNATTAINABLE
• Iterative period end closing
• Cash forecasts/management
• Real-time offer calculation
• In-moment sales forecast
• Self-service apps with instantaneous response
• Interactive POS data analysis
![Page 6: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/6.jpg)
Building next generation apps with SAP HANA John Appleby
@applebyj
Global Head of SAP HANA
![Page 7: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/7.jpg)
What is SAP HANA?
![Page 8: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/8.jpg)
What is SAP HANA?
• SAP HANA is a re-imagined platform for business applications Designed from the ground up
Not limited by 30 years of database legacy
Designed for modern multi-core computers
• SAP HANA includes the whole application platform in-memory Database Services
Text Analysis and Search
Event Processing
Predictive, Graph and Spatial Engines
Integration/Web Services
• SAP HANA is Enterprise Ready High Availability, Disaster Recovery, Backup/Restore, ACID Compliant
Security Compliant (e.g. HIPAA)
Repository, User and Version Management
8
![Page 9: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/9.jpg)
The structure of future applications • We believe that future applications will span domains, in real-time
9 Reference Data
Internet of Things Transactional Data
Customer
Employee
Invoice Sales Order
Product
Suppliers
Social/News
![Page 10: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/10.jpg)
Challenges of a traditional RDBMS
![Page 11: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/11.jpg)
Oracle Stack
11
![Page 12: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/12.jpg)
Microsoft Stack
12
![Page 13: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/13.jpg)
IBM Stack
13
![Page 14: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/14.jpg)
SAP HANA
14
![Page 15: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/15.jpg)
Real-Time Applications
![Page 16: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/16.jpg)
Being able to transact in real-time…
• Consuming transactional data
• Tested at up to 250k transactions/sec in a bank
• Stored only once No Indexes
No Aggregates
No Materialized Views
No Duplication or ETL
• Dramatic reduction in data footprint Up to 20x for redesigned apps
Normally 5x for re-platformed app
• Reduced data footprint = simplicity Dramatic reduction in cost to build and maintain
5-20x less developer effort
16
![Page 17: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/17.jpg)
… and report in real-time
• SAP HANA Information Views built on base data 2bn scans/sec/core, 16m aggregations/sec/core
40% more with Intel Ivy Bridge, 50% more cores
750m aggregations/sec with 1 40-core system
• Most CPU time spent in Data Mart is on ETL Aggregates are not required in SAP HANA
Instead, CPU time spent calculating what is needed
17
![Page 18: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/18.jpg)
Consuming Reference Data
![Page 19: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/19.jpg)
Public reference data is everywhere
• Most governments have an active data program
• Many public and private organizations have the same
• If you need it… it’s probably available
• Most reference sources are free of charge
19
![Page 20: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/20.jpg)
NOAA Temperature and Rain data
• NOAA NCDC data is 140m measurements per annum
• 4GB/year stored in SAP HANA – stored only once
20
![Page 21: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/21.jpg)
We create re-usable information views
21
![Page 22: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/22.jpg)
Good performance
• Even aggregating all our weather data, 2.4bn rows
• 1-2 seconds
22
![Page 23: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/23.jpg)
Performance improves as we filter
• Performance always improves as we filter
• This model can be joined into other models in SAP HANA system
• Or consumed from another SAP HANA system via Smart Data Access
23
![Page 24: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/24.jpg)
Consuming Social & Sensor Data
![Page 25: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/25.jpg)
Social and Sensor data is everywhere
• Almost everything has a sensor
• Most sensors have an API
• Most APIs are publicly accessible
• Usually OAuth and OData compliant
• Easily integrated into SAP HANA
25
![Page 26: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/26.jpg)
Consuming Twitter/News with SAP HANA
• Using python it is straightforward to integrate APIs into SAP HANA
• Specific keywords (products, companies, people) can be tagged
• Sentiment analysis possible
(see next section)
http://scn.sap.com/community/developer-center/hana/blog/2013/09/02/predicting-my-next-twitter-follower-with-sap-hana-pal
26
![Page 27: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/27.jpg)
Text & Sentiment Analysis
![Page 28: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/28.jpg)
Consuming Text
• Storage and analysis of Text data straightforward
• Either in PDF/Text form in a large database object (up to 2GB)
• Or consumed from social/news feeds
• Both Search and Sentiment is possible from one text index
• Text indexes are built asynchronously
28
![Page 29: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/29.jpg)
Building a Text Index in SAP HANA
• One simple command:
• Physically creates a table $TA_VOICE
• 1m rows, just 50mb
29
![Page 30: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/30.jpg)
Consuming Text Indexes
• Text Analysis is very powerful Language
Sentiment
Token (Keyword)
Type e.g. Sentiment, Weapon, Emoticon
• Queried like any other DB table
• Joined into an Information Model
30
![Page 31: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/31.jpg)
Text Indexes into Information Views
• Now we can consume our Text Index into an Information View
• Now it is part of our calculation model which we can consume externally
31
![Page 32: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/32.jpg)
Simple Info Access (SInA)
• Note we can also consume text indexes into JavaScript
• Allows for Google-style searching
32
![Page 33: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/33.jpg)
Predictive Analysis Library
![Page 34: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/34.jpg)
SAP HANA Predictive Analysis Library
• PAL can be used to write predictives in-line with applications
• Providing the most popular predictive algorithms
• Performance is typically excellent (1-5 seconds) even on big datasets
34
![Page 35: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/35.jpg)
SAP HANA Predictive - Integration
• We can use SAP HANA Information Models to run PAL algorithms against real-time data
• In this example we do association analysis between customer and merchant
35
![Page 36: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/36.jpg)
SAP HANA Web Services (XS)
![Page 37: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/37.jpg)
SAP HANA XS
• Provides a lightweight web server
• Server-Side JavaScript or OData
• Scalable and Enterprise-Class
• Repository with versions and users
37
![Page 38: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/38.jpg)
D3 JavaScript Libraries
• Easily consumed into SAP HANA XS
• Connect to SAP HANA XS OData Services or Server Side JavaScript
38
![Page 39: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/39.jpg)
SAP UI5
• Installed on your SAP HANA Appliance
• Provides the ability to build rich UI applications out the box
39
![Page 40: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/40.jpg)
SAP HANA UIS
• SAP HANA UIS provides the ability to build widgets and pages very quickly
• Very useful for Analytics apps, which are easy to build in SAP HANA
40
![Page 41: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/41.jpg)
SAP River
![Page 42: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/42.jpg)
SAP River development language
• Included with SAP HANA SPS7
• Rapid, descriptive language
• Combined with SAP HANA Views
• OData Compatible
• SAP HANA XS for development
• Build apps in days, not months
42
![Page 43: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/43.jpg)
Example Applications
![Page 44: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/44.jpg)
Retail Customer Analytics
• Built on real-time POS data
• Aggregated on the fly based on inputs
44
![Page 45: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/45.jpg)
Retail Customer Analytics
• Use of D3 JavaScript Libraries
45
![Page 46: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/46.jpg)
Influencer Analysis
• Built in SAP River and Lumira in 1 day
46
![Page 47: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/47.jpg)
Influencer Analysis
• Consumes both structured and unstructured data in one model
47
![Page 49: Understanding the SAP HANA Difference](https://reader031.fdocuments.us/reader031/viewer/2022020622/61eb5e93387d9042e620c0d5/html5/thumbnails/49.jpg)