38
1 © 2014 SAP SE or an SAP affiliate company . All rights reserved. SAP HANA SPS 09 - What’s New? HANA Dynamic Tiering SAP HANA Product Management November 2014 (Delta from SPS 08 to SPS 09)

SAP HANA SPS 09 - Dynamic Tiering

Embed Size (px)

DESCRIPTION

SAP HANA HANA Dynamic Tiering for in memory data base computing to reduce memory consumption.

Citation preview

1© 2014 SAP SE or an SAP affiliate company. All rights reserved.
SAP HANA SPS 09 - What’s New? HANA Dynamic Tiering
SAP HANA Product Management November 2014
(Delta from SPS 08 to SPS 09)
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 2Public
Disclaimer  
This presentation outlines our general product direction and should not be relied on in making
a purchase decision. This presentation is not subject to your license agreement or any other
agreement with SAP.
SAP has no obligation to pursue any course of business outlined in this presentation or to
develop or release any functionality mentioned in this presentation. This presentation and
SAP’s strategy and possible future developments are subject to change and may be changed
by SAP at any time for any reason without notice.
This document is provided without a warranty of any kind, either express or implied, including
but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or
non-infringement. SAP assumes no responsibility for errors or omissions in this document,
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 3Public
Agenda
Positioning
What is “SAP HANA Dynamic Tiering”, and what is its value to the customer?
Technical Details
Implementation choices
Use Cases
Future Direction
 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 5Public
IDC predictions for 2014
Data explosion  Data volumes will continue to explode to 6 billion petabytes
Social networking  Social networking will become embedded in cloud platforms and most enterprise apps and processes
Cloud  Cloud spending will surge by 25%, reaching over $100 billion. There will be a doubling of cloud data centers.
Internet of Things  30 billion devices, sensors in 2020  – driving $8.9 Trillion in revenue
Mobile
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 6Public
SAP End to End Data Management for Real Time Business
Business & Consumer Applications 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 7Public
e
Integration Services
Operational
Analytics
Extended Application Services
 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 8Public
Time Value of Data
When you need it again
Archive Access Event
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 9Public
Multi-Temperature Storage Options with SAP HANA
Data Temperature Storage Option SAP BW
on HANA
Near-line Storage (NLS)      
frozen Data Archiving
Combination not available
1 Early shipment available for SAP BW 7.4; General availability planned Q4/2014
2 General availability with limited scope planned Q4/2014
3 For selected business objects
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 10Public
SAP HANA Dynamic Tiering Key aspects at a glance
Add-on Product to SAP HANA
Manage data of different temperatures
Hot data (always in memory) – classical HANA
Cold data (disk based data store)
Introducing a new type of table:
Extended table – disk-based columnar table
SPS 9 release focus
 Applications manage data temperatures (no active support for aging)
SAP HANA Database 
Hot
Warm
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 11Public
Introducing SAP HANA Dynamic Tiering Requirements from our customers
Manage data cost effectively, yet with desired performance based on SLAs
Handle very large data sets – terabytes to petabytes
Update and query all data seamlessly via HANA tables
 Application defines which data is “hot”, and which data is “warm” 
