Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 ·...

35
Nové možnosti optimalizace ukládání dat v SAP HANA (Dynamic tiering) Martin Zikmund, Presales Innovative solutions & Utilities industry

Transcript of Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 ·...

Page 1: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

Nové možnosti optimalizace ukládání dat v SAP HANA

(Dynamic tiering)

Martin Zikmund, Presales – Innovative solutions & Utilities industry

Page 2: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 2Public

Agenda

Overview of SAP HANA dynamic tiering

Data temperature management in SAP HANA

High-level: what is dynamic tiering

Technical implementation choices

Properties of dynamic tiering in data management, system operations, etc.

System architecture and sizing for dynamic tiering

A brief overview of the most important sizing metrics

Use cases

BW on HANA and native projects

Outlook/Roadmap

Priorities for the upcoming support package stacks

Page 3: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

OverviewOptions for data volume management in SAP HANA

Page 4: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 4Public

The data growth challenge

HANA as In-Memory database

Strong coupling between data and hardware

More data more RAM more CPUs

Impacts on hardware configuration

Growing HANA hardware

Scale-up ends at 2(BW) or 12(Suite) TB

Larger systems require scale-out hardware

In very large systems:

Does all my data justify hardware and license cost?

Can we de-couple hardware growth

from data growth?Scale Up

Change to

scale-out

Add

nodes

Data

Volu

me

Hard

ware

Cost

Time

Page 5: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 5Public

Archiving

Application manages movement

of data into some kind of archive

(Suite ILM, BW NLS, …)

But: do you really want to

archive, or is it just a strategy to

minimize cost?

Ways to tackle data growthOfferings in the context of SAP HANA systems

SAP HANA

Archive store

Memory Displacement

Unload “not so important” data

from main memory

Active/non-active data (BW)

Page-loadable columns (Suite)

Process requires loading data

into RAM

Caching etc. lead to reduced but

non-negligible memory footprint

Tiered Data Storage

Offer data stores of different

“priorities”

E.g. dynamic tiering

Future: also Hadoop?

Beginning of a journey

Enterprise readiness

Concept for data distribution,

management, retrieval

SAP HANA

Hot Store

(Main

Memory)

Cold Store

(Disk)

(Classical

HANA)(New DT

Store)

SAP HANA

(Main

Memory)

Data

file

Page 6: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 6Public

SAP HANA

Strategies based on RAM displacementWhy and how applications need to help

Displace “unused” data from RAM

Column-based displacement

Evict data if memory is running low

Load back to RAM on request

Define “unload priorities” on table level

Page-loadable columns

Typical request for few records, many fields

Tailored for OLTP workload

Load displaced data by page

Each column is a list of pages in data file

Look up individual pages needed by query

Based on HANA’s Column Store

Most HANA capabilities unchanged

Main

Memory

Data

file

Query reading from

columns 2&3

Load

columns

to RAM

Query reading two fields

of one record

Load

pages to

RAM

Active / non-active

Load full columns

Page-loadable columns

(aka paged attributes)

Page 7: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 7Public

SAP HANA dynamic tieringKey aspects at a glance

Add-on option to SAP HANA

Manage data of different temperatures

Hot data (always in memory) – classical HANA

Warm data (disk based data store)

Introducing a new type of table:

Extended table – disk-based columnar table

A table is either 100% in memory or 100% extended (SPS 09)

SPS 9 & 10 focus

Operational integration

Installation, monitoring, administration, backup, HA

Initial functional scope

Common transaction management

Transparent query processing & Optimization

Use extended table in calculation views and more

SAP HANA

hot store

(in-memory)

SAP HANA warm store

(dynamic tiering)

Extended table

(definition)

Extended table

(data)

Fast data movement and optimized push down

query processing

All data of extended table resides in warm store

SAP HANA Database System

Hot table

(definition/data)

Page 8: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 8Public

In DB

On disk

Full read/write access, some funct. limitations

Problems with temperaturesThere are too many options – across system boundaries

In DB

In memory

No restrictions, all features available

External to DB

Near-line Storage

Read access, no updates

hot

warm

cold

???External to DB

Archive storage

No read access or updates

Performance

