Jump to content

SAP HANA: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Swoophle (talk | contribs)
Big Data: start section
Swoophle (talk | contribs)
Line 92: Line 92:


SAP HANA manages [[concurrency control|concurrency]] through the use of [[multiversion concurrency control]] (MVCC), which gives every transaction a snapshot of the database at a point in time. When an MVCC database needs to update an item of data, it will not overwrite the old data with new data, but will instead mark the old data as obsolete and add the newer version.<ref>http://help.sap.com/saphelp_hanaplatform/helpdata/en/94/fc07fbeff1474aa878737f2c9921d3/content.htm?frameset=/en/63/d055985b2a4d19bc860c98ac5a02cb/frameset.htm&current_toc=/en/85/d132c3f05e40a2b20c25aa5fd6331b/plain.htm&node_id=68&show_children=false</ref><ref>http://pi3.informatik.uni-mannheim.de/~norman/HANA_Debull_2013.pdf</ref>
SAP HANA manages [[concurrency control|concurrency]] through the use of [[multiversion concurrency control]] (MVCC), which gives every transaction a snapshot of the database at a point in time. When an MVCC database needs to update an item of data, it will not overwrite the old data with new data, but will instead mark the old data as obsolete and add the newer version.<ref>http://help.sap.com/saphelp_hanaplatform/helpdata/en/94/fc07fbeff1474aa878737f2c9921d3/content.htm?frameset=/en/63/d055985b2a4d19bc860c98ac5a02cb/frameset.htm&current_toc=/en/85/d132c3f05e40a2b20c25aa5fd6331b/plain.htm&node_id=68&show_children=false</ref><ref>http://pi3.informatik.uni-mannheim.de/~norman/HANA_Debull_2013.pdf</ref>

=== Streaming and Data Virtualization ===
[[Data Virtualization]] is available via a tool named Smart Data Access .<ref name="virtualisation">{{cite web
| url=https://file.scirp.org/pdf/JCC_2017062615354444.pdf
| title=
| access-date=October 3, 2017
}}</ref> [[Streaming data]], for example from [[Internet of things]] devices, is available via a tool named Smart Data Streaming .<ref name="streaming">{{cite web
| url=http://fiori-implementation.com/blog/future-is-here-with-sap-hana-smart-data-streaming/
| title=Future is here with SAP HANA Smart Data Streaming – SAP Fiori Implementations
| access-date=October 3, 2017
}}</ref> Dedicated streaming analytics, (predictive analytics) can be employed against data ingested by Smart Data Streaming.<ref name="streaming2">{{cite web
| url=https://www.youtube.com/playlist?list=PLkzo92owKnVz6jyluKi9S7WRKMIqLvM2w
| title=YouTube: SAP HANA Streaming Analytics
| access-date=October 3, 2017
}}</ref>


== Big Data ==
== Big Data ==

Revision as of 17:28, 3 October 2017

SAP HANA is an in-memory, column-oriented, relational database management system developed and marketed by SAP SE.[1][2] Its primary function as database server is to store and retrieve data as requested by the applications. In addition, it performs advanced analytics (predictive analytics, spatial data processing, text analytics, text search, streaming analytics, graph data processing) and includes ETL capabilities as well as an application server.

History

During the early development of SAP HANA, a number of technologies were developed or acquired by SAP SE. These included TREX search engine (in-memory column-oriented search engine), P*TIME (in-memory OLTP Platform acquired by SAP in 2005), and MaxDB with its in-memory liveCache engine.[3][4] The first major demonstration of the platform was in 2008: teams from SAP SE, the Hasso Plattner Institute and Stanford University demonstrated an application architecture for real-time analytics and aggregation. Former SAP SE executive, Vishal Sikka, mentioned this architecture as "Hasso's New Architecture".[5] Before the name "HANA" stabilized, people referred to this product as "New Database".[6] The software was previously called "SAP High-Performance Analytic Appliance".[7]

The first product shipped in late November 2010.[4][8] By mid-2011, the technology had attracted interest but the experienced business customers still considered it "in early days".[9] HANA support for SAP NetWeaver Business Warehouse was announced in September 2011 for availability by November.[10]

In 2012, SAP promoted aspects of cloud computing.[11] In October 2012, SAP announced a platform as a service offering called the SAP HANA Cloud Platform[12][13] and a variant called SAP HANA One that used a smaller amount of memory.[14][15]

In May 2013, a managed private cloud offering called the HANA Enterprise Cloud service was announced.[16] [17]

