a11,b24 次世代型インメモリデータベースsap hana。その最新技術を理解する by...

44
SAP HANA SAP 2013/05

Upload: insight-technology-inc

Post on 16-May-2015

869 views

Category:

Travel


3 download

TRANSCRIPT

Page 1: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

SAP HANA

SAP2013/05

Page 2: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 2

SAP SAPSAP

SAP

SAP

SAP

Page 3: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 3

DB

Broad

Deep

High Speed Broad

Deep

High Speed

SimpleReal-timeSimpleReal-time

OR

DB

Page 4: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 4

OLTP OLAP HW

SAP HANAYesterday

H/W

OLTP+ OLAP

In-memoryacceleration

cache

Page 5: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 5

Operational Data Store

Data Warehouse

Indexes

Aggregates

Copy

ETL

Operational Data Store

Data

Calculation Engine

Query Results

Query

SAP HANA

Page 6: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 6

OLTP OLAP 5 DB

Broad

Deep

High Speed

Real-time Simple

Page 7: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 7

HW

Disk

Partitioning

Insert Only on Delta Compression

Row and Column StoreNo aggregatesMemory

++

+ +

Memory

Logging and Backup –Solid State / Flash / HDD

CPU

Multi-CoreMassively ParallelSingleOptimized Platform

64-bit address spacesupports 2TB RAM

100GB/s throughput

Disk

CPU

+

I/O5,000,000

I/O50

Yesterday SAP HANA

SSD

DISK

I/O50,000

Disk IO SSDDISK

1000

• IO••

•• IO• x86

Page 8: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 8

SAP HANA

Page 9: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 9

SAP HANA Appliance

SAP HANA Technology Partners SAP HANA Hardware Partners

10

Page 10: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 10

CPU 20Core 40Core 80Core

256GB 512GB 1TB

Max Node 16Node 16Node or56Node 56Node

CPU 20Core 20Core 40Core 80Core 40Core 80Core128GB 256GB 512GB 1TB 1TB 2TB or 4TB

SAP HANA T

XS S M L

XL

Suite on HANA

2013/5/29

L L

Page 11: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 11

HANA

DB

Page 12: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 12

Insert only

Page 13: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 13

Insert Update

SELECT Read

Page 14: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 14

Insert Update

Page 15: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 15

Write

Read

Write

Read Read

Write

(New) (New) (New)(New)

New

Page 16: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 16

ROWID No1 456 France corn 10002 457 Italy wheat 9003 458 Spain rice 6004 459 Italy rice 8005 460 Denmark corn 5006 461 Denmark rice 6007 462 Belgium rice 6008 463 Italy rice 1100

… … … …

1 Belgium2 Denmark3 France4 Italy5 Spain

1 32 43 54 45 26 27 18 4… …

1 72 5,63 14 2,4,85 3

Dictionary5 entries, soneed 3 bits toencode!

(bit fields)

No 460

No

Page 17: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 17

Columnnar Run-length Encoding

ROWID No1 456 France corn 10002 457 Italy wheat 9003 458 Spain rice 6004 459 Italy rice 8005 460 Denmark corn 5006 461 Denmark rice 6007 462 Belgium rice 6008 463 Italy rice 1100

… … … …

1 Belgium2 Denmark3 France4 Italy5 Spain

3454

2x214…

Logical Table1 corn2 wheat3 rice

12

3x21

3x3…

Page 18: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 18

SQL

Information View1

2

Page 19: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 1919

– ;

–– HANA SQL

Product Group Color

10 A red

20 B blue

30 A green

40 A red

50 C red

60 A red

Host 1

Host 2

Product Group Color

10 1 330 1 240 1 360 1 3

Product Group Color

20 2 150 3 3

Select * from tablewhere Group = “A”Select * from tablewhere Group = “A”

Select * from tablewhere Color = “red”Select * from table

where Color = “red”Product Group Color

10 A red

20 B blue

30 A green

40 A red

50 C red

60 A red

Group

1 A

2 B

3 C

Color

1 blue

2 green

3 red

Group

1 A

2 B

3 C

Page 20: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 20

SQL quant.15060

10045758496

16245

366

sales$1000$900$600$800$500$750

$600$600

$1100$450

$2000

type43121233331232431233

core3

core3

core4

core4

core1

core1

core2

core2

A

B

Page 21: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 21

Information View

Attribute View Analytic View Calculation View

SAP HANA database HANA ViewAnalytical View Calculation View Cube BusinessObjects

Attribute views: ViewAnalytic views: Attribute view ViewCalculation views: Analytic View UNION JoinSQLScript View

