49
Understanding the SAP HANA Difference Amit Satoor, SAP Data Management

Understanding the SAP HANA Difference

  • Upload
    others

  • View
    8

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Understanding the SAP HANA Difference

Understanding the SAP

HANA Difference Amit Satoor, SAP Data Management

Page 2: Understanding the SAP HANA Difference

Webinar Logistics

Got Flash? http://get.adobe.com/flashplayer

to download.

Page 3: Understanding the SAP HANA Difference

© 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

© 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

© 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

Building next generation apps with SAP HANA John Appleby

@applebyj

Global Head of SAP HANA

Page 7: Understanding the SAP HANA Difference

What is SAP HANA?

Page 8: Understanding the SAP HANA Difference

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

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

Challenges of a traditional RDBMS

Page 11: Understanding the SAP HANA Difference

Oracle Stack

11

Page 12: Understanding the SAP HANA Difference

Microsoft Stack

12

Page 13: Understanding the SAP HANA Difference

IBM Stack

13

Page 14: Understanding the SAP HANA Difference

SAP HANA

14

Page 15: Understanding the SAP HANA Difference

Real-Time Applications

Page 16: Understanding the SAP HANA Difference

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

… 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

Consuming Reference Data

Page 19: Understanding the SAP HANA Difference

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

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

We create re-usable information views

21

Page 22: Understanding the SAP HANA Difference

Good performance

• Even aggregating all our weather data, 2.4bn rows

• 1-2 seconds

22

Page 23: Understanding the SAP HANA Difference

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

Consuming Social & Sensor Data

Page 25: Understanding the SAP HANA Difference

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

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

Text & Sentiment Analysis

Page 28: Understanding the SAP HANA Difference

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

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

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

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

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

Predictive Analysis Library

Page 34: Understanding the SAP HANA Difference

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

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

SAP HANA Web Services (XS)

Page 37: Understanding the SAP HANA Difference

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

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

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

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

SAP River

Page 42: Understanding the SAP HANA Difference

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

Example Applications

Page 44: Understanding the SAP HANA Difference

Retail Customer Analytics

• Built on real-time POS data

• Aggregated on the fly based on inputs

44

Page 45: Understanding the SAP HANA Difference

Retail Customer Analytics

• Use of D3 JavaScript Libraries

45

Page 46: Understanding the SAP HANA Difference

Influencer Analysis

• Built in SAP River and Lumira in 1 day

46

Page 47: Understanding the SAP HANA Difference

Influencer Analysis

• Consumes both structured and unstructured data in one model

47

Page 48: Understanding the SAP HANA Difference

Questions?

48

John Appleby

[email protected]

@applebyj

bluefinsolutions.com/johnappleby

Page 49: Understanding the SAP HANA Difference