Eddy Neveux – Solution Architect – North America - …€¦ · Eddy Neveux – Solution...
Transcript of Eddy Neveux – Solution Architect – North America - …€¦ · Eddy Neveux – Solution...
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 1 Public
SAP HANA 101
Eddy Neveux – Solution Architect – North America May 26-28, 2015 Public
SAP Business One Innovation summit - Barcelona
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2 Public
Agenda
SAP HANA Architecture Overview � A database by any other name … NOT!
Administration and Development � SAP HANA Studio
Extensibility � XS Engine � Service Layer
– OData, http/https … � SAPUI5, Fiori
– Front-end development, , browser, mobile, etc. � Languages
– SQLScript, Jscript/JQuery, R-language, RDL, AFL, PAL, etc.
SAP HANA 101 Architecture Overview
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4 Public
What is SAP HANA?
SAP HANA is … an “in-memory” database … � It is a combination of software and hardware � Allows for processing massive real-time data sets � In-memory technology means no disk/memory latency � SAP HANA supports both data storage in columns and rows, but is optimized for column-order storage
� Move business logic away from the client and move into the database (server side) � Has a persistence layer because memory is volatile – logs and backups to disk � All SAP Business One data resides in-memory
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5 Public
In-Memory Computing - Overview
Discrete
Hardware
• Multi-core architecture • Massive parallel
scaling
• 64-bit address space • 100GB/s data throughput
Software Traditional SAP HANA
• 10X compression • Massive parallel
processing
Cache
Disk
Partitioning & Parallelization
Insert Only on Delta + +
+ +
Compression
Row and Column Store +
Memory In-Memory
Flash
Integrated
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6 Public
SAP HANA In-Memory ….
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7 Public
SAP HANA Platform – More than just a database
Any Apps Any App Server SAP Business One
Other Apps Location Real-time HADOOP Machine Unstructured Transaction
HANA Platform
SQL, SQLScript, JavaScript
Spatial Search Text Analysis & Mining
Stored Procedure & Data Models
Application & UI Services
Business Function Library
Predictive Analysis Library
Database Services
Graph Engine
Rules Engine
Integration & Streaming Services
SAP HANA is the platform for ALL Applications
A true platform � Converged OTLP + OLAP � Embedded business logic
� Native data services
Supports any application � 60% of HANA use cases are outside of the SAP
Landscape � 1,600+ start-ups & ISVs developing on HANA
Supports any Device
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8 Public
SAP HANA Infrastructure …
Certified Server Hardware Depending on vendor … configuration of 64 Gig – 1 TB memory � Fujitsu � IBM � Dell � HP � Huawei � Lenovo � More on server configurations on SAP PartnerEdge … (http://scn.sap.com/docs/DOC-59383)
Certified Server Operating System � SUSE Linux Enterprise Server 11 SP3
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 9 Public
SAP Analytics Hybrid and SAP Business One for SAP HANA …
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10 Public
SAP Business One for SAP HANA - Transactions & Analytics Together
Windows
B1 Clients
Transaction Accelerator
Analytical Service
HANA DB
Mob
ile
Transactional & Analytical
• Analytics was traditionally separate from transactions
• That spurred growth of data warehouses.
• Now we can bring analytics and transactions back together.
• SAP Business One, version for SAP HANA: One database for both transactions and analytics.
Linux
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11 Public
SAP Business One Cloud for SAP HANA …
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12 Public
Column based data storage …
• Allows for faster data access • Only effected columns need to be read vs. each row of data in row storage • Any column can serve as an index • With scanning speed of several megabytes per millisecond per CPU core SAP
HANA in-memory column store calculates aggregates on large amounts of data on the fly with high performance.
• Allow for better data compression • Column based data storage allows for the majority of columns to contain few
distinct values • Better parallel processing • In a column store data is vertically partitioned • This allows for parallel processing on multiple columns • When multiple columns need to be searched or aggregated operations can be
assigned to a different processor core.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13 Public
Column Storage vs. Row Storage
Administration and Development
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15 Public
SAP HANA Studio
• Enables you to check if the system is running as expected
• Provides the ability to analyze issues
• Contains the SAP HANA modeler
• Allows you to create and manage user authorizations for SAP HANA
• Manages backup housekeeping and executes database restores
SAP HANA Studio has the tools to effectively monitor the system.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16 Public
SAP HANA Studio
• Runs on Eclipse platform
• Linux and Windows
• Used by many personas: • Developers, DBA, Data Modelers, Business Architects...
• Distinct perspectives: • Development • Administration • Modeling • Control • Debug • Etc...
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17 Public
Administration Console – Overview
The Overview tab page displays a summary of important system information:
• Overall system state
• General system information (e.g. software versions)
• Alerts
• Bar views with an overview of important system resources
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 18 Public
Administration Perspective
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19 Public
Modeler Perspective
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20 Public
SAP HANA Development Perspective
Extensibility
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22 Public
• Eclipse look-and-feel
• Dedicated perspectives and views
• The SAP HANA Development perspective:
• Project Explorer • SAP HANA Repositories • Navigator
• Workspaces
• Projects
SAP HANA studio: Development Perspective
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 23 Public
SAP HANA Extended Application Services (XS) SAP HANA as a next generation platform
SAP HANA technology evolution includes new features that are completely embedded in the DB that allows application developers to include business logic at the DB layer.
Application Development Paradigm Shift: Move software business logic closer to the data inside the DB layer.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24 Public
SAP HANA Extended Application Services (XS) Technologies
Front-end Technologies • http/s • HTML5 / SAPUI5 • Client-Side JavaScript
Control Flow Technologies • OData • Server-Side JavaScript(XSJS) • XML for Analytics(XMLA)
Data Processing Technologies • SQL / SQLScript • Calculation Engine Functions • Application Function Library
(AFL)
Java Script
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 25 Public
Native SAP HANA Applications
Exposing and consuming SAP HANA data via HTTP/s and SAP HANA XS: • Simplicity at runtime • Simplicity at design time • Sustainable architecture • Speed of development (XS and
OData) • Integrated technology stack (XS) • High performance as integrated inside
SAP HANA • Low TCO as no extra application
server required
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26 Public
Non-Native SAP HANA Applications
Applications developed externally, for example in Java, .NET, etc: • Use/extend existing applications • Use an existing application server • Reuse application server assets (workflow,
printing, archiving) • Reuse third-party software or libraries (for
example, Java)
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27 Public
The new Service Layer: (Transactional Scenarios) Accessing business logic of SAP Business One with OData
Develop true extreme applications leveraging the full power of SAP HANA • Embrace a complete 3-tier development framework fully integrated with SAP Business
One • Explore new use cases fully leveraging the full power of SAP HANA • Easily expand extensions architecture to mobile and web development • Better data throughput open doors for volume data business and innovative use
scenarios • Leverage the strengths of SAP HANA appliance without additional hardware investment
What it is • “DI-Server for Linux” • SAP Business One business logic compiled in Linux and exposed with OData web-
services • Functionally equivalent to DI API: all the objects and all the localizations • Available only on top of SAP HANA
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 28 Public
OData … Key points …
Just HTTP • Data as resources, HTTP
methods to act on it Uniform operations
• GET, POST, PUT, DELETE always mean the same
Uniform way of representing structured data
• Atom • JSON
Uniform URL conventions
• Navigation, filtering, sorting, paging, etc.
Any OData client can access data provided by any OData data source.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 29 Public
SAP Business One Service Layer Extensibility for New Breed of APPs
Service Layer exposes System and Partner business objects as a service: • Equivalent BO coverage as DI API • OData protocol (across internet) • Full leverage of SAPUI5, XS engine,
etc. • Support high volume and throughput via
multi-threading as well as high availability
• Only available on SAP HANA and version 9.1 and above
Value Proposition • Cater customer needs of using mobile
and web apps • High volume to support new customer
segment and industries • One Box for OLTP, OLAP and DEV
platform
Physical Tables
SAP HANA SERVER
SAP Business One Semantic Layer
SAP HANA XS Engine
(JavaScript, RDL) SAP Business One Service
Layer
SAP UI5
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30 Public
SAP UI5
This is SAP's new enterprise-ready HTML5 client-side library for UI rendering and programming. The key features:
Runs on SAP HANA XS
jQuery CSS3 OData LESS D3.js ARIA OpenAJAX HTML5
New HTML JS Library Style/Layout Connectivity Interoperability Theming Data-Driven Docs Accesibility
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 31 Public
SAP UI5 …
• Based on HTML5 which is a specification for building highly interactive, dynamic and flexible UI`s.
• SAPUI5 bundles a UI Control Library and Tooling for building exciting UIs following web standards.
• SAPUI5 is your “best” choice when developing enterpr ise ready l ightweight business applications in the SAP context.
• SAPUI5 is available and bundled with several platforms and products since Q4, 2012.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32 Public
SAP Fiori
• SAP Fiori is a collection of apps that look not only beautiful but are also extremely easy to use.
• It's simple and intuitive user interface, which is based on the new SAPUI5.
• The apps run across different devices; desktop, tablet or smartphone with the same user experience.
SAP Fiori delivers a personalized, role-based user experience (UX) for SAP software. Using modern design principles, it simplifies the UX across all lines of business, tasks, and devices – to reflect the way you actually work.
1-1-3 Experience • 1 User • 1 Task • 3 Screens of navigation max!
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 34 Public
What development languages can I use?
SQL Script � Based on ANSI-92 standards � Much like what you are used to with MS Transact SQL … with some differences … � Used with SAP HANA
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 35 Public
Languages …
JQuery � is a cross-platform JavaScript library designed to simplify the client-side scripting of HTML… free, open-
source. R-Language • free software programming language and software environment for statistical computing and graphics • widely used among statisticians and data miners for developing statistical software and data analysis
AFL (Application Function Library) • Includes both PAL (Predictive Analysis Library) and BFL (Business Function Library) • Predictive Analysis and Business Function Library have been available since SPS 05 as AFL content • PAL supports multiple algorithms such as K-Means, Association Analysis, C4.5 Decision Tree, Multiple
Linear Regression, Exponential Smoothing, etc. • BFL contains pre-built parameter-driven functions in the financial area and extends the computation ability
of SAP HANA with complex and performance-critical algorithms
What’s New …
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 37 Public
Spatial Data …
Spatial data or geospatial data � is data that describes the position, shape, and orientation of objects in a defined space. Spatial data is
represented as 2D geometries in the form of points, line strings, and polygons • An example might be the following image which shows the state of Massachusetts, representing the
union of polygons representing zip code regions.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 38 Public
Do you know ...
* Franklin, Carl and Paula Hane, “An introduction to GIS: linking maps to databases,” Database. 15 (2) April, 1992, 17-22. ** Cisco’s Internet Business Solutions Group (IBSG), “The Internet of Things”
15B Internet
connected devices by 2015**
80% of all data contains some reference to
geography*
90% of all mobile devices are
location-aware*
In a world of accelerated change, businesses need to transform customer engagements from transactions to individual interaction & experiences Competing in today’s business environment means leveraging all types of data
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 39 Public
Spatial Processing with SAP HANA Improves the value of business data by….
Enriching it with geographical context
Visualizing its shape & form
Presenting it in real-time
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 40 Public
Text Analysis and Big data …
The shift (for enterprises) from processing internal data
to mining external data.
The convergence of enterprise and consumer IT
The broad range of new and massive data types that have appeared over
the last decade or so.
New tools helping us find relevant data and analyze
its implications.
The belief that the more data you have the more insights and answers will rise automatically
from the pool of ones and zeros.
The shift (for individuals) from consuming data to creating data.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 41 Public
Text Analysis …
90% of the worlds 500 biggest companies have BIG DATA projects.
Healthcare
Retail
Sustainability
Finance
Industry
Security
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 42 Public
Text Analysis …
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 43 Public
Text Analysis can help with …
• Who • People, job tittle and national identification numbers
• What • Companies, organizations, financial indexes and products
• When • Dates, days, holidays, months, years, and time periods
• Where • Addresses, cities, states, countries, facilities, internet addresses and phone numbers
• How much • Currencies and units of measure
• Generic concepts • “Big Data”, “global piracy”, “global warming” and others..
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 44 Public
SAP HANA In-Memory Predictive Analytics
Predictive Analysis Library (PAL) � Native predictive algorithms � In-database processing for powerful and fast results � Quicker implementations � Support for clustering, classification, association, time series etc… “R” Integration for SAP HANA � Enables the use of the R open source environment (> 3,500
packages) in the context of the HANA in-memory database � R integration enabled via high performing parallelized connection � R script is embedded within SAP HANA SQL Script
Combine in-memory analytics in SAP HANA with “R” to support a variety of advanced analytic and predictive scenarios
In Conclusion…
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 46 Public
Where we have been… … where we are going
DI API for SAP HANA Service Layer for HANA Use the full power of SAP HANA on the server side without COM mediation
Reuse the standard SAP Business One business logic and localizations
Proprietary UI API Standard off-the-shelf HTML5 Standard tools and technology to develop your presentation layer
Develop beautiful user experiences
Microsoft COM OData web-services Standard state-of-the-art OData protocol
Develop web applications that are natively mobile
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 47 Public
Where we have been… … where we are going
Visual Studio .NET HANA Studio Leverage the full SAP HANA development environment
Use all its advanced capabilities such as: XS, OData, XMLA, BFL and PAL, R integration, etc.
Client based integration Server side integration Stay closer to your data
Leverage the multithreading capability of Service Layer: scalability and performance
Add-ons HANA extreme applications Go native with SAP HANA
Bring your innovation closer to your data
Easily consume it in SAP Business One, in a browser or on your mobile
© 2015 SAP SE or an SAP affiliate company. All rights reserved.
Thank you
Eddy Neveux – Solution Architect – North America
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 49 Public
© 2015 SAP SE or an SAP affiliate company. 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 SE or an SAP affiliate company.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP SE or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP SE or SAP affiliate company 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.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 50 Public
© 2015 SAP SE oder ein SAP-Konzernunternehmen. Alle Rechte vorbehalten.
Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP SE oder ein SAP-Konzernunternehmen nicht gestattet.
SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP SE (oder von einem SAP-Konzernunternehmen) in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://global.sap.com/corporate-de/legal/copyright/index.epx.
Die von SAP SE oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten.
Produkte können länderspezifische Unterschiede aufweisen.
Die vorliegenden Unterlagen werden von der SAP SE oder einem SAP-Konzernunternehmen bereitgestellt und dienen ausschließlich zu Informations-zwecken. Die SAP SE oder ihre Konzernunternehmen übernehmen keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Die SAP SE oder ein SAP-Konzernunternehmen steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren.
Insbesondere sind die SAP SE oder ihre Konzernunternehmen in keiner Weise verpflichtet, in dieser Publikation oder einer zugehörigen Präsentation dargestellte Geschäftsabläufe zu verfolgen oder hierin wiedergegebene Funktionen zu entwickeln oder zu veröffentlichen. Diese Publikation oder eine zugehörige Präsentation, die Strategie und etwaige künftige Entwicklungen, Produkte und/oder Plattformen der SAP SE oder ihrer Konzernunternehmen können von der SAP SE oder ihren Konzernunternehmen jederzeit und ohne Angabe von Gründen unangekündigt geändert werden. Die in dieser Publikation enthaltenen Informationen stellen keine Zusage, kein Versprechen und keine rechtliche Verpflichtung zur Lieferung von Material, Code oder Funktionen dar. Sämtliche vorausschauenden Aussagen unterliegen unterschiedlichen Risiken und Unsicherheiten, durch die die tatsächlichen Ergebnisse von den Erwartungen abweichen können. Die vorausschauenden Aussagen geben die Sicht zu dem Zeitpunkt wieder, zu dem sie getätigt wurden. Dem Leser wird empfohlen, diesen Aussagen kein übertriebenes Vertrauen zu schenken und sich bei Kaufentscheidungen nicht auf sie zu stützen.
© 2015 SAP SE or an SAP affiliate company. All rights reserved. 51 Public
Drawing area
Headline area
White space
The Grid