Page 22: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 22

HANA Appliance

Persistence Storage

SSD FusionIO

SAS

1

2

3Note:

Page 23: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 23

DISKNFS

SAP HANADatabase NFS

SAP HANA

1.

2. 3rd Pipe

HANA

Page 24: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 24

3rd

“Backint for SAP HANA” 3rd API

3rd HANA 3rd

PipeSAP HANA Studio Backint

SAP HANADatabase NFS

HANA

3rd

*2013/5/29 Symantec NetBackup 7.5

Page 25: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 25

)

1

)

2 43

Page 26: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 26

BI

Real-timeAnalytics

Real-timeApplications

Real-timePlatform

SAP HANA

Page 27: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 27

SAP HANA

Real-time analytics

SAP Business Suite Third-party systems

SAP HANA

MicrosoftExcel

SAP BusinessObjects solutions Others…(Open)

Real-timereplication services Data services

Real-time apps

In-memorydatabase

Planning andCalculation Engine

R & Hadoopintegration

Predictive Analysis& Business

Function Libraries

SAP NetWeaverBusiness Client

InformationComposer &

Modeling StudioText Search

ApplicationServices (e.g.

HTML 5 Server)

Page 28: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 28

SAP HANA

Real-time analytics

SAP Business Suite Third-party systems

SAP HANA

MicrosoftExcel

SAP BusinessObjects solutions Others…(Open)

Real-timereplication services Data services

Real-time apps

Planning andCalculation Engine

R & Hadoopintegration

Predictive Analysis& Business

Function Libraries

SAP NetWeaverBusiness Client

InformationComposer &

Modeling StudioText Search

ApplicationServices (e.g.

HTML 5 Server)

In-memorydatabase

Page 29: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 29

SAP HANA Extended Application Services (SAP HANA XS)

SAP HANA

SAP HANA

SAP HANA

JavaScript,SQLScript HANA View

ODATA, JSON, XMLA HTML5 / SAPUI5 HTTP / SMTP

TCO

SAP HANA

Page 30: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 30

Application Function Library

HANA Application Functional Library AFL

AFL SQLScript

Application Function Library (AFL)AFL

Business Function Library (BFL) PredictiveAnalysis Library (PAL) AFL

AFL SQLScript BFL/PAL

C++ AFL/BFL/PAL

Business Function LibraryPredictive Algorithm Library

Page 31: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 31

HANA Application Functional Library(AFL)Business Functional Library (BFL)

HANA HANA

Business Function Library

SAP HANA

Year on Year)

Business Function Library

BFL HANA

HANA

Annual Depreciation

Cumulate

Cycles

Days

Delay Stock

Discounted Cash Flow

Driver

Feed

Forecast Agents

Forecast Driver

Funds

Future

Grow

Lag

Lease

Linar Average

Max Value

Moving Average &Moving Sum

Net present Value

Outlook

Payment

Proportion

Rate

Seasonal Complex

Stock Flow

Time

Volume Drive

Business Function

Page 32: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 32

HANA HANA

C4.5 CHAID

k-

K-means ABC

HANA Application Function Library (AFL)Predictive Algorithm Library (PAL)

Predictive Algorithm Library

SAP HANA

PAL HANA

Predictive Algorithm Library

PAL HANA

HANA

PMML

PAL

Page 33: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 33

Predictive AnalysisSAP

SAP HANASAP

Predictive Algorithm Library)

4000

4000

R

Page 34: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 34

SAP HANA

HANA Studio

SAP In-Memory Database

Calculation andPlanning Engine

Row &

Storage

Row &ColumnStorage

* SAP HANA Roadmap

SAP LTReplicationServer

SAP BusinessSuite

SAP BW

Non SAPData Sources

ActivationQueue

In memory DSO

SAP BOBJData Services

BPM Event Hub *

Sybase ReplicationServer *

SAP HANA DirectExtractorConnection**

SAP Event StreamProcessor

TriggerBased, RealTime

ETL, Batch

ExtractorBatch

XSEngine

Log Based

Trading & Order

Management Systems

SAP NW 7.31BPM/BRM

JDBC

ODBC

SAP HANA

Http/Https

DBConnection

ODBC

** SAP ERP & BW Extractors

Event Streams

BPM Events

SAPBusinessObjects

tools

SAPBusinessObjects

tools

Other querytools

SQL BICS SQL MDX

ECDA/ODBC

Page 35: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 35

Data Integration

Hadoop

HadoopMap-Reduce