In May 2013, Business Suite on HANA became available, enabling customers to run SAP Enterprise Resource Planning functions on the HANA platform.[18][19]

S/4HANA, released in 2015, written specifically for the HANA platform, combines functionality for ERP, CRM, SRM and others into a single HANA system.[20] S/4HANA is intended to be a simplified business suite, replacing earlier generation ERP systems.[21] While it is likely that SAP will focus its innovations on S/4HANA, some customers using non-HANA systems have raised concerns of being locked into SAP products. Since S/4HANA requires an SAP HANA system to run, customers running SAP business suite applications on hardware not certified by SAP would need to migrate to a SAP-certified HANA database should they choose the features offered by S/4HANA.[22]

Rather than versioning, the software utilizes service packs, referred to as Support Package Stacks (SPS), for updates. Support Package Stacks are released every 6 months. [23]

In November 2016 SAP announced SAP HANA 2, which offers enhancements to multiple areas such as database management and application management and includes two new cloud services: Text Analysis and Earth Observation Analysis.[24] HANA customers can upgrade to HANA 2 from SPS10 and above. Customers running SPS9 and below must first upgrade to SPS12 before upgrading to HANA 2 SPS01.[25]

Architecture

Overview

The key distinctions between HANA and previous generation SAP systems are that it is a column-oriented, in-memory database, that combines OLAP and OLTP operations into a single system.[26] Storing data in main memory rather on disk provides faster data access and, by extension, faster querying and processing.[27] While storing data in-memory confers performance advantages, it is a more costly form data storage. Observing data access patterns, up to 85% of data in an enterprise system may be infrequently accessed[27] therefore it can be cost-effective to store frequently accessed, or "hot", data in-memory while the less frequently accessed "warm" data is stored on disk, an approach SAP have term "Dynamic tiering".[28]

Column-oriented systems store all data for a single column in the same location, rather than storing all data for a single row in the same location (row-oriented systems). This can enable performance improvements for OLAP queries on large datasets and allows greater vertical compression of similar types of data in a single column. If the read times for column-stored data is fast enough, consolidated views of the data can be performed on the fly, removing the need for maintaining aggregate views and its associated data redundancy.[29]

Although row-oriented systems have traditionally been favored for OLTP, in-memory storage opens techniques to develop hybrid systems suitable for both OLAP and OLTP capabilities,[30] removing the need to maintain separate systems for OLTP and OLAP operations.

Indexer components

The index server performs session management, authorization, transaction management and command processing. The database has both a row store and a columnar store. Users can create tables using either store, but the columnar store has more capabilities and is most frequently used.[citation needed] The index server also manages persistence between cached memory images of database objects, log files and permanent storage files. XS engine allows to build web applications.[31]

SAP HANA Information Modeling (also known as SAP HANA Data Modeling) is a part of HANA application development. Modeling is the methodology to expose operational data to the end user. Reusable virtual objects (named calculation views) are used in the modelling process.

MVCC

SAP HANA manages concurrency through the use of multiversion concurrency control (MVCC), which gives every transaction a snapshot of the database at a point in time. When an MVCC database needs to update an item of data, it will not overwrite the old data with new data, but will instead mark the old data as obsolete and add the newer version.[32][33]

Streaming and Data Virtualization

Data Virtualization is available via a tool named Smart Data Access .[34] Streaming data, for example from Internet of things devices, is available via a tool named Smart Data Streaming .[35] Dedicated streaming analytics, (predictive analytics) can be employed against data ingested by Smart Data Streaming.[36]

Big Data

In a scale-out environment, HANA can support volumes of up to a petabyte of data in-memory while returning query results in under a second.[37] In order to balance the tradeoff of the cost of large in-memory systems (notably, the cost of RAM versus solid state or disk-based hard drives) with performance, HANA has capabilities to manage data tiering, i.e. offloading less frequently-accessed data to disk-based storage. HANA’s Data Lifecycle Management is a data administration feature that allows database administrators to define rules for when records in a table should be offloaded from memory to either a disk-based column store on the same HANA server, i.e. “warm data” storage, or to offload data from memory or disk to a separate Hadoop server, i.e. “cold” data storage. [38]

SAP offers a separate but related product referred to as Vora for tight integration of big data stored in Hadoop with enterprise data in HANA. Vora leverages some of the same concepts from HANA, namely, in-memory storage, query pushdown, and massive parallelization.[39]

Analytics

