21
HANA “The Flash” 謝禎國 Ben Hsieh / Tasmc Jul. 19, 2012

HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

Embed Size (px)

Citation preview

Page 1: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

HANA – “The Flash”

謝禎國 Ben Hsieh / Tasmc

Jul. 19, 2012

Page 2: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 2

什麼是HANA?

In-memory computing is a technology that analyses massive quantities of data in

local memory so that the results of complex analyses and transactions are

available at your fingertips – and business decisions can be executed without delay

With in-memory technology integrated in your business, you’ll see immediate

benefits

Gain Real-Time – know it when it happens

Go Deeper – ask any question on any data

Act Broadly – manage large volumes of data

Run Faster – analyze at the speed of thought

Get Flexibility – eliminate pre-fabrication

requirements

Page 3: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 3

In-Memory Computing – The Time is NOW

HW Technology Innovations

64bit address space – 2TB in

current servers

100GB/s data throughput

Dramatic decline in

price/performance

Multi-Core Architecture (8 x 8core

CPU per blade)

Massive parallel scaling with many

blades

One blade ~$50.000 = 1 Enterprise

Class Server

Row and Column Store

Compression

Partitioning

No Aggregate Tables

SAP SW Technology Innovations

Page 4: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 4

The Truth About Enterprise Data Landscapes

Operational

Warehouses

Marts

Dimensional

Semantic

Information

Oracle DB2 SQL Other

BW TeraData Netezza

Mart Mart Mart

OLAP OLAP

IQ

Universe

? Queries Ad-Hoc Dashboard

E

T

L

D

A

T

A

Q

U

A

L

I

T

Y

Applications

Reports

OLAP

Mart Mart Mart

OLAP

Mart

The Value of HANA

HANA

Oracle/DB2/SQL/Other

BW/Netezza/Teradata/IQ

The Future of “The Stack” – HANA Nirvana

HANA

Page 5: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 5

為何需要Real Time的HANA資料庫?

午餐報表時間的時代已經結束了

跨維度的即時分析不再是困難

就算有Data Warehouse,Cube的重新建立不再花時間

解放舊歷史資料的定位,不再是備份中備查的信息

資料可以自動區塊化,或根據決策樹切出有意義的內容

龐大的資料量再也不會是無法處理的問題

提供企業從一般報表到建立內部洞察力

企業的各類規劃可以更有歷史數據的支持

我們終於可以對預測有更多的信心水準了

Page 6: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 6

HANA在SAP應用的實際測試-COPA 加速器

6

SAP HANA

SAP HANA 1.0

~10x 壓縮

100x 加速

ERP

傳統 DB

CO-PA

獲利能力分析報表

下探報表

封存的資料

快速產生

報表

更快速的分攤分配

無限制的報表加速

BOBJ BI

BOBJ BI 4.0

彈性的報表產生

加速月結流程

加速 CO-PA 報表

加速 ERP CO-PA 分攤分配

加速報表產生

由使用者驅動的資料分析

即時的反應時間

無限制的資訊疆界

沒有限制的資料彙整階層,可層層下探或彙整

完整的資料細目生命週期分析

提供更深入的洞察力

高資料量與即時的資料搜尋

沒有維度限制的報表能力

益處

(需要額外的設定)

Page 7: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 7

SAP ERP solution for profitability analysis with SAP HANA

All CO-PA functions access data through

a dedicated function module. Generally,

this module determines the best data

source in the traditional database

(similar to an OLAP processor). With CO-

PA accelerator, HANA becomes the best

data source by default.

Summarizati

on levels

Line items Segments Totals HANA objects

K81.x

CO-PA

report

CO-PA read function module

Data source determination

CE1xxxx

CE2xxxx

CE3xxxx K81.x HANA

CE1

HANA

CE2

CE4xxxx HANA

CE4

CO-PA

allocation

CO-PA

planning

ColumnView ColumnView

Page 8: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 8

於 KEU5建立一個費用分攤周期(CO001),將總務課當月發生的職工福利費用依當月各特性(ex: 產品 , 客戶 , 產品類 , 銷售群組 , 配銷通路 , 銷售組織 , 品牌別 , 包裝別 )的淨營收比率分攤費用

實際測試結果:費用分攤

此範例中費用分攤為29586筆

Page 9: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 9

HANA測試結果

設定KEU5由HANA讀取資料

Page 10: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 10

HANA測試結果

KEU5由HANA讀取資料執行結果如下圖

程式執行時間為1267(秒) = 21 Min

Page 11: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 11

ERP測試結果

設定KEU5不由HANA讀取資料

Page 12: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 12

ERP測試結果

12

KEU5不由HANA讀取資料執行結果如下圖

程式執行時間為6871(秒) = 114.5 Min

Page 13: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 13

客戶痛點:月結時間過久、分析報表執行時間過長

CPU Memory Disk IO 月結 KE30 D-D 月結

(1/7 cycle)

月結

(2/7 cycle)

PRD 8Core (24+32)G Storage 33 hr 30 min up 2.83 hr 5.87 hr

測試環境

8Core 16G SAS * 2 3 hr

16Min 2 min 37 min 1.31 hr

* HANA機器為12核,64GB記憶體測試機

* Drill-Down Report 純粹從HANA讀資料顯示,所以速度相對快非常非常多。

* 壓縮比則是大約 1:8 左右,COPA原始資料大小為:33.13G 進Hana後則是壓縮為4.8G,但運算時的Log也是寫進Ram,機器規格需要符合原始資料大小

HANA是取代硬體升級投資的最

佳加速方案

Page 14: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 14

HANA的下一代發展分析(SAP預測分析)

14

Page 15: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 15

Predictive Analytics with SAP HANA

Transforming the Future with Insight Today

15

Unleash the value of Big Data

through the power of SAP HANA

• Employ in-database predictive algorithms

• Access 3,500+ open-source algorithms

via R integration for SAP HANA

Intuitively design and visualize

complex predictive models

• SAP Predictive Analysis software

Bring predictive insight to everyone

in the business

• Embed within business applications

• Extend into BI and reports

• Insight into events instantly delivered to

dashboards, alerts, and mobile devices

Page 16: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 16

HANA應用於零售業分析的效果

Page 17: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 17

HANA應用於銀行業的分析效果

17

Page 18: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 18

SAP HANA: Projects Go faster!

Logistics

1TB data from

multiple sources

CPG

200M records

ERP data

Chemicals

8TB ERP

CO-PA data

Win more

Data model flexibility

Increase query

performance

Increase query

performance

Reduce load

time/latency

Page 19: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 19

SAP HANA: Projects Go faster!

CPG

2TB of ERP data

Retail

12TB ERP data

Pharma

600 GB ERP +

3.5TB BW data

Reduce load time/

latency

Increase query

performance

New demand planning

possibilities

Increase query

performance

Page 20: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 20

SAP HANA: Value Proposition Addressing key business drivers

Make decisions in real-time

Accelerate business performance

Unlock new insights

Increase business productivity

Improve IT efficiency

1

2

3

5

4

Page 21: HANA “The Flash” - sap.myevrika.com · HANA在SAP應用的實際測試-COPA ... CPU Memory Disk IO 月結 KE30 D-D

© 2012 tasmc All rights reserved. 21 21

Thank You!

Contact information: [email protected]