c13,c33,a35 アプリケーション開発プラットフォームとしてのsap hana by makoto...
DESCRIPTION
TRANSCRIPT
SAP HANA
SAP Customer Solution Adoption Asia Pacific Japan
© 2013 SAP AG. All rights reserved. 2
Disclaimer
This presentation outlines our general product direction and should not be relied on in making apurchase decision. This presentation is not subject to your license agreement or any other agreementwith SAP. SAP has no obligation to pursue any course of business outlined in this presentation or todevelop or release any functionality mentioned in this presentation. This presentation and SAP'sstrategy and possible future developments are subject to change and may be changed by SAP at anytime for any reason without notice. This document is provided without a warranty of any kind, eitherexpress or implied, including but not limited to, the implied warranties of merchantability, fitness for aparticular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in thisdocument, except if such damages were caused by SAP intentionally or grossly negligent.
SAP HANA
© 2013 SAP AG. All rights reserved. 4
© 2013 SAP AG. All rights reserved. 5
SAP
HW Technology Innovations
64 1 2TB
( 8 CPU x 10 )
SAP SW Technology Innovations
(Attribute View, Analytic View,Calculation View)
© 2013 SAP AG. All rights reserved. 7
OLAP
Fact TablePrimary KeyForeign Key A
Foreign Key B
Foreign Key C
Foreign Key DFact 1
Fact 2
Fact …
Dimension BDimension Key
Attribute 1
Attribute 2
Attribute ...
Dimension CDimension Key
Attribute 1
Attribute 2Attribute ...
Dimension ADimension Key
Attribute 1
Attribute 2
Attribute ...
Dimension DDimension Key
Attribute 1
Attribute 2
Attribute ...
SAPIBMRWEDBDEAU
CHUS
4711
4712
4713
4714
Attribute View
Measure(
HANA DB
© 2013 SAP AG. All rights reserved. 8
Attribute View
Attribute ViewAttribute View
Attribute View
OLAPHANA Analytic View
Delivery Header
Delivery IDDelivery Date
Ship-to Party
Sold-to Party
Sales Org
Delivery Item
Delivery IDItem IDMaterialValue
Delivery ItemStatusDelivery IDItem IDPicking Status
Business PartnerBusiness Partner IDName
Address
Contact
AddressAddress IDStreetCity
Postal Code
Country
Org UnitOrg Unit IDName
Manager
EmployeeEmployee IDName
MaterialMaterial IDMaterial Class
CountryDescriptionsCountry CodeLanguageDescription
PersonPerson IDLast Name
First Name
MaterialDescriptionsMaterial IDLanguageDescription
MaterialClassMaterial Class IDName
StatusDescriptionsStatus TypeStatus ValueLanguageDescription
Data Foundation
Fact table
© 2013 SAP AG. All rights reserved. 9
: Calculation View
Calculation View
SQL Script
© 2013 SAP AG. All rights reserved. 10
SAP HANA
Column
Store
AnalyticalViews
AttributeViews
Calculation Views
/
A B C D
A B C D G Y
A G Y
A G Y Z
(CONSTRAINTS, WHEREClause, Analytical Privileges..)
( GROUP BY)
HANA DB
- .- (IF, CASE, ... )
© 2013 SAP AG. All rights reserved. 11
Visualize Plan Timeline
Administration > Performance > SQL Plan Cache Time Line
Visualize Plan
HANA(
)
© 2013 SAP AG. All rights reserved. 13
In-Memory computing
In-Memory Computing
© 2013 SAP AG. All rights reserved. 14
SQL Script
SQL
© 2013 SAP AG. All rights reserved. 15
(AFL)
Application Functions (C++)
SQLScriptSQLScript
HANA Clients (App Server, Analytics Technology, etc)HANA Clients (App Server, Analytics Technology, etc)
SAP HANA
Business FunctionLibrary
Business FunctionLibrary
Predictive AnalysisLibrary
Predictive AnalysisLibrary
AFLAFL
…
– C++ AFL–
PAL (Predictive Analysis Libraries)– (Aprior Apriori Lite)– (K-Means )– (C4.5 CHAID K
BFL (Business Function Libraries)– , , , , ,
, ,, , .
Parameter TableParameter Table
© 2013 SAP AG. All rights reserved. 16
Excel$14000
36 10.25
•• Excel /•
( )
© 2013 SAP AG. All rights reserved. 18
SAP HANA
HANA
© 2013 SAP AG. All rights reserved. 19
SELECT SCORE() AS S, CAMP_NO, DEFECT FROM TABLEWHERE CONTAINS(DEFECT, 'throttle engine‘, FUZZY(0.7)) ORDER BY S DESC;
SELECT CAMP_NO, DEFECT FROM MODELED VIEW WHERE CONTAINS(DEFECT, 'thrtle', FUZZY(0.7));
© 2013 SAP AG. All rights reserved. 20
SELECT SCORE(), ID, FILENAME, SNIPPETS(PDF_BLOB), HIGHLIGHTED(PDF_BLOB) FROM DOCUMENTREPO WHERECONTAINS(PDF_BLOB, 'temporal')
CREATE FULLTEXT INDEX PDF_BLOB_IDX ON DOCUMENTREPO("PDF_BLOB") TEXT ANALYSIS ONCONFIGURATION 'EXTRACTION_CORE'
HANA(HANA Extended Application Services)
© 2013 SAP AG. All rights reserved. 22
HANA Extended Application Service(XS)
: “ ”HTTP Web UI (PC )
AP SAP HANA =>TCOSAP HANA
webSAP HANA
© 2013 SAP AG. All rights reserved. 23
Application Platform: SAP HANA Based Applications
HANA
App Server
ABAPABAP JavaJava
ODBC/JDBC/SQL: SAP Business Suite on HANA
Database data enginesdata engines
client
UI
© 2013 SAP AG. All rights reserved. 24
Application Platform: Native SAP HANA Applications
HANA
clientXS: Extended Application ServicesSAP HANA
Database data enginesdata engines
XS
© 2013 SAP AG. All rights reserved. 25
GUI/Browser
RDBS
SQL
UI
UI
SQL(high retrieval load, no scripts)
HANA
Browser
http(s); OData ( )
HdbNet( )
XSEngine
UIHTML5: Javascript
Index Server
(HDB-SQL, SQLScript)
XS Applications
DB DB
© 2013 SAP AG. All rights reserved. 26
JavaScript (XSJS)
Database
HANA
Repo
Repo
XS
SAP HANA :• (import library)
• ODBC/JDBC
ODataOData XMLAXMLAUI5UI5
Studio-based editor/debuggervar conn = $.db.getConnection();
var pstmt = conn.prepareStatement( "select * from DUMMY" );
var rs = pstmt.executeQuery();
$.response.contentType = "text/plain";
if (!rs.next()) {
$.response.setBody( "Failed to retrieve data" );
$.response.status = $.net.http.INTERNAL_SERVER_ERROR;
} else {
$.response.setBody("Response: " + rs.getString(1));
}
rs.close(); pstmt.close(); conn.close();
SQLScriptSQLScript MDXMDXSQLSQL ViewsViews
XSJSXSJS
© 2013 SAP AG. All rights reserved. 27
OData REST (XSOData)
Database
HANA
Repo
Repo
XS
XSJSXSJS XMLAXMLAUI5UI5
service {
"hello.odata::otable" as “Entries”;
}
Studio-based editor
SQLScriptSQLScript MDXMDX
ODataOData
SQLSQL ViewsViews
• REST• .xsodata View
• URL JSON XML :•
• Create/Update/Delete SPS6(2013 6
© 2013 SAP AG. All rights reserved. 28
Open Data Protocol ?
- HTTP, XML, Atom
REST
HTTP
Atom 2Atom Syndication FormatAtom Publishing Protocol
- XML Based
OData – http://www.odata.org
- Data Types,Service Metadata, Service Runtime
- “ODBC for the Web”
OData for SAP Products
OData
Atom
XML/JSON
HTTP
© 2013 SAP AG. All rights reserved. 29
OData URL SQL
Odata URLhttp://services.odata.org/OData/OData.svc/Products?$select=Rating,ReleaseDate
SQLSELECT Rating RelaseDate from Product ;
Odata URLhttp://services.odata.org/OData/OData.svc/Products?$filter=Price lt 2.55
SQLSELECT * from Products where Price < 2.55
© 2013 SAP AG. All rights reserved. 30
SAP UI5 (UI Development Toolkit for HTML5)
Database
HANA
Repo
Repo
XSXSJSXSJS XMLAXMLA
SQLScriptSQLScript MDXMDX
ODataOData
SQLSQL ViewsViews
SAP UI5HTML5 SAP UI
UIEclipse
HTML
MVCOData JSON
UI5UI5
© 2013 SAP AG. All rights reserved. 31
UI5
© 2013 SAP AG. All rights reserved. 33
SAP HANA:
• SAP HANA
• SAP HANA OLAP( OLTP(
• AFL/Decision Table/Text Search
• SAP HANA SAP HANA
© 2013 SAP AG. All rights reserved. 34
SAP HANA Academy
http://www.saphana.com/community/implement/hana-academy
300 SAP HANA
© 2013 SAP AG. All rights reserved. 35
Open SAP (XS )
https://open.sap.com
© 2013 SAP AG. All rights reserved. 36
SAP sessions - HANA, IQ -
6/12 IQ 16 pressrelease
IQ 16 pressconference
7/9-11 Dan Lahl Japanvisit
29 30 3113:00-13:45
Core 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
SAP HANA