and PriceData Volume

HANA column and

row store

Warm store of dynamic tiering

Near-line Storage

Traditional Archive

hot

warm

NLS

Archive

Page 9: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

Implementation DetailsWhat do you have to know about SAP HANA dynamic tiering?

Page 10: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 10Public

SAP HANA dynamic tieringOne database / one experience for SAP HANA application developers and admins

SAP HANA dynamic tiering

Reduced TCO

Single database experience

Centralized operational control

Optimized for performance

Centralized

monitoring /

admin

High speed

data ingest

Common

installer and

licensing

model

Unified

backup and

restore

Integrated

security

Optimized

query

processing

SAP

HANA

dynamic

tiering

Page 11: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 11Public

SAP HANA dynamic tieringThe overall system layout

SAP HANA with dynamic tiering consists of two types of hosts:

Regular worker hosts (running the classical HANA processes:

indexserver, nameserver, daemon, xsserver,…)

– 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

Non-productive: co-deployment on one host possible

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

Connect

ES host

Column

Table

Row

Table

Extended

Table

Warm Store

Common Storage System

(*) Standby hosts not shown

Page 12: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 12Public

Database Catalog

SAP HANA extended tablesAnd how they relate to classical memory-based tables in SAP HANA

HANA Database

Warm Store

(disk)Data

HANA extended table

schema is part of HANA

database catalog

HANA extended table

data resides in warm

store

HANA extended table is a first

class database object with full

ACID compliance

Hot Store

(memory)

Table Definition

Data

Table Definition

Classical HANA

column/row table

Extended table

(warm table)

Page 13: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 13Public

Loading data into extended tables

Insert from CSV files

IMPORT FROM CSV FILE ‘bigfile.csv’ INTO t1

Row insert:

INSERT INTO t1 (col1, col2...) VALUES (val1, val2...)

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

Prerequisite: extended storage must be created with delta

Changing table from HANA table to extended table ALTER TABLE t_hana using extended storage

ALTER TABLE t_extended not using extended storage

HANA Extended

Table

CSV

DATAHANA

column TableINSERT...SELECT

Data movement between hot and warm store

HANA Database

Replication (SLT/SRS) and ETL

tools (SAP Data Services and third

party tools)

HANA

virtual

table

INSERT...SELECT

IMPORT FROM CSV FILE...

Remote data

source

HANA Smart Data

Streaming (SDS)INSERT

INSERT

Page 14: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 14Public

Managing and processing data in extended tables

Data temperature tied to table type (SPS 9/10)

Applications must manage data temperature explicitly

Appropriate for object-based classification

Possible if application has good control over data

Easiest if cold data is mostly read-only

DLM tool of SAP HANA Data Warehousing Foundation provided as

