Week 1: Introduction to SAP HANA
Unit 2: The case for an in-memory database
The case for an in-memory database
Transformation through simplification
Resources saved
and diverted
Effort / Services
/ Admin
Innovation
Cost
Software
Effort / Services / Admin
Software
Hardware
Hardware
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 2
The case for an in-memory database
The motivation and idea
Source:
In-Memory Data Management:
An Inflection Point for Enterprise Applications.
Hasso Plattner Alexander Zeier
ISBN 978-3-642-19362-0
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 3
The case for an in-memory database
SAP HANA the only business data platform for the Intelligent Enterprise
Accelerate with Simplicity Innovate with Confidence
The only all-in-one, Most future-ready with
in-memory-first data platform advanced real-time data
protection
Act with Live Intelligence Achieve Cloud Freedom
SAP HANA
Next-gen HTAP with The only hybrid and multi-cloud
broadest advanced analytics data platform
HTAP = Hybrid Transactional and Analytical Processing
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 4
The case for an in-memory database
SAP HANA platform common use cases
Optimizing Operational Reports, Real-Time
Business Operations Dashboards, and Analytics Operational Intelligence
Get instant insights into real-time Analyze and visualize operational Run queries against operational
transactions to optimize details to support your data, streams, and events to
business operations day-to-day activities deliver real-time insights
Data Warehouse Decision Support,
Big Data
and Data Mart Simulation, and Automation
Deliver actionable insights on Uncover the value in large, complex, Streamline and automate business
enterprise-wide or departmental data and rapidly growing data sets processes with advanced analytics
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 5
The case for an in-memory database
In-memory columnar store – Faster OLTP + OLAP processing on single copy of data
▪ ACID-compliant ▪ Optimized for multi-core parallel processing
▪ High-speed transaction support ▪ Single instruction, multiple data (SIMD)
▪ Aggregations on the fly processing support
▪ No indexes for fast access ▪ NUMA optimization to enable future support for
very large (20TB+) nodes (CPU/Memory)
▪ Process compressed data
▪ Schema flexibility – Add columns on the fly
+ + + +
Need to update all rows, and normally need Add columns on the fly:
complex control process simple and fast
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 6
The case for an in-memory database
Parallel processing – Faster data processing
Core 1 Core 2
Core 3
Core 4
▪ Each processor can scan a column or portion of a column in parallel
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 7
The case for an in-memory database
Columnar store to process transactions and queries – OLTP + OLAP on single copy of data
▪ Delta storage is optimized for transactions
▪ Delta storage is merged periodically with main storage
▪ No data duplication – Data kept either in delta storage or in main storage
Column Table
Delta
Write Operation
Storage
Read Operation
Main
Storage
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 8
The case for an in-memory database
SAP HANA capabilities power the Intelligent Enterprise
SAP APPS ISV APP CUSTOM APPS
SAP HANA
D A T A B A S E
APPLICATION SMART DATA
DEVELOPMENT MULTI-MODEL PROCESSING VIRTUALIZATION
App Language Spatial Graph Predictive Replication Caching Data
Runtimes Choice Modeling Quality
SAPUI5 Application Information Enterprise Document Machine Federation Integration
Lifecycle Modeling Search Store Learning
Management
DATABASE MANAGEMENT
Columnar Multi-Core & Advanced Multitenancy Multi-Tier Data Relational Data Admin & High Availability &
Store Parallelization Compression Storage Modeling Privacy Security Disaster Recovery
AGILITY | INNOVATION | EFFICIENCY
© 2022 SAP SE or an SAP affiliate company. All rights reserved. ǀ PUBLIC 9
Thank you.
Contact information:
[email protected]
Follow all of SAP
www.sap.com/contactsap
© 2022 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.
The information contained herein may be changed without prior notice. 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 or its affiliated companies shall not be liable for errors or omissions with respect to the materials.
The only warranties for SAP 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 platforms, 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, and they
should not be relied upon in making purchasing decisions.
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. All other product and service names
mentioned are the trademarks of their respective companies.
See www.sap.com/trademark for additional trademark information and notices.