13
What´s New? SAP HANA SPS 07 SAP HANA smart data access (Delta from SPS 06 to SPS 07) SAP HANA Product Management November, 2013

Hana Sps07 New Sda

Embed Size (px)

DESCRIPTION

HANA SP7 Smart Data Access

Citation preview

Page 1: Hana Sps07 New Sda

What´s New? SAP HANA SPS 07 SAP HANA smart data access (Delta from SPS 06 to SPS 07)

SAP HANA Product Management November, 2013

Page 2: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 2 Public

Scope of Delta from SAP HANA SPS 06 to SPS 07

New or Improved smart data access Features

Support for new Remote Sources such as Oracle and MS SQL

Extended DML to Insert/Update/Delete on Virtual Tables

Calc View Support for Virtual Tables

Deliver Generic Adapter framework to extend additional Remote Sources

‘Remote Caching’ for Hadoop sources

Support for CLOB & BLOB data types

hdbsdautil – utility to debug Remote Source configuration

Page 3: Hana Sps07 New Sda

New and Improved SDA Features

Page 4: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 4 Public

Expand Remote Source systems support

With SAP HANA SPS 07 smart data access will support new data

sources such as

Oracle 12c

Microsoft SQL Server ver11

Hadoop Hortonworks HDP 1.3

Page 5: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 5 Public

Extended DML support on Virtual Tables

• Support for inserting, updating, and deleting data in virtual tables.

• The inserted data is transferred to the remote database on-the-fly.

It is also updated transactionally on-the-fly and deleted on-the-fly

transactionally from the remote database.

• Insert/Update/Delete support is provided for the supported

datasources.

Limitations: No support of inserts/ deletes / updates for BLOB / CLOB and No support of correlated queries

• * Except for Hive as a remote source

Page 6: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 6 Public

Calc View support for Virtual Tables

• When creating a calculation view, it will be possible to add virtual tables

as data sources.

• Virtual tables can also be referenced by the calculation scenarios.

• The support for adding virtual tables in the calculation view can also be

done from SAP HANA Studio.

• Optimizations such as push down of filters is also supported is these

Calc scenarios.

Limitations: no support of aggregate / group by / order by function push down

Page 7: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 7 Public

Remote caching for Hadoop sources

When SAP HANA dispatches a federated query to HIVE, it involves series of ‘map’ and ‘reduce’ job execution.

This could take few minutes to hours to complete a query depending on the data size in Hadoop and the

current cluster capacity.

In most cases, the data in Hadoop cluster is not frequently updated and successive execution of map/reduce

jobs might result in same tuples.

As of SPS 07, HANA allows this result view to be materialized in the remote system thus avoiding the repetitive

execution of the same query.

This behavior can be controlled by hinting the optimizer to use remote caching.

Syntax

Select * from hive_activity_log where incident_type = ‘ERROR’ and plant =’001’ with hint (USE_REMOTE_CACHE)

Page 8: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 8 Public

Generic Adapter Framework

• Add support for new ODBC data sources by providing connectivity

configuration files CREATE SOURCE DB2sample adapter "odbc" CONFIGURATION FILE ‘dbs1.ini' using "Server=myDBsrv;Port=4100..."

• Sample Properties file entries CAP_SUBQUERY : true

CAP_SUBQUERY_GROUPBY : true

CAP_SUBQUERY_SELLIST : true

CAP_SUBQUERY_UPDATE : true

CAP_ORDERBY : true

CAP_ORDERBY_EXPRESSIONS : true

CAP_ORDERBY_UNRELATED : true

CAP_ORDERBY_UPDATE : true

CAP_JOINS : true

CAP_JOINS_OUTER : true

CAP_JOINS_MIXED : true

CAP_GROUPBY : true

CAP_GROUPBY_ALL : true

Page 9: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 9 Public

Configuration Validation Utility - hdbsdautil

• The utility check drivers and dependency files of given data source type.

• Can also connect to remote database with given credential information and run query with/without result set

display.

• Syntax hdbsdautil -t <data source type> -S <DSN or string> [-U <username> [-P <password>]] [-Q <SQL>] [-nr] [-info]

• Examples

hdbsdautil -t tdodbc -S "dsn=td_dsn" -U test -P test -info

Try to connect to a remote Teradata database with ODBC configuration in property file (e.g. ~/.odbc.ini)

With username and password specified

Dump ODBC information to console

Page 10: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 10 Public

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,

except if such damages were caused by SAP intentionally or grossly negligent.

Page 11: Hana Sps07 New Sda

Thank you

Contact information

Balaji Krishna

SAP HANA Product Management

[email protected]

To get the best overview of what’s new in SAP HANA SPS 07, read this blog.

Page 12: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 12 Public

© 2013 SAP AG. 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 AG.

The information contained herein may be changed without prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

National product specifications may vary.

These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and

SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group 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.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other

countries.

Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Page 13: Hana Sps07 New Sda

© 2013 SAP AG. All rights reserved. 13 Public

© 2013 SAP AG. 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 AG nicht gestattet. In dieser Publikation enthaltene Informationen können ohne vorherige Ankündigung geändert werden.

Einige der von der SAP AG und ihren Distributoren vermarkteten Softwareprodukte enthalten proprietäre Softwarekomponenten anderer Softwareanbieter.

Produkte können länderspezifische Unterschiede aufweisen.

Die vorliegenden Unterlagen werden von der SAP AG und ihren Konzernunternehmen („SAP-Konzern“) bereitgestellt und dienen ausschließlich zu Informationszwecken.

Der SAP-Konzern übernimmt keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Der SAP-Konzern 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.

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

AG in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://www.sap.com/corporate-

en/legal/copyright/index.epx#trademark.