interim solution (http://help.sap.com/hana_options_dwf/)

Push/Pull query optimization and transformation

Optimized cross-store execution

Shift query operations to hot or warm store as appropriate

Parallel execution of operations in hot and warm store

Supported in HANA calculation views

T1 T2

Hot Warm

Explicit Split

Join / Union

Grouping

Ordering

T3 T4T1 T2

Page 15: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 15Public

Example query plan visualization

Query reading from hot and warm store

Example query computing UNION

of hot and warm data

select SUM ( GROSS_AMOUNT) asGROSS_AMOUNT, BUYER_ID from SO_2013_EXTgroup by BUYER_ID

UNIONselect SUM ( GROSS_AMOUNT) asGROSS_AMOUNT, BUYER_ID from SO_2014group by BUYER_ID

SO_2013_EXT is an extended table

in the warm store

SO_2014 is a native HANA table in

the hot store

HANA Plan Visualization gives

inside into both store executions

Page 16: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 16Public

SAP Data Warehousing Foundation Data Lifecycle Manager (DLM)

Tool-based management of data lifecycle

Leverage SAP HANA Dynamic Tiering, Hadoop or

SAP Sybase IQ with a tool-based approach to setup

an aging strategy

Optimize memory footprint in SAP HANA

native use cases

Define data slices on SAP HANA tables to be

displaced from SAP HANA memory

Optimize union access between the tables

Automated Data Movement between stores

Generated Stored Procedures to do data mass

movement – in and out

Schedule data movement using HANA tasks

Pilot Program started June 30, 2015

More information: http://scn.sap.com/docs/DOC-62482

Documentation: http://help.sap.com/hana_options_dwf/

Page 17: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 17Public

Host auto failover for dynamic tiering hostsHigh availability within database cluster

HANA plus DT is a clustered database

You may want to set up standby hosts

Standby for either indexserver (standard HANA) or esserver (DT)

One host cannot be standby for both at the same time

Automatic failover available for dynamic tiering hosts (SPS 10)

No manual intervention necessary in case the DT host fails

System automatically activates DT standby

Database remains available during failover procedure,

only DB requests that access DT will failClassical HANA services

Compute

node

Hot Store

Warm Store Service

Compute

node

Standby

node

Auto-

Failover

Standby

node

Warm Store

Auto-

Failover

mirror

mirror

HANA

DT

Page 18: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 18Public

Unified backup and restore

HANA backup manages backup of both hot and warm store

Point in Time Recovery (PITR) is supported

Dynamic

tiering

HANA

Data backups

(manual or

scheduled)Log backups

(automatic, or

none)

Data backup

Log backupSystem crash

Restore

Time

t1 t2 t3

Data backups with log

backups allow restore

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

Page 19: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 19Public

Backup & recovery in SAP HANA dynamic tiering (DT)Implementation of the Backint for SAP HANA interface

Backup & recovery affects full DB

We always back up memory + disk store!

Works the same way as in regular scale-out:

– All hosts are included in backup

– All worker processes must be running

New HANA Delta Backup not yet for DT

Planned for future release

With SPS 10: implementation for Backint

API for 3rd party backup solutions

See next slide for info on Backint for SAP HANA

Backint is a two-party implementation

HANA-side implementation now also includes DT

– Backup, recovery, query backup catalog, delete

Tool vendors implement backup agent

Add-on certification process planned

Backup tools will need to be certified for the new

HANA+DT system

Not included in regular Backint for HANA certification

Certification will be offered after first pilot (Q3/Q4)

Dynamic

tiering

HANAIndex

server

One Data backup

Name

server

XS

engine

DT

table

spaces

Page 20: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 20Public

Disaster recoverySystem replication or storage replication

System replication not yet implemented for DT

There is no disaster recovery with RPO=0 for DT in SPS 09

This applies to the entire HANA system, if DT is enabled

What is RPO = 0?

Recovery Point Objective, i.e. the expected maximal

data loss in a “disaster” situation

SAP HANA has two types of DR setups

SAP HANA System replication

Software solution; not yet implemented in DT service

Planned for future release (not yet in SPS 09 or 10)

Storage Replication

Storage solution – can be offered by hardware vendors

Data Center 2Data Center 1

OS: Mounts

Data

Volumes

Log

Volume

Cluster Manager (virt. IPs)

Primary(active)

Name

Server

Index

server

Name

Server

Inde

x

serv

er

Nam

e

Serv

erInde

x

serv

er

Secondary(active, data pre-loaded)

Name

Server

Index

server

Name

Server

Index

server

Name

Serve

r

Index

server

HA

So

lutio

n P

art

ne

r

Clients Application Servers

HA

So

lutio

n P

art

ne

r

Data

Volumes

Log

Volume

Data

Volumes

Log

Volume

Data

Volumes

Log

Volume

Transfer

by

HANA

database

kernel

In SPS 9 and 10: System Replication is not

available if DT is installed

Storage replication can be provided by

storage vendors

Transfer

by storage

replication

Page 21: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 21Public

Multitenant Database Containers (MDC)

MDC setups with SAP HANA dynamic tiering

Starting with SPS 10, SAP HANA dynamic tiering is also available

for tenant databases

Each tenant database can be associated with zero or one extended stores

Each extended store is dedicated to exactly one tenant database

Each extended store requires a dedicated dynamic tiering host

Important properties of DT

and MDC combined

Installation: see DT

administration guide at

http://help.sap.com/hana_optio

ns_dt

The following features are not

supported in this setup:

– Backup & Recovery using

Backint

– Cross-tenant access to

extended tables

– Strong tenant isolation

SAP HANA system with MDC and dynamic tiering

Compute node

System Database

Compute nodeCompute node

Tenant Database <B>

Extended StoreTenant Database <A>

Tenant Database <C>

Extended Store

Classical HANA (single-node or scale-out)

DT Host <B> DT Host <C>

Page 22: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 22Public

SAP HANA Enterprise Information Management

Can now be used with extended tables

Include extended tables in flow graphs

As data source or data sink

Based on tasks or stored procedures

Value Proposition

Load into extended tables from within HANA system or external data sources

Model and schedule data movement between in-memory and extended tables

Data staging in native HANA data warehouses

EIM flow graphs with extended tables

Page 23: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 23Public

SAP HANA dynamic tiering in the SAP HANA cockpitAdministration of the dynamic tiering option

Admin UIs for DT in the Cockpit

User Tables

Determine tables that are candidates for conversion to extended tables

Dynamic Tiering Administration

Create and manage extended storage

Create and modify DB space files

Configure dynamic tiering server

SAP-provided administrator roles

Monitoring user (view DT tiles)

sap.hana.tiering.roles::Monitoring

Administer DT (change configurationetc.)

sap.hana.tiering.roles::Administration

Page 24: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 24Public

SAP HANA CockpitTable Usage – first step towards supporting decision-making on data aging

Find candidates for extended tables

Combine size and usage information

Only displaying HANA column tables

Table size in MB/GB

Number of read operations on table

Number of write operations on table

Convert table to extended table

Select one or multiple tables

Convert to extended tables

Control delta creation in conversion

Page 25: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

Sizing the DT hostHow should you approach DT sizing?

Page 26: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 26Public

Certd. HW BoxCertd. HW BoxCertd. HW Box

HANA Scale-Out

Non-certd. HW(*)

Node 1 Standby Node

DT DB

DT DB

Node

Hardware layout viewSAP HANA system with SAP HANA dynamic tiering

Node 2

HANA Clients

(HANA Studio, ...)HANA Clients

(HANA Studio, ...)

HANA Clients

(DB clients, Studio,

...)

2

HANA System (One SID)1

2

1

Intra-node Network

Client Network3 HANA Storage Network

Non-certd.

Storage for

/hana/shared/

binaries, traces,

core dumps

4 DT Storage Network

DT may be added to certd. HANA storage, or may be using individual storage

logswarm datahot

data

3

redo

logs

hot

data

redo

logs

4

(*) The hosts for SAP HANA

dynamic tiering do not need to

be based on hardware certified

for SAP HANA

(you may of course choose

HANA-certified hardware)

Page 27: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 27Public

DT system sizes based on raw data sizeA starting point – adjust cores (and memory) based on workload requirements

10TB raw data 20TB raw data 30TB raw data 40TB raw data 50TB raw data• 5TB storage

• Add 288GB space for

RLV transaction log

• 18 cores:

• 12 cores to process 8

concurrent queries

• 6 cores to load 216GB

/ hour of data

• 288GB RAM (16GB /

core)

• 10TB storage

• Add 512GB space for

RLV transaction log

• 32 cores:

• 24 cores to process 16

concurrent queries

• 8 cores to load 288GB

/ hour of data

• 512GB RAM (16GB /

core)

• 15TB storage

• Add 736GB space for

RLV transaction log

• 46 cores:

• 36 cores to process 24

concurrent queries

• 10 cores to load

360GB / hour of data

• 736GB RAM (16GB /

core)

• 20TB storage

• Add 960GB space for

RLV transaction log

• 60 cores:

• 48 cores to process 32

concurrent queries

• 12 cores to load

432GB / hour of data

• 960GB RAM (16GB /

core)

• 25TB storage

• Add 1184GB of space for

RLV transaction log

• 74 cores:

• 60 cores to process 40

concurrent queries

• 14 cores to load

504GB / hour of data

• 1184GB RAM (16GB /

core)

Sizing “Rules of Thumb” for DT Store

Storage • 2.5 data compression factor (raw data compressed to 40% of its original size)

• Metadata and versioning space: 5% of compressed data

• Temp store: 20% of compressed data

• For any DT system size, ensure that the storage system can provide 50MB / sec / core of throughput

• Size RLV transaction log at 8GB * 2 * (number of cores)

Cores • 1.5 core / concurrent query

• 1 core can load 10MB / sec of raw data

• In the sizing boxes above, round up the number of cores to match a hardware vendor’s most compatible server model

RAM • 16GB / core (assumes use of delta enabled extended tables for concurrent writes)

Network • 10GBit / sec dedicated network between HANA and DT server

• Add networks as needed, so that HANA <-> DT network is completely isolated from storage network

Page 28: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

Use casesPreferred use cases for the SPS 10 release

Page 29: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 29Public

Uses cases for SAP HANA dynamic tiering in SPS 10

The best and primary use case

SAP NetWeaver Business Warehouse powered by SAP HANA (BW on HANA)

BW requirements were the driving force behind extended storage – now dynamic tiering

BW uses dynamic tiering with object-based temperature assignment

The secondary use case – with limited feasibility

SAP HANA native data marts / warehouses or applications

Add option to manage HANA memory footprint also for native scenarios

Evaluate use of DLM tool (from SAP Data Warehousing Foundation

Data provisioning capabilities include SLT and SAP HANA EIM

Table and data management: responsibility of data mart architect / application developers

Verify if all your required advanced functionalities are supported with extended tables (e.g. Geospatial, text …)

Not supporting SAP HANA dynamic tiering in its current form

SAP Business Suite powered by SAP HANA and S/4 applications (Simple Finance, …)

Page 30: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 30Public

HANA Native usage – data modelingSwitch to all-calculation-view modeling approach

Extended tables are not allowed in all kinds of views

Only Calculation Views

Cannot add extended table to Analytic or Attribute Views

Changing table in such a view to extended table invalidates the view

Migration to Calculation Views

Wizard exists to convert existing data models to calculation views

Typically require manual data aging

Split table into in-memory and extended

Support by planned DLM tool

Replace original table with union calcview (Replace with Data Source…)

Classical model:

Calculation, Analytic

and Attribute views All Calculation Views

T1 T1_EXT

Split and Union

generation via

DLM toolT1

All in-memory In-memory and extended

Views

Tables

Page 31: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

Future direction

Page 32: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 32Public

Future DirectionSPS 11 and beyond (2016/2017)

TodaySAP HANA SPS 10

This is the current state of planning and may be changed by SAP at any time.

Outlook SAP HANA dynamic tieringSummary

Technical integration

– Common installer

– Integrated administration & Monitoring

– Support for DT in multitenant database containers (MDC)

Enterprise Readiness

– Host auto-failover, support for storage connector API

– Convergence of file-based backup; Implementation of Backint API

Functional integration

– Global database catalog

– Cross-store optimizer

– Support in Calculation Models

– Performance optimization for BW data loads

– Enable use of DLM tool to manage extended tables

– Enable HANA EIM to use extended tables in data flows

Extend enterprise readiness

– Delta backup mechanism

– Full backup/restore integration

– Storage Snapshots

– Integration with system replication

Focus: Data Volume Management

– Native data lifecycle management

– Scale-out for extended store

Functional integration

– Support for special functionalities

(series data, geospatial, …)

– Unstructured data, search, …

Page 33: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 33Public

Documentation related to SAP HANA dynamic tiering

Public documentation

Available from http://help.sap.com/hana_platform

Navigate to “SAP HANA Options” • “SAP HANA

Dynamic Tiering”

Note that for full system documentation, you will

also need the regular HANA documentation

Page 34: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved.

Děkuji za pozornost

Martin Zikmund

Presales – Innovation solutions & Utilities

industry

SAP ČR, spol. s r.o.

Budova BBC Beta

Vyskočilova 1481/4

140 00 Praha,

M +420 602 751 153

E [email protected]

Page 35: Novémožnosti optimalizace ukládání dat v SAP HANA … Nove...Jun 30, 2015 · Novémožnostioptimalizace ukládánídat v SAP HANA (Dynamic tiering) ... INSERT INTO t_extended

© 2015 SAP SE or an SAP affiliate company. All rights reserved. 35Public

© 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.