Native Big Data solution to handle a large percentage of enterprise data needs without Hadoop
SAP HANA hot store (in-memory)
SAP HANA warm store (dynamic tiering)
Extended table (definition)
Extended table (data)
SAP HANA Database System
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 12Public
Hot/Warm Data Management Questions about SAP HANA Dynamic Tiering
Size and cost constraints may prohibit all in-memory solution
Not all data has the same value
Warm data has lower latency requirements than hot data
Why is warm data management important for SAP HANA?
SAP HANA dynamic tiering utilizes disk backed, smart column store technology based on Intellectual Property from SAP Sybase
SAP HANA dynamic tiering excels at ad hoc queries on structured data from terabyte to petabyte scale
SAP HANA dynamic tiering is a deeply integrated, high performance solution in a single system
Why is SAP HANA dynamic tiering the best solution for warm data
management?
Hadoop has unlimited capacity for raw data processing
Hadoop is best suited for batch processing of raw, unstructured data
Hadoop is an external data store with technical integration into HANA – with higher TCO in order to manage the additional system
What about Hadoop for warm data storage and processing?
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 13Public
SAP HANA Dynamic Tiering Key aspects at a glance
Data in the database
Reduced access performance: Warm data - not (always) in memory
All part of the database’s data image 
Data moved out of the database
Different data qualities
Data is stored and managed outside of the
application database SAP HANA Database 
Data for daily reporting, other high-priority data
Other data required to operate the application
Hot
Warm
NLS Data that is (normally) not updated, infrequently accessed
Traditional Archive Data that‘s kept for legal reasons or similar  
Externalize
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 14Public
Problems with temperatures There are too many options – across system boundaries
In DB
External to DB Near-line Storage Read access, no updates
In DB On disk No restrictions, all features available
hot
warm
cold
??? External to DB  Archive storage No read access or updates
Performance
BW Near-line Storage
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 15Public
Problems with temperatures There are too many options – across system boundaries
In DB
External to DB Near-line Storage Read access, no updates
In DB On disk No restrictions, all features available
hot
warm
cold
??? External to DB  Archive storage No read access or updates
Performance
row store
BW Near-line Storage
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 16Public
SAP HANA Dynamic Tiering Map data priorities to data management
Hot Store
DB algorithms optimized for in-memory data
Persistence on disk to guarantee durability
Warm Store
Extended Tables
Data processing using algorithms optimized for disk-based data
Main memory used for caching and processing.
SAP HANA Database 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 18Public
SAP HANA Dynamic Tiering – one database / one experience for HANA application developers and admins
SAP HANA Dynamic Tiering
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 19Public
SAP HANA Dynamic Tiering The overall system layout
SAP HANA with Dynamic Tiering consists of two types of
hosts:
 – HANA hosts can be single-node or scale-out; appliance or TDI
“ES host” (running nameserver, daemon, and esserver)
 – esserver is the database process of the warm store
One single SAP HANA database: one SID, one instance number
 All client communication happens through index server / XS server
Hot Store
Fast data movement and optimized push down query processing SAP HANA System with dynamic tiering service
Worker host(*)
Worker host
Worker host
Client  Application
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 20Public
Database Catalog
database catalog
store
class database object with full  ACID compliance
 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 21Public
High Speed Data Ingest
Import from CSV files:
Bulk array insert:
INSERT INTO t1 (col1, col2, col3...) VALUES (val1, val2, val3...)
High-speed data movement between HANA tables and HANA extended tables:
INSERT INTO t_extended select c1 FROM t_hana
Concurrent inserts from multiple connections:
 A HANA extended table may be a DELTA enabled table, which allows multiple concurrent writes
Warm Extended
HANA Database
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 22Public
Optimized Query Processing
Parallel query processing
• Data is pulled from HANA hot store into HANA warm store query processing engine using multiple streams, and processed in parallel
Push/Pull query optimization and transformation
• Query operations ship to hot or warm store as appropriate for native performance
Extended tables may be used in HANA CALC
views
• HANA Calc engine and HANA SQL engine share extended table query performance optimizations
Joining
Grouping
Ordering
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 23Public
Example Query Plan
from VXM_FOODMART.CUSTOMER C
select * from
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 24Public
HANA Monitoring and Administration
HANA Cockpit:
New, web based monitoring and administration console for HANA Extended Storage
HANA Studio will be used for design and modeling of HANA extended tables
HANA Cockpit displays status, CPU/memory/storage resource utilization, table usage statistics
Provides access to and search of server logs and custom traces
Shows alerts triggered by extended storage
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 25Public
Unified Backup and Restore 
HANA backup manages backup of both hot and warm store
Point in Time Recovery (PITR) is supported
Extended Storage
Data backup
to Point in Time or most recent state: t1-
> t3
Data backups alone allow restore to specific backup only: t1 or t2
Log area
Backup History
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 26Public
High Availability and Disaster Recovery
High availability
Compute node failure will result in failover to standby node (manual for warm store nodes)
Storage failure will depend on inherent storage vendor disk mirroring and fault tolerance capabilities
Hot and warm store should use the same storage to facilitate auto-failover in the future
Disaster recovery
HANA without Dynamic Tiering supports continuous replication to maintain a disaster recovery site
HANA with Dynamic Tiering will maintain a disaster recovery site through backup and restore capabilities only
 – Disaster recovery through system replication is planned for a future release
 – Disaster recovery through storage replication may be added independently from software releases Classical HANA services