SAP HANA Platform

SAPBusinessObjects BI

CEP

Traditional DBOracle, DB2, SQL

Server, ASE

Traditional DBOracle, DB2, SQL

Server, ASE

Traditional DBOracle, DB2, SQL

Server, ASE

SAP ECC Non-SAPTrans 1

Non-SAPTrans 2

Page 36: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 36

Map/Reduce

SAP HANA Hadoop

HIVE

HDFS

DataServiceSAP HANAHiveQL

Files Web & OthersDatabases

PIGPig

HadoopBI

Predictive AnalysisLibrary

Page 37: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 37

SAP HANA Accelerators

SAP HANA

Business SuiteSAP

HANA Suite

SAP HANA Apps

SAP HANABusiness Suite

Business Warehousepowered by SAP HANA

SAP HANA

Business Suite powered bySAP HANA

SAP HANABusiness

Suite

SAP HANA New Apps

Business SuiteBusiness One

SAP HANA

SAPBusi-nessSuite

AnyDB

Customer MartApp

HANADB

SAPBusi-nessSuite

AnyDB

Apps

HANADB

AnyDB

OD/SF Solutions

AnyDB

HANADB

MSQL

HANADB

SAP Business One

HANA DB

BW

HANA DB

SAP BusinessSuite

HANA DB

Apps

HANADB

HANADB

SAPBusi-nessSuite

AnyDB

Client

(Views)

HANADB

Client

SAPBusi-nessSuite

ClientClient

SAPBusi-nessOne

ERP

CRM

SC

M

SRM

PLM

Vie

ws

BW

Apps

Side-by-side

HANAPlatform

(Datamart)

HANAApps

HANA Content(Reporting &Analytics)

HANAAccelerators

Cloud onHANA

Business OneAnalytics on

HANA

BusinessOne onHANA

BW onHANA

BusinessSuite onHANA

HANANewApps

OD: On Demand; SF: Success Factor

New Frontier

SAP HANA

Page 38: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 38

Oracle DB(e.g. Exadata)

Informatica ETL

Oracle BIEE

SAS/SPSS Predictive

DBA andIT Costs

Neteeza

DBA and IT Costs

BI Suite

HANA Enterprise

Predictive

SAP HANA Insights

SW

SAP HANA Insights

TCO

SAP HANA Insights

SAP HANA Insite DB HANA Predictive AnalysisBusinessObjects

ETL

DWH

BI ToolPredictive Analysis

Page 39: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 39

SAP HANA Cloud

SAP HANA ONEPublic Cloud(AWS)

SAP HANAOn Premise

SAP HANAEnterprise Cloud

Managered Cloud

Open CloudEco System

10

24 x 7

SAP Business Suite

SAP NW BW

SAP HANA

99cents/hour

30GB

Pure SAP HANA

Limited Scale Any Scale Elastic Scale Partner Scale

Page 40: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 40

SAP HANA One on AWS Developer EditionHANA

SAP HANA AWS

HANA AWS EC2 $0.62/hr

HANA Studio Windows on EC2 AWS

URL

http://scn.sap.com/docs/DOC-28294

Size VirtualCPU’s

Memory(GB)

Storage(GB)

m2.xlarge 2 17.1 154

m2.2xlarge 4 34.2 154

m2.4xlarge 8 68.4 154

Page 41: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 41

SAP HANA Academy

http://www.saphana.com/community/implement/hana-academy

300 SAP HANA

Page 42: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 42

SAP sessions - HANA, IQ -

6/12 IQ 16 pressrelease

IQ 16 pressconference

7/9-11 Dan LahlJapan visit

29 30 31

13:00-13:45Core Tech HANA

SAP HANA

15:00-15:45Core Tech HANA

SAP HANA

16:00-16:45Big Data solution

SAP

13:00-13:45Big Data solution

SAP

15:00-15:45Core Tech IQ

SAP Sybase IQIQ

DQP

16:00-16:45Core Tech HANA

SAP HANA

13:00-13:45Core Tech IQ

SAP Sybase IQIQ

DQP

15:00-15:45Core Tech HANA

SAP HANA

17:00-17:45Core Tech HANA

SAPHANA

Page 43: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

Thank you

Contact information:

Toshiro MorisakiSenior Solution EngineerE-Mail:[email protected]

Page 44: A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by  Toshiro Morisaki

© 2013 SAP AG. All rights reserved. 44

© 2013 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG.The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation orwarranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Groupproducts and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothingherein should be construed as constituting an additional warranty.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG inGermany and other countries.Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.