1. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 1
Database Lounge Tokyo #3
HANA シ 児云 き
SAP ン幄塀氏芙
仟消隠 再屈 ( う ) @kouji_s_0808 #dbltokyo
2. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 2
A、聞いT たSQLに捻 g廾卆贋
S弥 k燕Y創 HANA 箭 火廷 函 識
3. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 3
HANAで Y惚
MOD(3,0) ERROR
GREATEST(1,2,NULLき NULL
LどNにTHが`あグき さ ★ 猟忖方
LどNにTHがでHARがさごきち`Aてでグき し ★ ` 方
CURRENT_TIMESTAMP ン ン ovS 恷仟 函誼
NULL||'ABC' NULL
かさ2しかくかじすずか 5せ9
かさ2し'+'XYZ' ERROR
4. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 4
噫 、おし い
5. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 5
HANAに つわ 脅偏師h
あ` あ DWH ン
6. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 6
HANAに つわ 脅偏師h
あ` あ DWH ン
そう `う
7. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 7
SAP HANA In-Memory Database
Partitioning
Insert Only on Delta Compression
Row and Column Store
No aggregates
+
+
+ +
Memory
Multi-Core (Scale-Up)
Massively Parallel (Scale-Out)
Single Optimized Platform
64-bit address space
supports 2TB RAM/Node
100GB/s throughput/Node
CPU
+
SAP HANA
? ` 恷仟室g 試喘
? ッ `
? 恷富 IO棋 rg
? ン 念戻 ン 夛
SAP HANA
Database
OLAP + OLTP
+
+
+
+
+
+ +
New Main(column)
Single data copy
+
Delta Main (column)
厚仟
(Write Optimized)
歌孚
(Read Optimized)
? CPU
? SIMD VectorI尖 CPU凋綜 p
? TSX 坪 ` 電麿I尖 CPU `
? Memory
? Delta(Insert Only) 厚仟 ン ン I尖 Column
Store ッ (厚仟I尖 Wい) 針捲
? i 函 Rs瘁 Column Store i 函 來嬬 ゝ 鯢
SIMD TSX Real-time
8. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 8
SAP HANA Delivery Model
ン 互堀來
SAP 頼畠 `
? SAP HW ` `
` ン
? ` 並念
ッ ッ
? 並念
ン `
? 児云議 HW 戻工
? ` ` 光コン `
ン (OS 根 ) ン
` 恬I 駅勣
? ` ` 光コン ` ン
` い
光 ` ` {屁
悲來
屡贋ITYb コ 試喘
プ ンス TDI
HANA Server
Bundled
Storage
DRAM
Application
Database
OS
Virtualization
Network
Storage
HANA Server
Enterprise
Storage
DRAM
Application
Database
OS
Virtualization
Network
Storage
9. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 9
Certified HANA Hardware Directory
http://global.sap.com/community/ebook/2014-09-02-hana-hardware/enEN/appliances.html
10. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 10
HANAに つわ 脅偏師h
HANA SQL
RDBMS け
11. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 11
HANAに つわ 脅偏師h
HANA SQL
RDBMS け
そう そ け
い
12. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 12
HANA 室g議 ッ ン
TREX
(Text Retrieval and information EXtraction)
`9せ
ADABAS D SAP DB
`ごし `ごせ
`9。
`ごす
P*TIME
`さご
HANA
Sybase
Column based in-memory data storage
& processing & distributed infra(no SQL,
no transaction support) And some
processing engines are supported.
(graph, search, classification, mining´)
Row based on disk SQL access data storage
& processing
Data Integration (Data Services)
HANA 1.0 SPS00
TREXMaxDB P*TIME
Sybase ASE, Sybase IQ, Sybase SQL
Anywhere, Sybase Replication Server ´
Row based in-memory SQL access data
storage & processing
13. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 13
SAP HANA Platform
`タベ`スサ`ビス
Web Server JavaScript
Graphic
Modeler
Data Virtualization ELT &
Replication
Columnar
OLTP+OLAP
Multi-Core &
Parallelization
Advanced
Compression
Multi-tenancy Multi-Tier
Storage
Graph Predictive Search
Data
Quality
Series
Data
Business
Functions
Hadoop &
Spark Integration
Streaming
Analytics
Application Lifecycle
Management
High Availability &
Disaster Recovery
OpennessData
Modeling
Admin &
Security
Remote
Data Sync
Spatial
Text
Analytics
Fiori UX
ALM
</>
プ `ションサ`ビス `タy栽サ`ビスプ ッ フ `ムサ`ビス
S A P H A N A P l a t f o r m
14. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 14
HANAに つわ 脅偏師h
ン ` ` `
HANA ]k來
15. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 15
HANAに つわ 脅偏師h
ン ` ` `
HANA ]k來
そうそう ッ ン 畠何え
o
あ
16. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 16
In-Memory & Persistence Layer
`シスタンスレ ヤ`(喟A晒レ ヤ`)
HANA ` ` ` 砿尖 ン ン
砿尖 ` r `砿尖 佩う
? ` `
? ` Undo 隠隔 ` I囃
? `
? ン ン (REDO) 隠隔 ` I囃
? ` ` 筝( ン ン) 隠贋
揖豚、掲揖豚によ ス へ きz
? ` ン (掲揖豚)
? `貧 筝 ` ` ` z (
300昼 W决 z )
? コ ッ (揖豚)
? ン ン_協 ン ` 根 ッ `貧 `
` z
`
`
` `
`
` `
ン ン
(WAL) 竃
- Log Buffer FULL
- Commit/Rollback
協豚議 徭
` ン
SAP HANA
UNDO DATAREDO
Log Buffer Row Store Column Store
ン
ン
ン
17. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 17
Persistence Storage I/O Pattern
シ Data Volume Log Volume Backup Storage
z ン ン - WRITE
OLTP C 古 4KB ` ン I/O
OLAP C 寄 I/O (1 MB
貧 辛)
-
` ン ッ ッ
`
WRITE
4 KB C 64 MB 掲揖豚 K双I/O ( `
楚 塞 卆贋)
- -
DB壅軟 ` `
` `
READ
4 KB C 64 MB 掲揖豚 K双I/O ( `
楚 Row Store 卆贋)
READ
256 KB 掲揖豚I/O
-
Column Store ` ` READ
4 KB C 16 MB 掲揖豚 K双I/O
- -
` ` ? ッ ッ READ
4 KB C 64 MB 掲揖豚I/O ( ッ `
512 MB)
- WRITE
512 MB ` ン I/O (O協辛嬬)
? ッ ッ - READ
4 KB C 128 MB 掲揖豚I/O ( ッ `
128 MB)
WRITE
4 KB C 128 MB ` ン I/O
` WRITE
4 KB C 64 MB 掲揖豚 K双I/O
READ
256 KB 掲揖豚I/O
READ
Data backup: 512 MB ッ `I/O
Log backup: 128 MB ッ `I/O
18. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 18
HANAに つわ 脅偏師h
` け そ 謹
` 鯉{ い い
19. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 19
HANAに つわ 脅偏師h
` け そ 謹
` 鯉{ い い
寄嬋健 芦伉 い
Fg中(コ 中) 弼? 返粁 戻工
い
20. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 20
Scale Up/Scale Out Cluster
Scale Up Server
? 2 CPU 128GB ? 20 CPU 20TB
? SoH S/4HANA BWoH ` `
喘余 SAP HANA
? HA/DR `
Scale Out Cluster
? `あ 2岬參貧 ` `撹
? ` 256GB, 512GB, 1TB, 1.5TB,
2TB, 3TB,式び4TB
? J協g 恷寄撹: 94 ` @4TB/Server
(376TB)
? HA/DR `
21. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 21
Dynamic Tiering
SAP HANA + Extended Table + SAP Sybase IQ + Hadoop
光 ン 伏 ` I尖
? In-Memory Platform
? OLTP/OLAPI尖
? 仇尖秤 へ
蛍裂v方
? Disk `
? 互堀 紳 互いRs
? ` 協x ッ ッ
HANA 邑^議 g佩辛嬬
? TB?PB 夛晒 `
` 辛嬬
? ` 嶷}隠隔 い
? HANA C嬬 い
? ` 塘崔侭 IQ 筝
? NLS i z 喘 `
聞喘
? ` SLA勣箔 悲
HANA
Hot
Dynamic Tiering
Warm
SAP Sybase IQ
Cold
? SDA Hive/Spark 俊A
? vUDF 屡贋 MarReduce
試喘
? vUDF SQL g佩 辛嬬
Raw
Hadoop
22. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 22
Multistore Table
( 11/30 ` HANA 2.0 In-Memory
` ン Disk ` ン 邑^議 辛嬬
Multistore Table ` い YO!)
Partition Table
Table
Part #3
Part #1
Part #4
Part #2
In-Memory
based Column
Engine
Disk based
Column Engine
Multistore Table
23. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 23
HANAに つわ 脅偏師h
互い
24. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 24
HANAに つわ 脅偏師h
互い
ぎももナ$おぎ
25. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 25
SAP HANA, eXpress Edition
SAP HANA, eXpress Edition
? 32GB o ン ` 辛嬬 SAP Developer Center
? J協HW音勣 ` 徭附 PC AWS Azure
? SCN(SAP Community Network)U喇 ` 並念O協g
` 吉 淫根
? 32GB參貧駅勣 _k 哈 @い 嗤
井SAP HANAへ卞佩辛嬬
http://go.sap.com/japan/developer/topics/sap-hana-express.html
Feature Scope Description
SAP HANA 乾 う SAP HANA, express edition ッ ン `
26. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 26
Q & A
Any Question?
27. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 27
THANK YOU!
28. ? 2016 SAP SE or an SAP affiliate company. All rights reserved. 28
窒並
ン ` ン 益芙 匯違議 u瞳 圭鯰 h苧 あ 澓 吭房Q
協 佩うH 登僅児 ン ` ン SAP ン 弐s
そ 麿 弐s 念戻 あ
SAP ン ` ン 古h 並I gF ン ` ン
d い C嬬 _k ` x い ン `
ン び SAP 藺 び嚠協 い 繍栖 _k 筝 辛嬬來 あ SAP 昧r
尖喇 泌採 わ 並念 嚠御 筝
云 斌I來 蒙協朕議へ m栽來 掲盃墾來吉 a幣議隠^ 根 苧幣 a幣
わ い 隠^ 育う あ SAP 吭躓 嶷寄 ^払 軟
咀 p墾 茅 云 ` 用鯛吉 ^払 い SAP 販 わ い