Contenu connexe
Similaire à A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by Toshiro Morisaki
Similaire à A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by Toshiro Morisaki (20)
Plus de Insight Technology, Inc.
Plus de Insight Technology, Inc. (20)
A11,B24 次世代型インメモリデータベースSAP HANA。その最新技術を理解する by Toshiro Morisaki
- 2. © 2013 SAP AG. All rights reserved. 2
SAP SAP
SAP
SAP
SAP
SAP
- 3. © 2013 SAP AG. All rights reserved. 3
DB
Broad
Deep
High Speed Broad
Deep
High Speed
SimpleReal-timeSimpleReal-time
OR
DB
- 4. © 2013 SAP AG. All rights reserved. 4
OLTP OLAP HW
SAP HANAYesterday
H/W
OLTP
+ OLAP
In-memory
acceleration
cache
- 5. © 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
- 6. © 2013 SAP AG. All rights reserved. 6
OLTP OLAP 5 DB
Broad
Deep
High Speed
Real-time Simple
- 7. © 2013 SAP AG. All rights reserved. 7
HW
Disk
Partitioning
Insert Only on Delta Compression
Row and Column Store
No aggregatesMemory
+
+
+ +
Memory
Logging and Backup –
Solid State / Flash / HDD
CPU
Multi-Core
Massively Parallel
SingleOptimized Platform
64-bit address space
supports 2TB RAM
100GB/s throughput
Disk
CPU
+
I/O
5,000,000
I/O
50
Yesterday SAP HANA
SSD
DISK
I/O
50,000
Disk IO SSD
DISK
1000
• IO
•
•
•
• IO
• x86
- 9. © 2013 SAP AG. All rights reserved. 9
SAP HANA Appliance
SAP HANA Technology Partners SAP HANA Hardware Partners
10
- 10. © 2013 SAP AG. All rights reserved. 10
CPU 20Core 40Core 80Core
256GB 512GB 1TB
Max Node 16Node
16Node or
56Node
56Node
CPU 20Core 20Core 40Core 80Core 40Core 80Core
128GB 256GB 512GB 1TB 1TB 2TB or 4TB
SAP HANA T
XS S M L
XL
Suite on HANA
2013/5/29
L L
- 11. © 2013 SAP AG. All rights reserved. 11
HANA
DB
- 12. © 2013 SAP AG. All rights reserved. 12
Insert only
- 13. © 2013 SAP AG. All rights reserved. 13
Insert Update
SELECT Read
- 14. © 2013 SAP AG. All rights reserved. 14
Insert Update
- 15. © 2013 SAP AG. All rights reserved. 15
Write
Read
Write
Read Read
Write
(New) (New) (New)(New)
New
- 16. © 2013 SAP AG. All rights reserved. 16
ROW
ID
No
1 456 France corn 1000
2 457 Italy wheat 900
3 458 Spain rice 600
4 459 Italy rice 800
5 460 Denmark corn 500
6 461 Denmark rice 600
7 462 Belgium rice 600
8 463 Italy rice 1100
… … … …
1 Belgium
2 Denmark
3 France
4 Italy
5 Spain
1 3
2 4
3 5
4 4
5 2
6 2
7 1
8 4
… …
1 7
2 5,6
3 1
4 2,4,8
5 3
Dictionary
5 entries, so
need 3 bits to
encode!
(bit fields)
No 460
No
- 17. © 2013 SAP AG. All rights reserved. 17
Columnnar Run-length Encoding
ROW
ID
No
1 456 France corn 1000
2 457 Italy wheat 900
3 458 Spain rice 600
4 459 Italy rice 800
5 460 Denmark corn 500
6 461 Denmark rice 600
7 462 Belgium rice 600
8 463 Italy rice 1100
… … … …
1 Belgium
2 Denmark
3 France
4 Italy
5 Spain
3
4
5
4
2x2
1
4
…
Logical Table
1 corn
2 wheat
3 rice
1
2
3x2
1
3x3
…
- 18. © 2013 SAP AG. All rights reserved. 18
SQL
Information View
1
2
- 19. © 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 3
30 1 2
40 1 3
60 1 3
Product Group Color
20 2 1
50 3 3
Select * from table
where Group = “A”
Select * from table
where Group = “A”
Select * from table
where 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
- 20. © 2013 SAP AG. All rights reserved. 20
SQL quant.
150
60
100
45
75
84
96
162
45
366
sales
$1000
$900
$600
$800
$500
$750
$600
$600
$1100
$450
$2000
type
43
12
12
33
33
12
32
43
12
33
core
3
core
3
core
4
core
4
core
1
core
1
core
2
core
2
A
B
- 21. © 2013 SAP AG. All rights reserved. 21
Information View
Attribute View Analytic View Calculation View
SAP HANA database HANA View
Analytical View Calculation View Cube BusinessObjects
Attribute views: View
Analytic views: Attribute view View
Calculation views: Analytic View UNION Join
SQLScript View
- 22. © 2013 SAP AG. All rights reserved. 22
HANA Appliance
Persistence Storage
SSD FusionIO
SAS
1
2
3
Note:
- 23. © 2013 SAP AG. All rights reserved. 23
DISK
NFS
SAP HANA
Database NFS
SAP HANA
1.
2. 3rd Pipe
HANA
- 24. © 2013 SAP AG. All rights reserved. 24
3rd
“Backint for SAP HANA” 3rd API
3rd HANA 3rd
Pipe
SAP HANA Studio Backint
SAP HANA
Database NFS
HANA
3rd
*2013/5/29 Symantec NetBackup 7.5
- 25. © 2013 SAP AG. All rights reserved. 25
)
1
)
2 43
- 26. © 2013 SAP AG. All rights reserved. 26
BI
Real-time
Analytics
Real-time
Applications
Real-time
Platform
SAP HANA
- 27. © 2013 SAP AG. All rights reserved. 27
SAP HANA
Real-time analytics
SAP Business Suite Third-party systems
SAP HANA
Microsoft
Excel
SAP Business
Objects solutions
Others…(Open)
Real-time
replication services
Data services
Real-time apps
In-memory
database
Planning and
Calculation Engine
R & Hadoop
integration
Predictive Analysis
& Business
Function Libraries
SAP NetWeaver
Business Client
Information
Composer &
Modeling Studio
Text Search
Application
Services (e.g.
HTML 5 Server)
- 28. © 2013 SAP AG. All rights reserved. 28
SAP HANA
Real-time analytics
SAP Business Suite Third-party systems
SAP HANA
Microsoft
Excel
SAP Business
Objects solutions
Others…(Open)
Real-time
replication services
Data services
Real-time apps
Planning and
Calculation Engine
R & Hadoop
integration
Predictive Analysis
& Business
Function Libraries
SAP NetWeaver
Business Client
Information
Composer &
Modeling Studio
Text Search
Application
Services (e.g.
HTML 5 Server)
In-memory
database
- 29. © 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
- 30. © 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) Predictive
Analysis Library (PAL) AFL
AFL SQLScript BFL/PAL
C++ AFL/BFL/PAL
Business Function Library
Predictive Algorithm Library
- 31. © 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
- 32. © 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
- 33. © 2013 SAP AG. All rights reserved. 33
Predictive Analysis
SAP
SAP HANA
SAP
Predictive Algorithm Library)
4000
4000
R
- 34. © 2013 SAP AG. All rights reserved. 34
SAP HANA
HANA Studio
SAP In-Memory Database
Calculation and
Planning Engine
Row &
Storage
Row &
Column
Storage
* SAP HANA Roadmap
SAP LT
Replication
Server
SAP Business
Suite
SAP BW
Non SAP
Data Sources
Activation
Queue
In memory DSO
SAP BOBJ
Data Services
BPM Event Hub *
Sybase Replication
Server *
SAP HANA Direct
Extractor
Connection**
SAP Event Stream
Processor
Trigger
Based, Real
Time
ETL, Batch
Extract
or
Batch
XS
Engine
Log Based
Trading & Order
Management Systems
SAP NW 7.31
BPM/BRM
JDBC
ODBC
SAP HANA
Http/Http
s
DB
Connection
ODBC
** SAP ERP & BW Extractors
Event Streams
BPM Events
SAP
BusinessObjects
tools
SAP
BusinessObjects
tools
Other query
tools
SQL BICS SQL MDX
ECDA/ODBC
- 35. © 2013 SAP AG. All rights reserved. 35
Data Integration
Hadoop
Hadoop
Map-Reduce
SAP HANA Platform
SAP
BusinessObjects BI
CEP
Traditional DB
Oracle, DB2, SQL
Server, ASE
Traditional DB
Oracle, DB2, SQL
Server, ASE
Traditional DB
Oracle, DB2, SQL
Server, ASE
SAP ECC Non-SAP
Trans 1
Non-SAP
Trans 2
- 36. © 2013 SAP AG. All rights reserved. 36
Map/Reduce
SAP HANA Hadoop
HIVE
HDFS
DataService
SAP HANAHiveQL
Files Web & OthersDatabases
PIG
Pig
Hadoop
BI
Predictive Analysis
Library
- 37. © 2013 SAP AG. All rights reserved. 37
SAP HANA Accelerators
SAP HANA
Business Suite
SAP
HANA Suite
SAP HANA Apps
SAP HANA
Business Suite
Business Warehouse
powered by SAP HANA
SAP HANA
Business Suite powered by
SAP HANA
SAP HANA
Business
Suite
SAP HANA New Apps
Business Suite
Business One
SAP HANA
–
SAP
Busi-
ness
Suite
AnyD
B
Custome
r Mart
App
HANA
DB
SAP
Busi-
ness
Suite
AnyD
B
Apps
HANA
DB
AnyD
B
OD/SF Solutions
AnyD
B
HANA
DB
MSQL
HANA
DB
SAP Business One
HANA DB
BW
HANA DB
SAP Business
Suite
HANA DB
Apps
HANA
DB
HANA
DB
SAP
Busi-
ness
Suite
AnyD
B
Client
(Views)
HANA
DB
Client
SAP
Busi-
ness
Suite
Client
Client
SAP
Busi-
ness
One
ERP
CRM
SCM
SRM
PLM
Views
BW
Apps
Side-by-side
HANA
Platform
(Datamart)
HANA
Apps
HANA Content
(Reporting &
Analytics)
HANA
Accelerators
Cloud on
HANA
Business One
Analytics on
HANA
Business
One on
HANA
BW on
HANA
Business
Suite on
HANA
HANA
New
Apps
OD: On Demand; SF: Success Factor
New Frontier
SAP HANA
- 38. © 2013 SAP AG. All rights reserved. 38
Oracle DB
(e.g. Exadata)
Informatica ETL
Oracle BIEE
SAS/SPSS Predictive
DBA and
IT 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 Analysis
BusinessObjects
ETL
DWH
BI Tool
Predictive Analysis
- 39. © 2013 SAP AG. All rights reserved. 39
SAP HANA Cloud
SAP HANA ONE
Public Cloud(AWS)
SAP HANA
On Premise
SAP HANA
Enterprise Cloud
Managered Cloud
Open Cloud
Eco 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
- 40. © 2013 SAP AG. All rights reserved. 40
SAP HANA One on AWS Developer Edition
HANA
SAP HANA AWS
HANA AWS EC2 $0.62/hr
HANA Studio Windows on EC2 AWS
URL
http://scn.sap.com/docs/DOC-28294
Size
Virtual
CPU’s
Memory
(GB)
Storage
(GB)
m2.xlarge 2 17.1 154
m2.2xlarge 4 34.2 154
m2.4xlarge 8 68.4 154
- 41. © 2013 SAP AG. All rights reserved. 41
SAP HANA Academy
http://www.saphana.com/community/implement/hana-academy
300 SAP HANA
- 42. © 2013 SAP AG. All rights reserved. 42
SAP sessions - HANA, IQ -
6/12 IQ 16 press
release
IQ 16 press
conference
7/9-11 Dan Lahl
Japan visit
29 30 31
13:00-13:45
Core Tech HANA
SAP HANA
15:00-15:45
Core Tech HANA
SAP HANA
16:00-16:45
Big Data solution
SAP
13:00-13:45
Big Data solution
SAP
15:00-15:45
Core Tech IQ
SAP Sybase IQ
IQ
DQP
16:00-16:45
Core Tech HANA
SAP HANA
13:00-13:45
Core Tech IQ
SAP Sybase IQ
IQ
DQP
15:00-15:45
Core Tech HANA
SAP HANA
17:00-17:45
Core Tech HANA
SAP
HANA
- 44. © 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 or
warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group
products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing
herein 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 in
Germany and other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.