Compute
node
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 27Public
Support in SAP HANA multiple database containers (MDC)
MDC: One SAP HANA system can have multiple tenant databases
Each tenant database can be associated with zero or one extended stores
Each extended store is dedicated to exactly one tenant database
SAP HANA system with MDC and dynamic tiering
Compute node
System Database
Tenant Database <C>
ES Host <B> ES Host <C>
 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 29Public
SAP NetWeaver BW powered by SAP HANA Data Classification by Object Type
Frequent reporting and/or HANA-native operations
BW – Operational Data
Staging Layer
Analytic Mart
Business Transformation 
EDW Propagation
   t  e
 
Limited reporting, limited HANA-native operations
Archived
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 30Public
SAP HANA database 
Database Catalog
Extended Tables in HANA BW Use Case: Staging and Corporate Memory
Object Classification in BW
Data Sources and write-optimized DSOs can have the property “Extended Table” 
Generated Tables are of type “Extended” 
 All BW standard operations supported –  no changes
Only minor temporary RAM required in HANA
InfoCubes and Regular or Advanced DSOs
Generate standard column table
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 31Public
SAP HANA Dynamic Tiering for Big Data
Cutting edge, in-memory platform
Petascale extension to HANA with disk backed, columnar database technology
Expand HANA capacity with warm/cool structured data in HANA warm store
Tight integration between HANA hot store and HANA warm store for optimal performance
SAP HANA with Dynamic Tiering provides native Big Data solution
Hot data
SAP HANA
Petascale, warm
structured data
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 32Public
SAP HANA with Dynamic Tiering Native Big Data solution for a multitude of use cases
SAP HANA Dynamic Tiering for Big Data Use Cases across Industries
Airline route profitability analysis: SAP HANA analyzes revenue, variable operating costs (fuel, landing fees...), and fixed operating costs in real time to make decisions on network, pricing, and marketing to determine where to fly, when, and how often. All data must be analyzed in real time.
Financial services: Stock tick data streamed into SAP HANA for immediate price fluctuation analysis and trading actions, with historical stock price data stored in HANA extended tables for trend analysis and portfolio management.
Telecommunications: Network service data in HANA extended tables analyzed and correlated with customer loyalty data in SAP HANA, to anticipate customer churn and initiate customer retention response activities.
 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 34Public
SAP HANA Dynamic Tiering roadmap
SAP HANA dynamic tiering available to be used by any HANA application (if the application supports the feature)
Common installer
Extended Storage (ES) engine is part of HANA topology
Single authentication model
Single licensing model
Integrated File-based backup/recovery, including point-in time recovery
HANA ES host scale-out and auto-failover (HA)
Disaster Recovery (SAP HANA system replication)
Further integration with respect to backup/recovery
Hybrid extended tables with rule based automatic data movement / aging
Optimization of communication between hot and warm store
Further unification of DDL and DML for HANA extended tables
Further optimizer enhancements
FUTUREPLANNED
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 35Public
Hybrid extended tables
 Automatic, rules-based, asynchronous data movement between hot and warm stores
Hot partitions in HANA memory; remaining partitions in warm store
Single HANA table that spans hot and warm stores
Hot data in HANA tier
Warm data In warm tier
20122012Hybrid Extended Table aging
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 36Public
How to find SAP HANA documentation on this topic?
• In addition to this learning material, you can find SAP HANA platform documentation on SAP Help Portal knowledge center at http://help.sap.com/hana_platform.
• The knowledge centers are structured according to the product lifecycle: installation, security, administration, development: 
SAP HANA Options
SAP HANA Dynamic Tiering
SAP HANA Predictive
SAP HANA Spatial
• Documentation sets for SAP HANA options can be found at http://help.sap.com/hana_options:
SAP HANA Platform SPS
Installation
 Administration
Development
References
© 2014 SAP SE or an SAP affiliate company. All rights reserved.
Thank you
Contact information
Richard Bremer, Courtney Claussen, Balaji Krishna, and Robert Waywell SAP HANA Product Management  [email protected] 
 
© 2014 SAP SE or an SAP affiliate company. All rights reserved. 38Public
 © 2014 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.