SAP HANA includes a number of analytic engines for various kinds of data processing. The Business Function Library includes a number of algorithms made available to address common business data processing algorithms such as asset depreciation, rolling forecast and moving average.[40] The Predictive Analytics Library includes native algorithms for calculating common statistical measures in areas such as clustering, classification and time series analysis. [41]

HANA incorporates the open source statistical programming language R as a supported language within stored procedures.[42]

The column-store database offers graph database capabilities. The graph engine supports the Cypher Query Language as well as a visual graph manipulation via a tool called Graph Viewer. Graph data structures are stored directly in relational tables in HANA’s column store.[43] Pre-built algorithms in the graph engine include pattern matching, neighborhood search, single shortest path, and strongly connected components. Use cases for the Graph Engine include things like supply chain traceability, fraud detection, and logistics and route planning.[44]

HANA also includes a spatial database engine which supports spatial data types and SQL extensions for CRUD operations on spatial data. HANA is certified by the Open Geospatial Consortium.[45] and integrates with ESRI’s ArcGIS geographic information system.[46].

In addition to numerical and statistical algorithms, HANA can perform text analytics and enterprise text search. HANA’s search capability is based on “fuzzy” fault-tolerant search, much like modern web-based search engines. Results include a statistical measure for how relevant search results are, and search criteria can include a threshold of accuracy for results.[47] Analyses available include identifying entities such as people, dates, places, organizations, requests, problems, and more. Such entity extraction can be catered to specific use cases such as Voice of the Customer (customer’s preferences and expectations), Enterprise (i.e. mergers an acquisitions, products, organizations), and Public Sector (public persons, events, organizations).[48] Custom extraction and dictionaries can also be implemented.

Application Development

Besides the database and data analytics capabilities, SAP HANA is a web-based application server, hosting user-facing applications tightly integrated with the database and analytics engines of HANA. The "XS Advanced Engine" (XSA) natively supports Node.js and JavaEE languages and runtimes. XSA is based on Cloud Foundry architecture and thus supports the notion of “Bring Your Own Language”, allowing developers to develop and deploy applications written in languages and in runtimes other than those natively supported within XSA, as well as deploying applications as microservices. XSA also supports server-side JavaScript (XSJS) from earlier version of the product.[49]

Supporting the application server is a suite of application lifecycle management tools allowing development deployment and monitoring of user-facing applications.[50]

Deployment

HANA can be deployed on-premise or in the cloud from a number of cloud service providers.[51]

HANA can be deployed on-premise as a new appliance from a certified hardware vendor.[52] Alternatively, existing hardware components such as storage and network can be used as part of the implementation, an approach which SAP calls "Tailored Data Center Integration (TDI)".[53][54] HANA is certified to run on a couple of operating systems[55] including Red Hat Enterprise Linux[56] and SUSE Linux Enterprise Server.[57] Supported hardware platforms for on-premise deployment include Intel 64[58] and POWER Systems.[59] The system is designed to support both horizontal and vertical scaling.

Multiple cloud providers offer SAP HANA on an Infrastructure as a service basis, including:

SAP also offer their own cloud services in the form of:

Editions

SAP HANA licensing is primarily divided into two categories.[68]

Runtime License:

Used to run SAP applications such as SAP Business Warehouse powered by SAP HANA and SAP S/4HANA.

Full Use License:

Used to run both SAP and non-SAP applications. This licensing can be used to create custom applications.[69]

As part of the full use license, features are grouped as editions targeting various use cases.

  • Base Edition: Provides core database features and development tools but does not support SAP applications.
  • Platform Edition: Base edition plus spatial, predictive, R server integration, search, text, analytics, graph engines and additional packaged business libraries.
  • Enterprise Edition: Platform edition plus additional bundled components for some of the data loading capabilities and the rule framework.

In addition, capabilities such as streaming and ETL are licensed as additional options.[70]

As of 9th March 2017, SAP HANA is available in an Express edition; a streamlined version which can run on laptops and other resource-limited environments. This edition is primarily aimed at students, and is free to use for in-memory databases of up to 32GB.

See also

References

  1. ^ Jeff Kelly (July 12, 2013). "Primer on SAP HANA". Wikibon. Retrieved October 9, 2013.
  2. ^ SAP HANA - The Column Oriented (Based) Database on YouTube (December 8, 2012)
  3. ^ Vey, Gereon; Krutov, Ilya (January 2012). "SAP In-Memory Computing on IBM eX5 Systems". Retrieved 22 October 2013.
  4. ^ a b SAP SE (June 17, 2012). "SAP HANA Timeline". SlideShare. Retrieved October 9, 2013.
  5. ^ "Vishal Sikka: Timeless Software". Retrieved March 10, 2017.
  6. ^ "What is SAP HANA Database". Gucons web site. 2011. Retrieved October 9, 2013.
  7. ^ http://www.computerworld.com/article/2514617/business-intelligence/sap-s-hana-will-speed-real-time-data-analytics.html
  8. ^ Chris Kanaracus (December 1, 2010). "SAP launches HANA for in-memory analytics: The in-memory analytic appliance will compete with next-generation data-processing platforms such as Oracle's Exadata machines". Info World. Retrieved September 24, 2013.
  9. ^ Chris Kanaracus (September 15, 2011). "SAP's HANA is hot, but still in early days". Network World. Retrieved October 15, 2013.
  10. ^ Courtney Bjorlin (November 9, 2011). "SAP Begins BW on HANA Ramp-Up, First Big Test for the HANA Database". ASUG News. Retrieved October 15, 2013.
  11. ^ Trevis Team (April 30, 2012). "SAP Headed For $71 On Cloud, Mobile And HANA Growth". Forbes. Retrieved October 9, 2013.
  12. ^ "SAP Introduces SAP HANA Cloud, an In-Memory Cloud Platform". Database Trends and Applications. 2012-10-24. Retrieved 2016-06-18.
  13. ^ "Overview | SAP HANA Cloud Platform". hcp.sap.com. Retrieved 2016-06-18.
  14. ^ IBM Cloud AMM for SAP HANA One
  15. ^ Doug Henschen (October 17, 2012). "SAP Launches Cloud Platform Built On Hana". Information Week. Archived from the original on October 19, 2012. Retrieved October 15, 2013. {{cite news}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)
  16. ^ "SAP unveils HANA Enterprise Cloud service Network World". Retrieved July 13, 2017.
  17. ^ "SAP HANA Enterprise Cloud". hana.sap.com. Retrieved 2016-06-18.
  18. ^ Brian McKenna (January 11, 2013). "SAP puts Business Suite on HANA, joins transactional to analytical". Computer Weekly. Retrieved October 15, 2013.
  19. ^ "Sapphire 2013: Business Suite on HANA goes to general availability". Computer Weekly. May 15, 2013. Retrieved October 15, 2013.
  20. ^ "SAP unwraps a new enterprise suite based on Hana PCWorld". Retrieved July 13, 2017.
  21. ^ "SAP Business Suite on HANA vs. S/4HANA Symmetry". Retrieved July 13, 2017.
  22. ^ "SAP's S4/HANA master plan: The lingering questions ZDNet". Retrieved August 1, 2017.
  23. ^ "HANA 2 – What is it? SAP Blogs". Retrieved July 13, 2017.
  24. ^ "SAP HANA 2 – Revolution or Evolution? CustomerThink". Retrieved July 13, 2017.
  25. ^ "SAP HANA 2 - The Next Generation Platform". Retrieved July 13, 2017.
  26. ^ "What is SAP HANA? Expert Insight from Symmetry". Retrieved August 1, 2017.
  27. ^ a b "SAP HANA sales fly but there's more to the in-memory story ZDNet". Retrieved July 28, 2017.
  28. ^ "SAP Unleashes Major Hana Upgrade - InformationWeek". Retrieved July 28, 2017.
  29. ^ "A Common Database Approach for OLTP and OLAP Using an In-Memory Column Database" (PDF). Retrieved August 1, 2017.
  30. ^ "Compacting Transactional Data in Hybrid OLTP&OLAP Databases" (PDF). Retrieved August 1, 2017.
  31. ^ http://www.saphana.com/community/blogs/blog/2012/12
  32. ^ http://help.sap.com/saphelp_hanaplatform/helpdata/en/94/fc07fbeff1474aa878737f2c9921d3/content.htm?frameset=/en/63/d055985b2a4d19bc860c98ac5a02cb/frameset.htm&current_toc=/en/85/d132c3f05e40a2b20c25aa5fd6331b/plain.htm&node_id=68&show_children=false
  33. ^ http://pi3.informatik.uni-mannheim.de/~norman/HANA_Debull_2013.pdf
  34. ^ https://file.scirp.org/pdf/JCC_2017062615354444.pdf. Retrieved October 3, 2017. {{cite web}}: Missing or empty |title= (help)
  35. ^ "Future is here with SAP HANA Smart Data Streaming – SAP Fiori Implementations". Retrieved October 3, 2017.
  36. ^ "YouTube: SAP HANA Streaming Analytics". Retrieved October 3, 2017.
  37. ^ "Bluefin demonstrates how SAP HANA, at Petabyte scale, enables manufacturing revolution". Retrieved October 3, 2017.
  38. ^ "Seamless Big Data tiering with HANA, Hadoop and Vora…with a little help from DLM – Part 1". Retrieved October 3, 2017.
  39. ^ "The SAP HANA Vora FAQ". Retrieved October 3, 2017.
  40. ^ "Business Function Library - Real Time Analytics with SAP HANA". Retrieved October 2, 2017.
  41. ^ "SAPexperts An Introduction to SAP Predictive Analysis and How It Integrates with SAP HANA". Retrieved October 2, 2017.
  42. ^ "When SAP HANA met R – What's new? R-bloggers". Retrieved October 2, 2017.
  43. ^ "FOSDEM 2017 - Graph Processing on SAP HANA, express edition". Retrieved October 2, 2017.
  44. ^ "The Graph Story of the SAP HANA Database". Retrieved October 2, 2017.
  45. ^ "SAP HANA SPS11 tackles analytics, IT and development". Retrieved October 2, 2017.
  46. ^ "FAQ: Does the ArcGIS platform support the SAP HANA database?". Retrieved October 2, 2017.
  47. ^ "SAP Releases Sentiment Analysis Solution - CRM Magazine". Retrieved October 2, 2017.
  48. ^ "SAP HANA TA – Text Analysis". Retrieved October 2, 2017.
  49. ^ "A New Development Platform for Native SAP HANA Applications". Retrieved October 2, 2017. {{cite web}}: no-break space character in |title= at position 42 (help)
  50. ^ "SAP HANA Application Lifecycle Manager STechies". Retrieved October 2, 2017.
  51. ^ "SAP HANA Deployment Options On Premise, Cloud, or Hybrid". Retrieved July 14, 2017.
  52. ^ "Certified SAP HANA® Hardware Directory". global.sap.com. Retrieved 2016-06-30.
  53. ^ "Datacenter integration is the new 'table stakes' | #SAPPHIRENOW". Retrieved 2016-06-30.
  54. ^ "SAP HANA Tailored Data Center Integration - SAP HANA Technical Operations Manual - SAP Library". help.sap.com. Retrieved 2016-06-30.
  55. ^ "SAP HANA Hardware and Software Requirements".
  56. ^ "Red Hat launches Enterprise Linux for SAP HANA ZDNet". Retrieved July 14, 2017.
  57. ^ "SUSE Linux Enterprise Server for SAP Applications". Retrieved July 14, 2017.
  58. ^ "SAP HANA Wrings Performance From New Intel Xeons". Retrieved July 14, 2017.
  59. ^ "SAP HANA on Power with SUSE Linux Enterprise Server for SAP Applications".
  60. ^ "AWS - SAP HANA". Retrieved 12 May 2017.
  61. ^ "SAP HANA on Azure Virtual Machines - Microsoft Azure". Retrieved 12 May 2017.
  62. ^ "Google Cloud and SAP forge partnership to develop enterprise solutions". Retrieved 12 May 2017.
  63. ^ "SAP chooses IBM as a premier strategic provider of Cloud infrastructure services for its business critical applications".
  64. ^ "Huawei Announces Availability of SAP HANA® Running on Huawei FusionSphere-huawei press center". huawei. Retrieved 2016-09-08.
  65. ^ "HP News - HP and SAP Accelerate Journey to SAP® S/4HANA on HP Helion Managed Cloud". www8.hp.com. Retrieved 2016-09-08.
  66. ^ "SAP unveils HANA Enterprise Cloud service Network World". Retrieved July 14, 2017.
  67. ^ "What is SAP Cloud Platform ? - Definition from WhatIs.com". Retrieved July 14, 2017.
  68. ^ "Update IV: The SAP HANA FAQ - answering key SAP In-Memory questions". www.bluefinsolutions.com. Retrieved 2016-07-08.
  69. ^ "SAP HANA in-memory DBMS overview". Retrieved 2016-07-08.
  70. ^ "SAP HANA Options and Additional Capabilities – SAP Help Portal Page". help.sap.com. Retrieved 2016-07-08.