PUBLIC
SAP HANA Platform 2.0
Document Version: SPS 07 - 1.0–2024-07-26
What's New in the SAP HANA Platform 2.0
© 2024 SAP SE or an SAP aliate company. All rights reserved.
THE BEST RUN 
Content
1 What's New in the SAP HANA Platform 2.0.........................................8
2 Updates and Additions to SAP HANA Platform 2.0 SPS 07 Documentation............... 10
3 SAP HANA Platform 2.0 SPS 07 Features.........................................14
3.1 Installation and Update........................................................14
SAP HANA Server Installation and Update (New and Changed)..........................14
3.2 Security...................................................................15
SAP HANA Database Security (New and Changed)..................................15
3.3 Administration.............................................................. 17
SAP HANA Cockpit SP 16 Features..............................................18
SAP HANA System Administration (Changed)..................................... 19
SAP HANA Deployment Infrastructure Administration (New and Changed).................22
SAP HANA Smart Data Access (New)...........................................24
SAP HANA Database Backup and Recovery (New and Changed)........................ 25
SAP HANA Native Storage Extension (New and Changed).............................25
3.4 Development...............................................................26
SAP Web IDE for SAP HANA (New and Changed)...................................26
SAP HANA Deployment Infrastructure Development (New and Changed)..................27
Text Search (New and Changed)...............................................28
3.5 Reference................................................................. 29
SAP HANA SQL Reference Guide (New and Changed)................................29
SAP HANA Spatial (New and Changed)..........................................33
SAP HANA Client Interfaces (New and Changed)...................................35
SAP HANA Predictive Analysis Library (New and Changed)............................35
SAP HANA SQLScript Reference (New)..........................................43
4 SAP HANA Platform 2.0 SPS 06 Features........................................ 44
4.1 Installation and Update........................................................44
SAP HANA Server Installation and Update (New and Changed).........................44
4.2 Security...................................................................45
SAP HANA Database Security (New and Changed)..................................45
4.3 Administration..............................................................48
SAP HANA Cockpit (New and Changed)......................................... 49
SAP HANA System Administration (New and Changed)...............................61
SAP HANA Deployment Infrastructure Administration (New and Changed).................65
SAP HANA Smart Data Access (New and Changed).................................69
SAP HANA Database Backup and Recovery (New and Changed)........................ 70
2
PUBLIC
What's New in the SAP HANA Platform 2.0
Content
SAP HANA Native Storage Extension (New and Changed).............................72
4.4 Development...............................................................74
SAP Web IDE for SAP HANA (New and Changed)................................... 74
SAP HANA Deployment Infrastructure Development (New and Changed)..................75
SAP HANA Interactive Education (SHINE) (New and Changed)......................... 76
Text Search (New and Changed)...............................................76
4.5 Reference................................................................. 78
SAP HANA SQL Reference Guide (New and Changed)................................78
SAP HANA Spatial (New and Changed)..........................................85
SAP HANA Client Interfaces (New and Changed)................................... 87
SAP HANA Predictive Analysis Library (New and Changed)............................87
SAP HANA Analytics Catalog (BIMC Views) (New)..................................92
SAP HANA Embedded Statistics Service Catalog (_SYS_STATISTICS) (New and Changed)
......................................................................92
5 SAP HANA Platform 2.0 SPS 05 Features.........................................94
5.1 Installation and Update........................................................94
SAP HANA Server Installation and Update (New and Changed).........................94
5.2 Security...................................................................95
SAP HANA Database Security (New and Changed)..................................95
5.3 Administration..............................................................95
SAP HANA Cockpit (New and Changed)......................................... 96
SAP HANA System Administration (New and Changed)..............................112
SAP HANA Database Backup and Recovery (New and Changed)........................114
SAP HANA Smart Data Access (New and Changed).................................115
SAP HANA Application Run-Time Services (New and Changed).........................116
5.4 Development...............................................................117
SAP Web IDE for SAP HANA (New and Changed)...................................117
SAP HANA XS Advanced Development (New and Changed)...........................117
SAP HANA Deployment Infrastructure Development (New and Changed)................. 121
Text Search (New and Changed).............................................. 122
5.5 Reference.................................................................123
SAP HANA SQL Reference Guide (New and Changed)...............................123
SAP HANA Spatial (New and Changed)..........................................127
SAP HANA Graph (New and Changed)..........................................130
SAP HANA Client Interfaces (New and Changed)...................................131
SAP HANA Predictive Analysis Library (New and Changed)............................131
SAP HANA Analytics Catalog (BIMC Views) Reference (New)..........................134
6 SAP HANA Platform 2.0 SPS 04 Features........................................135
6.1 Installation and Update.......................................................135
SAP HANA Server Installation and Update (New and Changed).........................135
What's New in the SAP HANA Platform 2.0
Content
PUBLIC 3
6.2 Security..................................................................136
SAP HANA Database Security (New and Changed).................................137
6.3 Planning and Design.........................................................139
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed)...........140
6.4 Administration............................................................. 144
SAP HANA Cockpit (New and Changed).........................................145
SAP HANA System Administration (New and Changed)..............................168
SAP HANA High Availability (New and Changed)...................................174
SAP HANA Database Backup and Recovery (New and Changed)........................176
SAP HANA Smart Data Access (New and Changed).................................178
SAP HANA Native Storage Extension (New)...................................... 178
SAP HANA Deployment Infrastructure Administration (New and Changed)................179
SAP HANA Application Run-Time Services (New and Changed).........................181
6.5 Development.............................................................. 184
SAP Web IDE for SAP HANA (New and Changed)...................................184
SAP HANA Deployment Infrastructure Development (New and Changed).................185
SAP HANA XS Advanced Development (New and Changed)...........................186
Text Search (New and Changed)..............................................190
Hierarchy Functions (New and Changed)........................................193
SAP HANA Intercative Education (SHINE) (New and Changed).........................194
SAP HANA External Machine Learning Library (New and Changed)......................194
6.6 Reference.................................................................195
SAP HANA SQL Reference Guide (New and Changed)...............................196
SAP HANA Client Interfaces (New and Changed)...................................218
SAP HANA SQL Command Network Protocol Reference (Removed).....................226
SAP HANA Spatial (New and Changed).........................................226
SAP HANA Graph (New and Changed)..........................................230
SAP HANA Predictive Analysis Library (New and Changed)...........................232
SAP HANA SQLScript Reference (New and Changed)...............................235
7 SAP HANA Platform 2.0 SPS 03 Features........................................242
7.1 Installation and Update.......................................................242
SAP HANA Server Installation and Update (New and Changed)........................242
7.2 Security..................................................................243
SAP HANA Database Security (New and Changed).................................244
7.3 Planning and Design.........................................................246
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed)...........247
7.4 Administration.............................................................248
SAP HANA Cockpit (New and Changed).........................................249
SAP HANA System Administration (New and Changed)..............................266
SAP HANA High Availability (New and Changed)...................................269
SAP HANA Database Backup and Recovery (New and Changed)........................271
4
PUBLIC
What's New in the SAP HANA Platform 2.0
Content
SAP HANA XS Advanced Cockpit (New).........................................271
SAP HANA Application Run-Time Services (New and Changed)........................ 272
SAP HANA Smart Data Access (New and Changed).................................272
7.5 Development..............................................................273
SAP HANA XS Advanced Development (New and Changed)...........................274
SAP Web IDE for SAP HANA (New and Changed).................................. 277
SAP HANA Spatial (New and Changed).........................................284
SAP HANA Graph (New and Changed)..........................................286
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed)............287
Text Search and Text Analysis (New and Changed).................................288
7.6 Reference.................................................................291
SAP HANA SQL Reference Guide (New and Changed)...............................292
SAP HANA Client Interfaces Reference (New and Changed)...........................308
SAP HANA SQL Command Network Protocol Reference (New and Changed)...............311
SAP HANA Predictive Analysis Library (New and Changed)........................... 312
SAP HANA SQLScript Reference (New and Changed)............................... 315
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed)................319
SAP HANA External Machine Learning (New and Changed)...........................320
8 SAP HANA Platform 2.0 SPS 02 Features........................................322
8.1 Installation and Update.......................................................322
SAP HANA Server Installation and Update (New and Changed)........................322
8.2 Security..................................................................323
SAP HANA Database Security (New and Changed).................................323
8.3 Planning and Design.........................................................324
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed)...........325
8.4 Administration.............................................................335
SAP HANA Cockpit (New and Changed).........................................335
SAP HANA System Administration (New and Changed)..............................341
SAP HANA Application Lifecycle Management (New and Changed)..................... 344
SAP HANA High Availability (New and Changed)...................................345
SAP HANA Database Backup and Recovery (New and Changed)....................... 345
SAP HANA Application Run-Time Services (New and Changed)........................346
SAP HANA Smart Data Access (New and Changed)................................ 347
8.5 Development..............................................................348
SAP HANA XS Advanced Development (New and Changed)...........................349
Text Search, Text Analysis, and Text Mining.......................................354
SAP Web IDE for SAP HANA (New and Changed).................................. 358
SAP HANA Graph (New and Changed)..........................................364
SAP HANA Spatial (New and Changed).........................................365
SAP HANA Interactive Education (SHINE) for XS Advanced (New)......................366
What's New in the SAP HANA Platform 2.0
Content
PUBLIC 5
SAP HANA Extended Application Services classic model (XS classic) and SAP HANA
Repository............................................................. 366
8.6 Reference.................................................................367
SAP HANA SQL and System Views Reference (New and Changed)......................367
SAP HANA Client Interfaces Reference (New and Changed)...........................374
SAP HANA SQL Command Network Protocol Reference (Changed)..................... 376
SAP HANA SQLScript Reference (New and Changed)...............................377
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed)................378
SAP HANA Predictive Analysis Library (New and Changed)...........................378
SAP HANA External Machine Learning Library (New)............................... 380
9 SAP HANA Platform 2.0 SPS 01 Features........................................382
9.1 Installation and Update.......................................................382
Documentation Changes................................................... 382
SAP HANA Server Installation and Update (New and Changed)........................383
9.2 Security..................................................................383
SAP HANA Database Security (New and Changed).................................384
9.3 Administration.............................................................385
Documentation Changes...................................................386
SAP HANA Cockpit (New and Changed).........................................386
SAP HANA System Administration (New and Changed)..............................395
SAP HANA High Availability (New and Changed)...................................397
SAP HANA Database Backup and Recovery (New and Changed)....................... 398
SAP HANA Application Lifecycle Management (New)...............................399
SAP HANA Smart Data Access (New and Changed)................................399
SAP HANA Hadoop Integration (New and Changed)................................ 401
9.4 Development..............................................................402
SAP HANA XS Advanced Development (New and Changed)...........................402
Search, Text Analysis, and Text Mining..........................................408
SAP HANA Graph (New and Changed)..........................................412
Hierarchy Functions (New and Changed)........................................412
SAP Enterprise Architecture Designer, Edition for SAP HANA, edition for SAP HANA (New and
Changed).............................................................. 413
SAP Web IDE for SAP HANA (New and Changed)...................................413
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed)............420
9.5 Reference................................................................ 420
SAP HANA SQL and System Views Reference (New and Changed)......................421
SAP HANA Client Interfaces Reference (New and Changed)...........................429
SAP HANA SQLScript Reference (New and Changed)...............................430
SAP HANA Predictive Analysis Library (New and Changed)........................... 431
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed)................435
10 SAP HANA Platform 2.0 SPS 00 Features....................................... 436
6
PUBLIC
What's New in the SAP HANA Platform 2.0
Content
10.1 Installation and Update.......................................................436
Documentation Changes...................................................436
SAP HANA Server Installation and Update (New and Changed)........................438
SAP HANA Cockpit Installation and Update (New)................................. 439
10.2 Security..................................................................439
Documentation Changes...................................................439
SAP HANA Database Security (New and Changed).................................440
10.3 Administration.............................................................441
Documentation Changes...................................................442
SAP HANA System Administration (New and Changed)..............................442
SAP HANA Database Backup and Recovery (New and Changed).......................446
SAP HANA High Availability (New and Changed)...................................448
SAP HANA Performance Monitoring and Analysis (New and Changed)...................449
SAP HANA Smart Data Access (New and Changed).................................451
SAP HANA Hadoop Integration (New and Changed)................................452
10.4 Development..............................................................453
SAP HANA XS Advanced Development (New and Changed)...........................454
SAP Enterprise Architecture Designer, Edition for SAP HANA, edition for SAP HANA (New)
.....................................................................460
SAP Web IDE for SAP HANA (New and Changed)..................................460
SAP HANA Spatial (New)...................................................467
SAP HANA Graph (New and Changed)..........................................467
Hierarchy Functions (New)..................................................468
Search, Text Analysis, and Text Mining..........................................468
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed)............472
10.5 Reference.................................................................473
SAP HANA SQL and System Views Reference (New and Changed)......................474
SAP HANA Client Interfaces (New and Changed)...................................481
SAP HANA Predictive Analysis Library (New and Changed)...........................483
SAP HANA SQLScript Reference (New and Changed)...............................488
SAP HANA Core Data Services (CDS) Reference (New and Changed)....................488
SAP HANA Analytics Catalog (BIMC Views) Reference (New)..........................489
11 Deprecated Features....................................................... 490
12 Important Disclaimer for Features in SAP HANA...................................491
What's New in the SAP HANA Platform 2.0
Content
PUBLIC 7
1 What's New in the SAP HANA Platform
2.0
Find out about the new and enhanced features of SAP HANA Platform 2.0 in support package stacks (SPSs)
and corresponding revisions.
Note
The PDF version of this document does not contain links to detailed information in other SAP HANA guides
and reference works. Therefore, we recommend that you use the HTML version at https://help.sap.com/
viewer/42668af650f84f9384a3337bcd373692/latest/en-US.
Support Package Stack
(SPS)
First Released with Revi-
sion... Feature Overview Release Note
07 2.00.070
SAP HANA Platform 2.0 SPS
07 Features [page 14]
SAP Note 3198680
06 2.00.060
SAP HANA Platform 2.0 SPS
06 Features [page 44]
SAP Note 2945239
05 2.00.050 SAP HANA Platform 2.0 SPS
05 Features [page 94]
SAP Note 2844322
04 2.00.040 SAP HANA Platform 2.0 SPS
04 Features [page 135]
SAP Note 2656575
03 2.00.030 SAP HANA Platform 2.0 SPS
03 Features [page 242]
SAP Note 2551355
02 2.00.020 SAP HANA Platform 2.0 SPS
02 Features [page 322]
SAP Note 2460914
01 2.00.010 SAP HANA Platform 2.0 SPS
01 Features [page 382]
SAP Note 2404375
00 2.00.000 SAP HANA Platform 2.0 SPS
00 Features [page 436]
SAP Note 2380257
Related Information
SAP HANA 2.0: Deprecations reported by the HANA statistics server (SAP Note 2425002)
Central Note for Behavioral Changes in SAP HANA (SAP Note 2679360)
SAP HANA 2.0 Revision Strategy
8
PUBLIC
What's New in the SAP HANA Platform 2.0
What's New in the SAP HANA Platform 2.0
Additional guidance on SAP HANA 2.0 revisions (SAP Note 2378962)
SAP Product Availability Matrix for SAP HANA, platform edition 2.0
What's New in the SAP HANA Platform 2.0
What's New in the SAP HANA Platform 2.0
PUBLIC 9
2 Updates and Additions to SAP HANA
Platform 2.0 SPS 07 Documentation
History of updates to the SAP HANA 2.0 SPS 07 documentation.
For SAP HANA Platform 2.0 SPS 07, we've changed the update strategy for our product documentation.
In previous SAP HANA releases any documentation additions which were necessary were published in the SAP
HANA Platform 2.0 Release Note for that release, the complete documentation set was then re-issued in a
single update on a specic date. For SPS 07, if revisions are necessary, we will republish individual guides on an
ongoing basis. The table below shows what has been changed, when, and in which guide.
Release Date
Guide Description
2022-04-04
What's New in the SAP HANA
Platform 2.0
This topic Continuous Updates to SAP HANA Platform 2.0 SPS 07 Documen-
tation has been added to the What's New in the SAP HANA Platform 2.0, to
document continuous improvements to the SAP HANA documentation.
2023-05-17 SAP HANA Server Installa-
tion and Update Guide
This topic use_systemd has been added to the SAP HANA Server Installation
and Update Guide.
2023-06-30 SAP HANA SQL Reference
Guide for SAP HANA Plat-
form
These functions now return spatial data types (ST_POINT, ST_GEOMETRY)
when they are executed with spatial types as input parameter.
See:
FIRST_VALUE Function (Aggregate)
LAST_VALUE Function (Aggregate)
NTH_VALUE Function (Aggregate)
SAP Note 3330849 - Changed Behavior of Aggregate Functions
FIRST_VALUE, LAST_VALUE, and NTH_VALUE
2023-06-30
SAP HANA Developer Guide
for XS Advanced Model (SAP
Web IDE)
The topic Standard Node.js Packages for XS Advanced has been updated
to include information about the plans to deprecate the SAP NPM package
@sap/xsjs, which is the compatibility layer that enables the use of XS
classic JavaScript in the context of XS advanced, and its recommended
replacement, the asynchronous XS Javascript API @sap/async-xsjs.
The topic also includes links to more information about the steps required to
migrate your XS JavaScript code to the asynchronous XS JavaScript API.
10 PUBLIC
What's New in the SAP HANA Platform 2.0
Updates and Additions to SAP HANA Platform 2.0 SPS 07 Documentation
Release Date Guide Description
2023-06-30 SAP HANA XS JavaScript
Reference
The topics in the section Using SAP HANA XS JavaScript in XS Advanced
have been updated to include information about the plans to deprecate the
SAP NPM package @sap/xsjs, which is the compatibility layer that ena-
bles the use of XS classic JavaScript in the context of XS advanced, and its
recommended replacement, the asynchronous XS Javascript API @sap/
async-xsjs. The topics also include links to more information about the
steps required to migrate your XS JavaScript code to the asynchronous XS
JavaScript API.
2023-07-28
SAP HANA Troubleshooting
and Performance Analysis
Guide
The topic SQL Plan Stability has been updated to include an additional
feature which is now available when enabling plans. It is now possible to set
a plan ID value in the session variable ENABLE_ABSTRACT_SQL_PLAN_EN-
TRY to enable a plan for just the current session.
2023-07-28
SAP HANA Conguration Pa-
rameter Reference
The default value of the conguration parameter unload_threshold
in the buffer_cache_cs section of the <service>.ini le has been cor-
rected. The parameter is not active by default and so the default value is 100
percent.
2023-08-25
SAP HANA Developer Guide
for XS Advanced Model (SAP
Business App Studio)
This new guide explains how to use SAP Business Application Studio to build
and deploy database applications in SAP HANA Platform and SAP HANA
Extended Application Services advanced model (XS advanced).
Note
SAP Business Application Studio is a subscription-based Cloud service
provided by the SAP Business Technology Platform (SAP BTP).
2023-09-18
SAP HANA XS Advanced Mi-
gration Guide
This guide now includes new section entitled Migrating SAP HANA XS
Advanced Applications to the SAP Cloud Application Programming Model,
which describes how to migrate an XS advanced application to the SAP
Cloud Application Model (CAP) and deploy the CAP application to SAP Busi-
ness Technology Platform (BTP) and SAP HANA Cloud.
In addition, a new topic in the section Migrating SAP HANA XS Classic Appli-
cations to the XS Advanced Model describes how to migrate from synchro-
nous to asynchronous XS JavaScript due to the deprecation of the @sap/
xsjs Node.js package, which enables SAP HANA XS Classic applications to
run in syncronous mode in the compatibility layer of the JavaScript run time
for SAP HANA extended application services, advanced model (SAP HANA
XS advanced).
What's New in the SAP HANA Platform 2.0
Updates and Additions to SAP HANA Platform 2.0 SPS 07 Documentation
PUBLIC 11
Release Date Guide Description
2023-11-17 SAP HANA Security Guide
SAP is changing the root certicate authority (CA) that is used to sign its
transport layer security (TLS) connections to HANA servers from "DigiCert
Global Root CA" to "DigiCert Global Root G2". DigiCert has stopped signing
certicates with the root "DigiCert Global Root CA". For more details about
this change, see:
https://knowledge.digicert.com/general-information/digicert-root-and-in-
termediate-ca-certicate-updates-2023
3327214
3399573
X.509 Certicate-Based User Authentication
2024-02-23
SAP HANA XS Advanced Mi-
gration Guide
The topic Migrate Your XS Classic Application to XS Advanced has been
extended to include information about the release of a new version of the XS
Advanced Migration Assistant.
The topic Migrating SAP HANA XS JavaScript to Asynchronous XS Java-
Script in XS Advanced has been extended to include information about
how the XS Advanced Migration Assistant's supports the migration of XS
JavaScript to asynchronous XS JavaScript.
2024-03-22
SAP HANA Administration
Guide
The topic SQL Plan Cache has been updated and includes a section on the
Auto Recompilation feature which is now available in this release.
The guide has also been updated to reect changes and improvements to
the XS advanced platform, which is now available in version 1.2.0.
2024-03-22
SAP HANA Developer Guide
for XS Advanced Model (SAP
Business App Studio)
The SAP HANA Developer Guide for XS Advanced Model (SAP Business App
Studio) has been updated to reect changes and improvements to the XS
advanced platform, which is now available in version 1.2.0.
2024-03-22 SAP HANA Developer Guide
for XS Advanced Model (SAP
Web IDE)
The SAP HANA Developer Guide for XS Advanced Model (SAP Web IDE) has
been updated to reect changes and improvements to the XS advanced
platform, which is now available in version 1.2.0.
2024-03-22 The SAP HANA XS Com-
mand-Line Interface Refer-
ence
The SAP HANA XS Command-Line Interface Reference has been updated to
reect changes and improvements to the XS advanced platform, which is
now available in version 1.2.0.
2024-04-12 SAP HANA Troubleshooting
and Performance Analysis
Guide
The topic Backup And Recovery has been updated to include use of a
conguration parameter (backint_pipe_capacity) which may solve a slow
performance problem when using third party backup tools with SUSE Linux
Enterprise Server 15 SP4.
2024-04-12
SAP HANA Conguration Pa-
rameter Reference
This document has been updated to align with conguration parameter
changes in recent SPS 07 releases.
12 PUBLIC
What's New in the SAP HANA Platform 2.0
Updates and Additions to SAP HANA Platform 2.0 SPS 07 Documentation
Release Date Guide Description
2024-06-28 SAP HANA Developer Guide
for XS Advanced Model (SAP
Business App Studio)
The SAP HANA Developer Guide for XS Advanced Model (SAP Business App
Studio) has been updated to reect updates and improvements to the SAP
HANA Native Application dev space in SAP Business Application Studio.
2024-07-26 SAP HANA Troubleshooting
and Performance Analysis
Guide
The topic Alerts Reference has been updated to include details of alerts 151
'KMS failed connection', and 713 'Remote source delayed time'.
2024-07-26 SAP HANA Administration
Guide
The topic Persistent Memory has been updated and includes details of an
additional conguration parameter that can be used to limit the amount of
disk space available for PMEM.
Related Information
SAP Note 3198680
What's New in the SAP HANA Platform 2.0
Updates and Additions to SAP HANA Platform 2.0 SPS 07 Documentation
PUBLIC 13
3 SAP HANA Platform 2.0 SPS 07 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 07.
3.1 Installation and Update
SAP HANA Server Installation and Update (New and Changed) [page 14]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the installation and update of
SAP HANA.
3.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the installation and update of SAP
HANA.
Data and Log Encryption (Changed)
The default value of the parameter volume_encryption has been changed to --volume_encryption (on).
This changed setting is applied to new installations, but existing systems are not modied when upgrading.
Backup Encryption (New)
Enable or disable backup encryption. The default for this parameter is --backup_encryption (on). This
parameter is available in interactive mode.
Systemd Integration (New)
SAP HANA and SAP Start Service can be integrated as services in the systemd management. For details see
SAP Note 3189534 - Linux: systemd integration for sapstartsrv and SAP HANA.
14
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Local Secure Store (LSS) (Changed)
As of SAP HANA 2.0 Support Package Stack (SPS) 07, SAP HANA Local Secure Store will be installed and
activated by default during an SAP HANA system installation if it has been detected as a component by
hdblcm. To opt out of Local Secure Store activation during installation, run hdblcm with the parameter
secure_store=ssfs or do not select it as a component.
LSS must be activated before it can be used. For more information, see Activate the Local Secure Store (LSS).
Related Information
SAP Note 3189534 - Linux: systemd integration for sapstartsrv and SAP HANA
Local Secure Store (LSS)
3.2 Security
SAP HANA Database Security (New and Changed) [page 15]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for security.
3.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for security.
Auditing (New and Changed)
The audit log table is now congured to use SAP HANA Native Storage Extensions (NSE) by default. You
can also choose to load it completely into memory as before.
ALTER SYSTEM ALTER AUDIT LOG (System Management)
Audit Trails
You can now specify schema names for some DDL based audit actions. The Audit Actions system view has
been extended to include this information.
The audit actions IMPORT, IMPORT SCAN, and EXPORT statements can now be tracked by the audit
policy.
Audit Policies
CREATE AUDIT POLICY Statement (Access Control)
AUDIT_ACTIONS System View
The audit actions ALTER CREDENTIAL, CREATE CREDENTIAL, and DROP CREDENTIAL statements can
now be tracked by the audit policy.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 15
CREATE AUDIT POLICY Statement (Access Control)
Audit policies now supports the specication of usergroups in addition to users for explicit inclusion or
exclusion in the logging of audit events. The AUDIT_POLICIES System View has been modied to reect
this change.
AUDIT_POLICIES System View
The audit log now displays the name of the authentication method used to authenticate the connection.
Authentication (New and Changed)
It is now possible to congure SAML and JWT identity providers for automatic user creation in conjunction
with LDAP group authorization.
This means that if you use an LDAP-compliant directory server to manage users and their access to
resources, you can now leverage this infrastructure to provision the database users required for SAML- and
JWT-authenticated users.
A database user can be automatically created for a SAML-/JWT-authenticated user if the user exists in
your LDAP server and this user is a member of at least one LDAP group mapped to at least one SAP HANA
role.
Single Sign-On Using SAML 2.0
Single Sign-On Using JSON Web Tokens
Congure SAML or JWT Authentication with LDAP-Based User Provisioning
The default value of the parameter issuer (section jwt_identity_provider) does not include the
hostname anymore, because that raises an alert in system replication scenarios.
<service>.ini
Authorization (New and Changed)
It is no longer necessary to have object privileges on tables to perform some operations. To execute ALTER
TABLE statements that do not change the structure of the table and do not allow access to table data
either explicitly or implicitly, the TABLE ADMIN system privilege is sucient.
ALTER TABLE Statement (Data Denition)
The procedure GET_INSUFFICIENT_PRIVILEGE_ERROR_DETAILS now displays SAP passport information
to improve authorization error analysis.
GET_INSUFFICIENT_PRIVILEGE_ERROR_DETAILS
The COMMENT ON statement now allows you to add a comment on certicates and public keys.
COMMENT ON Statement (Data Denition)
You can now store X.509 duplicate certicates with dierent names if a certicate name has been
provided.
16
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Communication Security (New and Changed)
An alert occurs if TLS/SSL is not congured. To conrm TLS/SSL conguration see column PURPOSE of
the PSES System View.
PSES System View
The SQL statement ALTER SYSTEM RELOAD FILE PSE enforces changes to PSE stores in the le system
without requiring a database restart.
ALTER SYSTEM RELOAD FILE PSE Statement (System Management)
TLS1.3 is expected to be rolled out during the lifetime of SAP HANA Platform 2.0 SPS 07. To allow for this
rollout, the default for sslMaxProtocolVersion has been changed to TLS12.
Communication Conguration Properties for LDAP
Server-Side TLS/SSL Conguration Properties for External Communication (JDBC/ODBC)
Encryption Conguration and Encryption Key Management (New and
Changed)
A round o of SQL statements and hdbnsutil commands relevant for securing and recovering SAP HANA
root keys has been done.
Certicate Management (New and Changed)
You can now trigger a reread of le system-based PSEs without restarting your SAP HANA database.
3.3 Administration
SAP HANA Cockpit SP 16 Features [page 18]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 16.
SAP HANA System Administration (Changed) [page 19]
SAP HANA introduces new and changed administration features.
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 22]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HANA Smart Data Access (New) [page 24]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Database Backup and Recovery (New and Changed) [page 25]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA backup and
recovery.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 17
SAP HANA Native Storage Extension (New and Changed) [page 25]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Native Storage
Extension (NSE).
3.3.1SAP HANA Cockpit SP 16 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 16.
Administration and Monitoring [page 18]
SAP HANA cockpit SP 16 introduces new and changed features for administration and monitoring.
User Management and Security Administration [page 19]
SAP HANA cockpit SP 16 introduces new and changed features for user management and security
administration.
3.3.1.1 Administration and Monitoring
SAP HANA cockpit SP 16 introduces new and changed features for administration and monitoring.
Monitoring
Full System
Information Dumps
When collecting runtime environment diagnostic information, a new section named
MEMORY_MANAGER has been added. Your SAP HANA database must be of version
SPS 07 or higher.
Alert Filtering The Alerts lter on the Database Directory now allows you to lter alterts by the Low
and Information catgories, meaning that you no longer have to go to the Alerts card for
each database to view these lower priority alerts.
Workload Class
Mapping
The property Application Source Name is now available for matching client sessions
with workload classes. This mapping property is used to match user connections based
on the value of the session variable 'APPLICATION_SOURCE'.
Create a Workload Class Mapping
Workload Class
Mapping
The validity status of a workload class mapping is now shown in the column IS VALID.
Mappings may become invalid if, for example, dependent objects, such as the workload
class it relates to, are dropped.
Create a Workload Class Mapping
Native Storage
Extension
Administration
The new column I/O Read Size in the Buer Cache Monitor displays the disk I/O reads
over time. Your SAP HANA database must be of version SPS 07 or higher.
See View and Congure the Native Storage Extension Buer Cache Monitor.
18 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
3.3.1.2 User Management and Security Administration
SAP HANA cockpit SP 16 introduces new and changed features for user management and security
administration.
Authentication and
Trust Conguration
(New)
You can now edit the comment on certicates and public keys:
In the Certicate Store application you can edit the comment on the top right of the
selected certicate details screen.
In the Public Keys application click Change in the Comment column.
Your SAP HANA database must be of version SPS 07 or higher.
Certicate Details
Public Key Details
Auditing (New)
In the Auditing application you can now include/exclude users in user groups in the
audit policies. Your SAP HANA database must be of version SPS 07 or higher.
Auditing Details
In the Auditing application you can now edit the loadable unit of the audit log table. Your
SAP HANA database must be of version SPS 07 or higher.
Edit Load Unit
Insucient
Privilege Details
(New)
In the Insucient Privilege Details application you can now view passport information in
case of an authorization error. Your SAP HANA database must be of version SPS 07 or
higher.
Display Information about an "Insucient Privilege" Error
3.3.2SAP HANA System Administration (Changed)
SAP HANA introduces new and changed administration features.
Partitioning (Changed)
Privileges for Partitioning
The PARTITION ADMIN system privilege is now available so that users with this privilege can perform some
partitioning operations with the ALTER TABLE statement. More specic ALTER object privileges for the
table are still required to modify partitions.
Table Partitioning
Range Partitioning
For heterogeneous range partitioning the numeric data types now support negative and positive numbers
for the partitioning column.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 19
Range Partitioning
Dynamic Range Partitioning
The NVARCHAR data type is now supported for INTERVAL property values in dynamic range partitioning.
The numeric data types now support negative and positive numbers for dynamic range partitioning. Details
of how this is applied are given in the documentation.
Dynamic Range Partitioning
Persistent Memory Property
The Persistent memory (NVM) property is now supported for both balanced and heterogeneous
partitioning types. Persistent memory is consumed only when the partitioning property is set to
TRUE. Consumption is shown as PERSISTENT_MEMORY_SIZE_IN_TOTAL in the monitoring view
M_TABLE_PARTITIONS. Properties can be modied for a partition using the ALTER PARTITION key words
or using PARTITION BY.
Partition Properties
Partition Locations
When you partition or repartition a table you can now specify at which location the partition should be
created using the AT LOCATION clause. This option can be used to move a partition to a dierent location
and can be used with all partitioning types: hash, roundrobin and range.
Partitioning Operations
Monitoring Views for Partitioning
You can now enable the collection of additional detailed statistical information in the monitoring view
M_TABLE_PRUNING_STATISTICS. This will help you to analyze the eectiveness of partition pruning.
System Views for Monitoring Partitions
Global Cache (Changed)
You can now dene limits to apply a global cache size. You can dene upper and lower limits using a set of
conguration parameters in the memoryobjects section of the global.ini le. You can set values either as
an absolute number of bytes or as a percentage of available memory.
Caching
Consistency Checks - Alerts (New and Changed)
An additional statistics server alert has been added (Alert #146 Table Consistency Status) for the table
consistency check to report the number of errors in tables with inconsistencies.
Alerts Reference
A new statistics server alert checker has been introduced (Alert #145 Nameserver Topology
Inconsistencies) to check the system topology for any inconsistencies. This runs on the nameserver and
issues a warning if any inconsistency is found.
Alerts Reference
20
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Workload Management (Changed)
Workload Classes
The workload mapping property 'Application Source Name' is now available, this is applied at the
statement level and corresponds to the session variable APPLICATION_SOURCE.
Properties for Workload Classes and Mappings
The use of wildcard characters for matching workload classes with the client has been extended. The
wildcard character can now be used on its own without any prex character so that any value for the
property will match successfully. See the examples in Properties for Workload Classes and Mappings.
Properties for Workload Classes and Mappings
The workload class properties to manage thread limits (Statement Thread Limit and Total Statement
Thread Limit) can now also be dened in hierarchical parent-child relationships so that a total restriction
dened in a parent class can be inherited by child classes.
Hierarchies of Workload Classes
Enhancements have been introduced to preserve the validity of workload class mappings in cases
where the mapping has dependencies to other procedures. Mappings may be invalidated if a dependent
procedure is deleted, but validity is restored if the link to the procedure is restored. You can see the status
of a mapping from the WORKLOAD_MAPPINGS.IS_VALID column.
Managing Workload with Workload Classes
System Replication (Changed and Deprecated)
The conguration parameter datashipping_parallel_processing has been deprecated in SAP
HANA 2.0 SPS 07. This is no longer required because multistreamed datashipping with parallel processing
is now always active.
SAP HANA System Replication Conguration Parameters
The conguration parameter enable_takeover_with_uninitialized_volumes has been introduced
to check before a takeover takes place that all databases are correctly initialized. This can be used either to
prevent a takeover or to simply issue a warning.
SAP HANA System Replication Conguration Parameters
The option to use table preloading with the delta data shipping mode is no longer supported (see
conguration parameter preload_column_tables).
SAP HANA System Replication Conguration Parameters
SSL security is now enabled by default for all system replication connections. The default value of the
conguration parameter enable_ssl has been changed to 'on'.
Congure Secure Communication (TLS/SSL) Between Primary and Secondary Sites
A new option has been added to the hook method srServiceStateChanged. The parameter --details
returns additional information about services which may have crashed and are no longer available.
Hook Methods
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 21
SAP HANA Dynamic Tiering
SAP HANA dynamic tiering 2.0 will not receive any new features going forward. The current released
version of SAP HANA dynamic tiering is SAP HANA dynamic tiering 2.0 SP 04. Customers using SAP
HANA dynamic tiering with SAP HANA 2.0 SPS 06 or beyond continue to use the 2.0 SP 04 version of SAP
HANA dynamic tiering.
SAP HANA dynamic tiering is an optional add-on to the SAP HANA database for managing less frequently
accessed warm data. It has been superseded by SAP HANA native storage extension (NSE) in SAP HANA
2.0 SPS 04. We recommend that you use NSE for your data tiering requirements.
SAP Note 2636634
3.3.3SAP HANA Deployment Infrastructure Administration
(New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HDI supports the development and deployment of applications to the SAP HANA extended application
services (XS) advanced model platform. This section contains details of changes and additions to the following
tools and features provided to help with the administration of HDI:
Tip
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
_SYS_DI Views (New and Changed)
The following updates apply to _SYS_DI views in the SAP HDI API for HDI container administration and
management:
M_ALL_CONTAINER_CONFIGURATIONS (new)
M_ALL_GROUP_CONFIGURATIONS (new)
For more details about individual views, see _SYS_DI Monitoring Views.
HDI Administration Parameters (New and Changed)
The following updates apply to the SAP HDI administration parameters:
HDI parameters:
try_fast_table_migration (new)
This new parameter is intended for use by HDI developers and allows them to specify whether the HDI
table build plug-in (hdbtable) should try a fast migration a database table using ALTER statements
22
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
(rather than the default data copy), which are generated by an automatic comparison of source
and target. For more details, see also SAP HANA Deployment Infrastructure Development (New and
Changed) in the Development section.
HDI conguration parameters:
enable_cross_container_access (new)
Species whether to enable or disable access in terms of DML privileges between containers in the
same container group. (default = false)
For more details about the individual parameters, see Congure SAP HDI Parameters.
HDI Plug-ins (New and Changed)
The following updates apply to the HDI build plug-in types (New and changed):
Scheduler Job (new)
SAP HDI now provides a build plug-in that transforms a design-time scheduler-job resource
(.hdbschedulerjob) into a scheduler job on a database table.
Table-data Properties (changed)
SAP HDI now provides support for SCHEMA_NAME when specifying column mappings in table-data property
denitions (.properties).
Tables (changed)
The new HDI parameter try_fast_table_migration enables the SAP HDI plug-in hdbtable to provide
support for fast migrations, which compare source and target tables and automatically generate the ALTER
statements required to transform the existing table to the new table denition.
Migration Tables (changed)
HDI now provides support for the UPDATE statement with migration tables (.hdbmigrationtable).
For more details about the individual plug-ins, see SAP HDI Artifact Types and Build Plug-ins Reference.
HDI Clients (New and Changed)
The following updates apply to the HDI clients for the Java and JavaScript run-time environments in XS
advanced (Changed):
Tip
The HDI clients listed here are available for download from the language-specic package registry, for
example, NPM (Node.js) or Maven Central (Java). For more details, see the CHANGELOG and README les
included in the corresponding package.
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
For more details about the individual HDI clients, see Standard Node.js Packages for XS Advanced.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 23
HDI Deployment Tools (New and Changed)
The following updates apply to the HDI deployment tools for XS advanced (Changed):
Tip
The HDI tools listed here are available for download from the corresponding package registry, for example,
NPM (Node.js). For more details, see the CHANGELOG and README les included in the corresponding
package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content to
SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
For more details about the individual HDI clients, see Standard Node.js Packages for XS Advanced.
Related Information
The SAP HANA Deployment Infrastructure Reference
3.3.4SAP HANA Smart Data Access (New)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA smart data access.
Virtual Parameterized SQL Views (New)
You can now use the CREATE VIRTUAL TABLE statement to create virtual parameterized SQL views that point
to remote parameterized SQL views in a remote SAP HANA on-premise system or SAP HANA Cloud, SAP
HANA database. The remote source must be based on the hanaodbc adapter. A virtual parameterized SQL
view lets you pass parameters to the corresponding remote parameterized SQL view to retrieve data from the
remote database.
Virtualizing Parameterized SQL Views
24
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
3.3.5SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA backup and recovery.
Backup Retention
It is now possible to ag complete data backups to be retained. If backups are agged as retained, they cannot
be deleted by the BACKUP CATALOG DELETE command or by the scheduled housekeeping tasks.
BACKUP DATA Statement (Backup and Recovery)
BACKUP CATALOG DELETE Statement (Backup and Recovery)
BACKUP CATALOG RETAINED Statement (Backup and Recovery)
hdbbackupcheck
The hdbbackupcheck tool now supports encrypted backups.
Check Individual Backups Inside an SAP HANA Installation (hdbbackupdiag, hdbbackupcheck)
3.3.6SAP HANA Native Storage Extension (New and
Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Native Storage Extension
(NSE).
Monitoring (New and Changed)
The new parameter unload_threshold species the percentage of the buer cache's maximum size to
which it should be reduced automatically when buer capacity is not fully used.
Adjusting the Buer Cache Size
It is now possible to monitor and determine disk I/O reads over time for individual HANA database actions,
like queries and DDL.
M_SQL_PLAN_CACHE System View
M_SQL_PLAN_STATISTICS System View
The monitoring views M_BUFFER_CACHE_STATISTICS and M_BUFFER_CACHE_POOL_STATISTICS now
have the following features:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 25
Two new columns, IO_READ_SIZE and MISS_COUNT, display the disk I/O read size by the cache in
bytes and the cache miss count of the cache group.
HOST_BUFFER_CACHE_STATISTICS and HOST_BUFFER_CACHE_POOL_STATISTICS now provide
past statistics of M_BUFFER_CACHE_STATISTICS and M_BUFFER_CACHE_POOL_STATISTICS.
M_BUFFER_CACHE_STATISTICS System View
M_BUFFER_CACHE_POOL_STATISTICS System View
HOST_BUFFER_CACHE_STATISTICS
HOST_BUFFER_CACHE_POOL_STATISTICS
NSE Advisor (New and Changed)
The new system view M_CS_NSE_ADVISOR_DETAILS provides details on all objects included in the
workload evaluated by the NSE advisor.
M_CS_NSE_ADVISOR_DETAILS System View
Filter rules now allow wildcard entries to simplify usage.
NSE Advisor Filter Rules
3.4 Development
SAP Web IDE for SAP HANA (New and Changed) [page 26]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Deployment Infrastructure Development (New and Changed) [page 27]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
Text Search (New and Changed) [page 28]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for text search.
3.4.1SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
What's New in SAP Web IDE for SAP HANA
26
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
3.4.2SAP HANA Deployment Infrastructure Development
(New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HDI supports the development and deployment of applications to the SAP HANA extended application
services (XS) advanced model platform. This section contains details of changes and additions to the following
tools and features provided to help with the administration of HDI:
HDI Plug-ins (New and Changed)
The following updates apply to the HDI build plug-in types (New and changed):
Tables (changed)
The new HDI parameter try_fast_table_migration enables the HDI table build plug-in (hdbtable) to
migrate a database table using ALTER statements (rather than the default data copy), which are generated
by an automatic comparison of source and target.
Scheduler Job (new)
HDI now provides a build plug-in that transforms a design-time scheduler-job resource
(.hdbschedulerjob) into a scheduler job on a database table.
Table-data Properties (changed)
HDI now provides support for SCHEMA_NAME when specifying column mappings in table-data property
denitions (.properties).
Migration Tables (changed)
HDI now provides support for the UPDATE statement with migration tables (.hdbmigrationtable).
For more details about the individual plug-ins, see SAP HDI Artifact Types and Build Plug-ins Reference
HDI Clients (New and Changed)
The following updates apply to the HDI clients for the Java and JavaScript run-time environments in XS
advanced (Changed):
Tip
The HDI clients listed here are available for download from the language-specic package registry, for
example, NPM (Node.js) or Maven Central (Java). For more details, see the CHANGELOG and README les
included in the corresponding package.
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
For more details about the individual HDI clients, see Standard Node.js Packages for XS Advanced
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 27
HDI Deployment Tools (New and Changed)
The following updates apply to the HDI deployment tools for XS advanced (Changed):
Tip
The HDI tools listed here are available for download from the corresponding package registry, for example,
NPM (Node.js). For more details, see the CHANGELOG and README les included in the corresponding
package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content to
SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
For more details about the individual HDI clients, see Standard Node.js Packages for XS Advanced
3.4.3Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for text search.
Fuzzy Search (New and Changed)
The fuzzy search modes identifier and alphanum_identifier now support improved search results.
For example:
Hits at the beginning of a value are returned with the hightest score
Identier search nds values if the terms matches are in the middle of the value. These results are
returned with a lower score
Identiers
You can now create a fulltext index on the specied table column using the SQL statement CREATE FUZZY
SEARCH INDEX.
CREATE FUZZY SEARCH INDEX Statement (Data Denition)
The search modes 'string' and 'text' can be used with CONTAINS().
Available Fuzzy Search Options
Built-In Procedure sys.esh_search() (New and Changed)
AUTH: operator can now hide complete rows and some column of a search view.
Access Control
28
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
3.5 Reference
SAP HANA SQL Reference Guide (New and Changed) [page 29]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the SAP HANA SQL and
System Views Reference
SAP HANA Spatial (New and Changed) [page 33]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Spatial.
SAP HANA Client Interfaces (New and Changed) [page 35]
The documentation on SAP HANA Client Interfaces has moved to another page.
SAP HANA Predictive Analysis Library (New and Changed) [page 35]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA SQLScript Reference (New) [page 43]
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA SQLScript
Reference.
3.5.1SAP HANA SQL Reference Guide (New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the SAP HANA SQL and System
Views Reference
SQL Statements (New and Changed)
ALTER SYSTEM {ADD | ALTER
| REMOVE} STATEMENT HINT
Statement (Changed)
You can now specify a procedure/function denition for the target query.
When specied, the given hint is implicitly applied. ALTER SYSTEM {ADD |
ALTER | REMOVE} STATEMENT HINT Statement (System Management)
ALTER SYSTEM ALTER
AUDIT LOG (System
Management) (New)
The audit log table is now congured to use SAP HANA Native Storage
Extensions (NSE) by default. You can also choose to load it completely into
memory as before. ALTER SYSTEM ALTER AUDIT LOG (System Management)
The <load_unit> value has been extended to include COLUMN. ALTER
SYSTEM ALTER AUDIT LOG (System Management)
ALTER SYSTEM {START
| STOP | SAVE | CLEAR}
KERNEL PROFILER
Statement (Changed)
Starting and stopping the kernel proler now supports a rolling strategy. ALTER
SYSTEM {START | STOP | SAVE | CLEAR} KERNEL PROFILER Statement (System
Management)
ALTER SYSTEM RELOAD
FILE PSE Statement
(New)
This SQL statement enforces changes to PSE stores without requiring a database
restart . ALTER SYSTEM RELOAD FILE PSE Statement (System Management)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 29
BACKUP Statements
(Changed)
It is now possible to ag complete data backups to be retained. If backups are
agged as retained, they cannot be deleted by the BACKUP CATALOG DELETE
command or by the scheduled housekeeping tasks.
BACKUP DATA Statement (Backup and Recovery), BACKUP CATALOG DELETE
Statement (Backup and Recovery), BACKUP CATALOG RETAINED Statement
(Backup and Recovery)
CREATE/ALTER JWT
and CREATE/ALTER
SAML PROVIDER
Statements (Changed)
Automatic user creation is now supported for SAML and JWT with LDAP
authorization. The JWT and SAML system views have been update to
reect this information. CREATE JWT PROVIDER Statement (Access Control),
ALTER JWT PROVIDER Statement (Access Control), CREATE SAML PROVIDER
Statement (Access Control), ALTER SAML PROVIDER Statement (Access Control),
JWT_PROVIDERS System View, SAML_PROVIDERS System View
CREATE/ALTER
WORKLOAD MAPPINGS
Statement (Changed)
You can now include APPLICATION SOURCE as a key value when creating and
altering workload mappings. The WORKLOAD_MAPPINGS System View has also
been extended to display this value. CREATE WORKLOAD MAPPING Statement
(Workload Management), ALTER WORKLOAD MAPPING Statement (Workload
Management)
CREATE AUDIT POLICY
Statement (Changed)
Audit policies now supports the specication of usergroups in addition to
users for explicit inclusion or exclusion in the logging of audit events. The
AUDIT_POLICIES System View has been modied to reect this changed.
You can now specify schema names for some DDL based audit actions. The
Audit Actions system view has been extended to include this information. ,
The audit actions IMPORT, IMPORT SCAN, and EXPORT statements can now
be tracked by the audit policy.
CREATE AUDIT POLICY Statement (Access Control), AUDIT_POLICIES System
View, AUDIT_ACTIONS System View
CREATE CERTIFICATE
Statement (Changed)
Duplicate certicates are supported as long as a certicate name is specied and
unique. CREATE CERTIFICATE Statement (System Management)
CREATE FUZZY
SEARCH INDEX
Statement (New)
This new statement is an alternative to using the CREATE FULLTEXT INDEX
Statement to create a fulltext index on a specied table column.CREATE FUZZY
SEARCH INDEX Statement (Data Denition)
CREATE WORKLOAD
CLASS Statement
(Changed)
Some limitations to support thread limits on hierarchical workload class have been
removed. CREATE WORKLOAD CLASS Statement (Workload Management)
GRANT Statement
(Changed)
The PARTITION ADMIN system privilege has been introduced to allow the
execution of non-destructive partitioning clauses in the ALTER TABLE Statement.
GRANT Statement (Access Control), Non-heterogeneous Alter Partition Clauses,
Heterogeneous Alter Partition Clauses.
Heterogeneous Create/
Alter Partition Clauses
(Changed)
Table partitions now support dynamic aging. Heterogeneous Create Partition
Clauses, Heterogeneous Alter Partition Clauses
30 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
SELECT Statement
(Changed)
The SELECT statement now supports the parameters WAIT, NOWAIT, and
IGNORE LOCKED in the FOR SHARE LOCK clause.
A new clause, <collation_clause> supports collation at the statement.
SELECT Statement (Data Manipulation)
SQL Functions (New and Changed)
ADD_WORKDAYS and
WORKDAYS_BETWEEN Function
(Changed)
These functions now support the Factory And Holiday Calendar.
The parameters <table_name_suffix> and <client> have been
added to these functions.
ADD_WORKDAYS Function (Datetime), WORKDAYS_BETWEEN
Function (Datetime)
SCORE Function (Miscellaneous)
(Changed
The SCORE function has been extended to supported new clauses.
SCORE Function (Fulltext)
GROUP_SCORE Function
(Miscellaneous) (New)
This new function returns the relevance of grouped records found.
GROUP_SCORE Function (Miscellaneous)
FIRST_VALUE Function
(Aggregate) (Changed)
This function now returns spatial data types (ST_Geometry, ST_Point)
when it is executed with spatial types as input parameter. FIRST_VALUE
Function (Aggregate)
LAST_VALUE Function
(Aggregate) (Changed)
This function now returns spatial data types (ST_Geometry, ST_Point)
when it is executed with spatial types as input parameter. LAST_VALUE
Function (Aggregate)
NTH_VALUE Function
(Aggregate) (Changed)
This function now returns spatial data types (ST_Geometry, ST_Point)
when it is executed with spatial types as input parameter. NTH_VALUE
Function (Aggregate)
System Views (New and Changed)
AUDIT ACTIONS System View (Changed) The system view now includes information on whether the
specied audit action can be specied for a specic schema.
AUDIT_ACTIONS System View
M_CACHE and M_CACHE_ENTRIES System
Views (Changed)
These system views now include information on the time of
the last access of the cache instance. M_CACHES System
View, M_CACHE_ENTRIES System View
M_CS_LOB_SPACE_RECLAIM_DETAILS
System View (New)
This view provides detailed statistics per
LOB owner for LOB garbage collection runs.
M_CS_LOB_SPACE_RECLAIM_DETAILS System View,
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 31
M_CS_TABLE_LOCKS and
M_CS_TABLE_HANDLES System Views (New)
Two public monitoring views are now available to provide
information about locked tables and threads waiting to
lock tables, from the perspective of the Column Store lock
manager (IndexMgr). M_CS_TABLE_HANDLES System View,
M_CS_TABLE_LOCKS System View
M_DATA_VOLUME_RECLAIM_STATISTICS
System View (New)
A new view has been introduced to display
reclamation statistics on a data volume.
M_DATA_VOLUME_RECLAIM_STATISTICS System View
M_FUZZY_SEARCH_INDEXES
This statement now supports MIME TYPE and
TOKEN SEPARATORS options for text mode searches.
M_FUZZY_SEARCH_INDEXES System View
M_PREPARED_STATEMENTS and
M_ACTIVE_STATEMENTS System Views
(Changed)
The M_PREPARED_STATEMENTS and
M_ACTIVE_STATEMENTS views have been enhanced to
support thread limits. M_PREPARED_STATEMENTS System
View, M_ACTIVE_STATEMENTS System View
M_REMOTE_STATEMENTS and
M_REMOTE_CONNECTIONS System Views
(Changed)
The REMOTE_DURATION column has been added to this
view. M_REMOTE_STATEMENTS System View
M_TABLE_PARTITIONS System View
(Changed)
The column PERSISTENT_MEMORY_SIZE_IN_TOTAL has
been added to the view to display persistent memory
consumption (in bytes) for every column store table.
M_TABLE_PARTITIONS System View
M_SQL_PLAN_CACHE System Views
(Changed)
A new value has been added to the COMPILATION_OPTIONS
column of this view to return a STATEMENT HINT ON INNER
STATEMENT option when the SQLScript compiler applies
a statement hint to one of the inner statements of this
SQLScript plan. M_SQL_PLAN_CACHE System View
STATEMENT_HINTS System Views (Changed)
Three new columns have been added to this view
to provide additional information on statement hints.
STATEMENT_HINTS System View
TABLE_PARTITIONS System View (Changed) The DYNAMIC_RANGE_INTERVAL column has been added to
the view to provide information on the interval and type of
dynamically created partitions. TABLE_PARTITIONS System
View
WORKLOAD MAPPINGS System View
(Changed)
The IS_VALID column has been added to this view to
indicate whether the workload mapping is valid or not.
The columns APPLICATION_SOURCE and
APPLICATION_SOURCE_WILDCARD have been added to
the view.
WORKLOAD_MAPPINGS System View
32 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
3.5.2SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA Spatial.
ST_MakeValid Method (New)
Makes a given geometry valid.
ST_MakeValid Method
ST_FrechetDistance Method (New)
Computes the discrete Fréchet distance between two linestrings.
ST_FrechetDistance Method
ST_AsGeoJSON Method (Multi-Column) (New)
Returns a string representing a set of rows in the GeoJSON format.
ST_AsGeoJSON Method (Multi-Column)
ST_Point Contructors (New)
The ST_POINT constructors support X, Y, Z coordinates and a measure value as DOUBLE parameters. For the
SRID an INTEGER parameter is supported.
ST_Point(DOUBLE, DOUBLE[, INTEGER]) Constructor
ST_PointZ(DOUBLE, DOUBLE, DOUBLE[, INTEGER]) Constructor
ST_PointM(DOUBLE, DOUBLE, DOUBLE[, INTEGER]) Constructor
ST_PointZM(DOUBLE, DOUBLE, DOUBLE, DOUBLE[, INTEGER]) Constructor
ST_Reverse Method (New)
Returns the geometry with the direction of all curves reversed.
ST_Reverse Method
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 33
Grid Generator Functions (New)
Grid generators create tables with geometries. The created geometries cover given geometries:
ST_HexagonGrid generates a grid consisting of hexagon cells.
ST_HexagonGridBoundingBox generates a grid consisting of hexagon cells, aligned with the geometry
bounding box.
ST_HexagonGrid Function
ST_HexagonGridBoundingBox Function
ST_AsMVT Method (New)
ST_AsMVT returns a binary representation of a set of rows in the Mapbox Vector Tile format.
ST_AsMVT Method
ST_AsMVTGeom Method (New)
ST_AsMVTGeom constructs a geometry transformed into the coordinate system of a Mapbox Vector Tile.
ST_AsMVTGeom Method
ST_MakeLineAggr Method (New)
Creates a line string from multiple points.
ST_MakeLineAggr Method
Changed Behavior of Aggregate Functions FIRST_VALUE, LAST_VALUE, and
NTH_VALUE - Changed (Incompatible)
Starting with SAP HANA Platform 2.0 SPS 07 Revision 071, the functions FIRST_VALUE, LAST_VALUE, and
NTH_VALUE return spatial types (ST_GEOMETRY, ST_POINT) when they are executed with spatial types
(ST_GEOMETRY, ST_POINT) as input parameters.
Until SAP HANA Platform 2.0 SPS 07 Revision 070, the functions FIRST_VALUE, LAST_VALUE, and
NTH_VALUE returned data type NVARCHAR when they were executed with spatial types (ST_GEOMETRY,
ST_POINT) as input parameters.
To keep the former behavior, use the CAST function (for example CAST(SHAPE AS NVARCHAR)).
See
34
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
FIRST_VALUE Function (Aggregate)
LAST_VALUE Function (Aggregate)
NTH_VALUE Function (Aggregate)
SAP Note 3330849 - Changed Behavior of Aggregate Functions FIRST_VALUE, LAST_VALUE, and
NTH_VALUE
3.5.3SAP HANA Client Interfaces (New and Changed)
The documentation on SAP HANA Client Interfaces has moved to another page.
To see what's new and changed, see What's New in the SAP HANA Client.
3.5.4SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for the Predictive Analysis Library (PAL).
SAP HANA Platform 2.0 SPS 07 introduces the following new functions.
AutoML and Pipeline Framework (New)
The AutoML feature exposes new pipeline functions for composing a sequence of multiple PAL function
calls and then building the best pipeline models automatically. It covers automation of data preprocessing,
model-tting, model-comparison, and model-optimization in the pipeline.
The following scenarios are supported:
classication
regression
time series forecasting
You can use a default or a customized conguration to run the AutoML functions. Specic functions
are provided that allow you to view and change the conguration. The following is the list of preshipped
conguration types:
Default conguration - A full coverage of all supported operators;
Lightweight conguration - A conguration that only contains operators of PAL algorithms that are fast
and more lightweight with respect to resource consumption.
List of AutoML and pipeline functions:
PAL_AUTOML_FIT
PAL_PIPELINE_FIT
PAL_AUTOML_CONFIG
PAL_PIPELINE_PREDICT
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 35
PAL_PIPELINE_EXECUTE
You can use the pipeline interface PAL_PIPELINE_EXECUTE to customize the output table columns.
AutoML explanation
AutoML supports explanation on the generated pipeline of classication and regression scenarios. It uses
Kernel SHAP explainer to explain the predicted value of each record by computing the contribution of each
feature to the prediction.
AutoML polynomial feature generation
AutoML can generate polynomial and interaction features in classication and regression scenarios.
The new PolynomialFeatures operator can automatically generate a new feature table consisting of all
polynomial combinations of features with a degree between MIN_DEGREE and MAX_DEGREE. Additional
inputs are required such as MIN_DEGREE, MAX_DEGREE, INTERACTION_ONLY and INCLUDE_BIAS.
Considering the potential performance impact, the PolynomialFeatures operator is not included in the
lightweight conguration.
AutoML
Successive Halving Based Parameter Search (New)
Successive halving and hyperband are new fast parameter search mechanisms introduced in the cross
validation and parameter search feature.
It is enabled for the following algorithms:
Hybrid Gradient Boosting Tree
K-Nearest neighbor
Support Vector Machine
Multiple Linear Regression
Multi-class logistic Regression
Naive Bayes
Logistic Regression (with Elastic Net Regularization)
Multilayer Perception
Alternating Least Squares
Factorized Polynomial Regression Models
The following new options are added for the parameter RESAMPLING_METHOD:
cv_sha
cv_hyperband
stratied_cv_sha
stratied_cv_hyperband
bootstrap_sha
bootstrap_hyperband
stratied_bootstrap_sha
stratied_bootstrap_hyperband
Model Evaluation and Parameter Selection
36
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Enhancement to the Unied Classication Interface (New and Changed)
AFL state is now supported with the following functions:
Create model state
Predict with state
Delete model state
Added the following missing value handling types to Unied Classication for both pivoted and unpivoted
functions.
MODE: Fills all missing values by the mode of the column, that is, the value that appears most often in
the column. This type only suits columns with categorical variables.
MEAN: Fills all missing values by the mean of the column, that is, the average of all nonmissing values
in the column. This type only suits columns with numerical variables.
MEDIAN: Fills all missing values by the median of the column, that is, the value that separates the
higher half of the nonmissing values from the lower half. If there is an even number of observations,
then the median is given by the mean of the two middle values. This type only suits columns with
numerical variables.
ALS: Fills each missing value by the value imputed by a matrix completion model trained using the
alternating least squares method. This type only suits columns with numerical variables.
SPECIFIED_CATEGORICAL_VALUE: Fills all missing values by a specied categorical value. This type
only suits columns with categorical variables.
SPECIFIED_NUMERICAL_VALUE: Fills all missing values by a specied numerical value. This type only
suits columns with numerical variables.
DELETE: Deletes all rows with missing values. The entire row in a table is deleted.
NONE: Does nothing. Leaves the column untouched.
Added new massive training, predict, and scoring functions to both pivoted and unpivoted functions.
New parameter NTILES is added to the AUC method, which is also available in the Unied Clustering
method. It controls the number of output points to accelerate the performance.
Unied Classication with Pivoted Input Data
Unied Classication
Enhancement to the Unied Regression Interface (New and Changed)
AFL state is now supported with the following functions:
_SYS_AFL.PAL_CREATE_MODEL_STATE
Predict with state
_SYS_AFL.PAL_DELETE_MODEL_STATE
State Enabled Real-Time Scoring Functions
Added the following missing values handling types to Unied Regression for both pivoted and unpivoted
functions:
MODE: Fills all missing values by the mode of the column, that is, the value that appears most often in
the column. This type only suits columns with categorical variables.
MEAN: Fills all missing values by the mean of the column, that is, the average of all nonmissing values
in the column. This type only suits columns with numerical variables.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 37
MEDIAN: Fills all missing values by the median of the column, that is, the value that separates the
higher half of the nonmissing values from the lower half. If there is an even number of observations,
then the median is given by the mean of the two middle values. This type only suits columns with
numerical variables.
ALS: Fills each missing value by the value imputed by a matrix completion model trained using the
alternating least squares method. This type only suits columns with numerical variables.
SPECIFIED_CATEGORICAL_VALUE: Fills all missing values by a specied categorical value. This type
only suits columns with categorical variables.
SPECIFIED_NUMERICAL_VALUE: Fills all missing values by a specied numerical value. This type only
suits columns with numerical variables.
DELETE: Deletes all rows with missing values. The entire row in a table is deleted.
NONE: Does nothing. Leaves the column untouched.
Added new massive training, predict, and scoring functions to both pivoted and unpivoted functions.
Prediction intervals and condence intervals are now supported for the following algorithms in Unied
Regression:
Multiple Linear Regression
Random Decision Trees Regression
Generalized Linear Models
Unied Regression with Pivoted Input Data
Unied Regression
Enhancements to the Unied Clustering Interface (Changed)
Added a massive execution interface for unied clustering method.
Precalculated or precomputed distances matrix input is supported for the following algorithms:
K-Medoid
Agglomerate Hierarchical Clustering
Spectral Cluster
Parameter Changes (Changed)
Hybrid Gradient Boosting Tree:
Changed the default value of SPLIT_METHOD to histogram and FEATURE_GROUPING to 1.
Added a new parameter FG_MIN_ZERO_RATE with a default value of 0.5 as the benchmark to identify
whether or not a feature is a sparse feature.
Random Decision Tree: Changed the default value of MODEL_FORMAT to 1 (JSON) for better performance.
Unied Classication: Changed the default value of:
JSON_EXPORT to 1 for Multi-Class Logistic Regression
model_format to 1 for RDT
K-Means and Accelerated K-Means: Changed the default value of USE_FAST_LIBRARY to 1.
38
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Unied Regression: Changed the default value of JSON_EXPORT to 1.
Changed the default value of THREAD_RATIO to 1 for the following methods to allow parallelization with all
the threads for better performance:
Multiple Linear Regression
Bi-Variate Geometric Regression
Exponential Regression
Polynomial Regression
Online Linear Regression
Logistic Regression (with Elastic Net Regularization)
Multi-Class Logistic Regression
Online Multi-Class Logistic Regression
Categorical Principal Component Analysis
Variance Test
ABC Analysis
Changed the default value of THREAD_RATIO to -1 for the following methods to unify the behaviors and
allow parallelization with all the threads for better performance:
Unied Classication
Unied Regression
Unied Exponential Smoothing
New Algorithms Added to PAL Library (New)
Long-Term Series Forecasting Method (New)
This new neural-network based function is designed to solve a critical business application that predicts
the values in the long future.
Long-Term Series Forecasting
Isolation Forest (New)
Isolation Forest is a new function that can generate the anomaly score of each sample from the given
dataset.
This algorithm takes advantage of two quantitative properties of anomalies:
They are the minority consisting of few instances;
They have attribute-values that are dierent from those of normal instances.
Taken altogether, anomalies are few and dierent, which make them more susceptible to a mechanism
called isolation.
Isolation Forest
TSB Method (New)
The Croston TSB method (for Teunter, Syntetos, and Babai) is a forecast strategy for products with
intermittent demand. It is a modication of the Croston's method. It replaces the demand interval in the
Croston's method by the demand probability, which is updated every period. Compared to the Croston's
method, the forecast of the TSB method is not biased and its probability forecast can be used to estimate
the risk of obsolescence.
Croston TSB Method
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 39
ROCKET Transform for Time Series Classication
ROCKET is an exceptionally ecient algorithm for time series classication. Unlike other proposed time
series classication algorithms, which attain excellent accuracy, ROCKET maintains its performance with
a fraction of the computational expense by transforming input time series using random convolutional
kernels. Therefore, only a simple classier is enough to train the transformed features and render the
state-of-the-art accuracy.
Supported functions:
PAL_ROCKET_TRANSFORM
PAL_ROCKET_TRAIN
PAL_ROCKET_PREDICT
PAL_ROCKET_FIT
ROCKET
Stationary Test (New)
This function is used to identify whether a time series is stationary by two optional statistical tests:
Kwiatkowski-Phillips-Schmidt-Shin (KPSS) test and Augmented Dickey Fuller (ADF) test. Other than the
common level-stationarity, this function can also detect the trend-stationarity that denotes whether the
time series uctuates around a deterministic trend.
Stationarity Test
Time Series Missing Value Handling (New)
The function is used to replace the missing values from a given multi-dimentional time series. It provides
multiple imputation options:
0: NONE
1: MODE_ALLZERO
2: MODE_MEAN
3: MODE_MEDIAN
4: MODE_SMA
5: MODE_LMA
6: MODE_EMA
7: MODE_LINTERP
8: MODE_SINTERP
9: MODE_SEADEC
10: MODE_LOCF
11: MODE_NOCB
Outlier Detection for Time Series (New)
This function is used to detect the point outliers from the given timeseries.
Outlier Detection
Kolmogorov-Smirnov Test (New)
This function performs one-sample or two-sample Kolmogorov-Smirnov test for goodness of t.
Kolmogorov-Smirnov Test
Periodogram Function (New)
This function performs power spectral density estimation of the input signal using a periodogram.
Periodogram
Online BCPD (New)
40
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Online BCPD is a new, simple, and eective online algorithm for changing point detection in a time series
data.
Online Bayesian Change Point Detection
Power Transform (New)
Power Transform is a preprocessing method to transform data by stabilizing variance, reducing skewness
and approximating to Gaussian distribution.
Power Transform
Online Linear Regression (Stateless) (New)
Online linear regression is an online version of the linear regression and is used when the training data are
obtained multiple rounds.
Online Linear Regression (Stateless)
TF-IDF Calculation (New)
Computes the term frequency and inverses document frequency by document.
TF-IDF Calculation
Enhancements to Existing Algorithms in PAL Library of SPS 07
Enhancements to Hybrid Gradient Boosting Trees (Changed)
HGBT supports the multiple objective function set by the new parameter OBJ_FUNC with the following
values:
0: Squared error (regression)
1: Squared log error (regression)
2: Pseudo Huber error (regression)
3: Gamma (regression)
4 :Tweedie (regression)
5: Logistic (binary classication)
6: Hinge (binary classication)
7: Softmax (multiple classication)
A new parameter TWEEDIE_POWER is added to cooperate with one of the new object functions. Two extra
parameters REPLACE_MISSING and DEFAULT_MISSING_DIRECTION are added, indicating whether to
replace a missing value in the training data set by some rules and which child node the missing value
should follow by default.
The new early stop mechanism is added to HGBT, which allows you to stop training before the model gets
too complicated and to avoid possible overtting.
Hybrid Gradient Boosting Tree
Enhancements to Discrete Wavelet Transform (Changed)
Discrete Wavelet transform added soft thresholding and hard thresholding of wavelet coecients by
the following new parameters:
THRESHOLD_METHOD
THRESHOLD
LEVEL_THRESHOLDS
Discrete Wavelet transform added wavelet-based data compression capability by the following new
parameter.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 41
COMPRESSION
Discrete Wavelet transform added data reconstruction capability.
Discrete Wavelet Transform
Enhancements to Discrete Wavelet Packet Transform (Changed)
Discrete Wavelet transform and Discrete Wavelet packet transform added soft thresholding and hard
thresholding of wavelet coecients by the following new added parameters:
THRESHOLD_METHOD
THRESHOLD
Discrete Wavelet transform added wavelet-based data compression capability by the following new
parameter.
COMPRESSION
Discrete Wavelet packet transform added data reconstruction capability.
Discrete Wavelet Packet Transform
Enhancements to White Noise Test (Changed)
White Noise Test now allows you to set the degrees of freedom consumed by the data with the new
parameter MODEL_DF.
White Noise Test
Enhancements to GARCH (Changed)
Added three new variations of the GARCH model to the function with the new parameter MODEL_TYPE.
New GARCH variations are as follows:
IGARCH
TGARCH
EGARCH
GARCH
Support of Accelerated LMS Calculation in Regression (Changed)
A new least mean square accelerated algorithm is now supported by the following parameters:
PRECOMPUTE_LMS_SKETCH: Turned on by default for LMS sketch algorithm.
STABLE_SKETCH_ALG: Uses numerical stable or not.
SPARSE_SKETCH_ALG: Uses LMS spare function or not.
Multiple Linear Regression
Support of JSON Model in Multi-Class Logistic Regression and Multiple Linear Regression (Changed)
New parameter JSON_EXPORT is added to Multi-Class Logistic Regression and Multiple Linear Regression
functions to support output JSON model from training.
Multi-Class Logistic Regression
Multiple Linear Regression
Enhancements to Correlation Function: Calculate Bartlett Formula (Changed)
New function _SYS_AFL.PAL_CORRELATION_FUNCTION_WITH_CONFIDENCE is added which extends the
output of auto-correlation by adding the condence bound for auto-correlation function (ACF) and partial
auto-correlation function (PACF). Particularly, the condence bound of ACF can be generated by the
Bartlett's formula.
Correlation Function
Enhancement to Forecast Accuracy Measure (Changed)
Stock-keeping-oriented Prediction Error Costs (SPEC) is added into the Forecast Accuracy Measure, which
is mainly for the sporadic intermittent use cases.
42
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
Forecast Accuracy Measures
New Massive Execution Functions Added for ARIMA, AUTOARIMA, and Additive Model Time Series
Analysis (Changed)
New functions PAL_MASSIVE_ARIMA and PAL_MASSIVE_ARIMA_FORECAST are added to process
multiple time series in a single call.
New function PAL_MASSIVE_AUTOARIMA is added to process multiple time series in a single call.
New functions PAL_MASSIVE_ADDITIVE_MODEL_ANALYSIS and
PAL_MASSIVE_ADDITIVE_MODEL_PREDICT are added to process multiple time series in a single call.
ARIMA
Auto ARIMA
Additive Model Time Series Analysis
3.5.5SAP HANA SQLScript Reference (New)
SAP HANA Platform 2.0 SPS 07 introduces new and changed features for SAP HANA SQLScript Reference.
Cascading Hints in the CALL Statement (New)
The CALL statement now supports the cascading of hints into internal SQL statements after optimization.
When there are nested CALL statements, CASCADE hints are propagated into the nested procedures.
CALL
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 07 Features
PUBLIC 43
4 SAP HANA Platform 2.0 SPS 06 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 06.
4.1 Installation and Update
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for installation and update.
SAP HANA Server Installation and Update (New and Changed) [page 44]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the installation and update of
SAP HANA.
4.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the installation and update of SAP
HANA.
Python (Changed)
When installing or updating an SAP HANA system, Python 3 is installed by default.
Caution
Before updating your SAP HANA installation, make sure that all custom and third-party Python scripts
required by your system conguration (e.g. storage managers, cluster managers) are compatible with the
new Python version.
Transport Layer Security (Changed)
In new SAP HANA installations, the minimum transport layer security (TLS) version is 1.2. During an update,
existing settings are not changed.
SAP HANA Database Security (New and Changed) [page 45]
44
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
List Detected Components (New)
The action print_detected_components can be used to display a list of all components detected in the
component locations --component_dirs, --component_root, and --component_medium.
Statement Memory Limit (New)
When applying system size-dependent parameters during installation or update, the statement memory
limit is automatically calculated based on the system's properties and applied. The parameter
statement_memory_limit = -1 can be found in the le global.ini in the [memorymanager] section.
apply_system_size_dependent_parameters
LSS Support for Dynamic Tiering Hosts (New)
Dynamic Tiering hosts can be added to a system with Local Secure Store (LSS) installed.
4.2 Security
SAP HANA Platform 2.0 SPS 06 introduces new and changed security-related features for the SAP HANA
database.
SAP HANA Database Security (New and Changed) [page 45]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for security.
4.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for security.
User Management (Changed)
User groups can now be congured so that all users in the group can (or cannot) connect to SAP HANA.
This may be useful, for example to stop users temporarily from connecting during updates or troubleshooting
activities.
User Groups
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 45
Authentication (New and Changed)
SAP HANA now supports the authentication of users accessing the SAP HANA database from JDBC/
ODBC client applications by X.509 client certicates issued by a trusted identity provider.
X.509 Certicate-Based User Authentication
The following enhancements are available for authentication using JSON Web Token (JWT):
SAP HANA can now use public keys without a surrounding certicate to verify JSON Web Tokens
(JWT) during the user authentication process.
Public keys can be imported into the SAP HANA database using the new CREATE PUBLIC KEY
statement and then added to the certicate collection(s) used to validate incoming JWTs. The header
part of the JWT includes the "kid" (key ID) claim that indicates which public key should be used to
validate the signature of the token.
SAP HANA can now evaluate any number of optional claims in the payload part of JSON Web Tokens
(JWT). Typical examples of optional claims include the "origin" and "aud" claims. For access from SAP
HANA applications, it is also possible to dene a proprietary claim to set the XS_APPLICATIONUSER
session variable during logon.
JWT identity providers in SAP HANA have been extended to support the conguration of additional
claims and ensure the successful mapping of tokens to identity providers.
Single Sign-On Using JSON Web Tokens
CREATE PUBLIC KEY Statement (System Management)
Masking (Changed)
You can now optionally specify a mask mode when dening data masking in a table or view.
In addition to the current behavior (mask mode DEFAULT), the mask mode SESSION USER has been
introduced. Mask mode SESSION USER means that the session user is always subject to the authorization
check. As a result, no matter where masking is applied in an object hierarchy, it is the user who is logged in to
the database who must have the UNMASKED privilege on the relevant object to see unmasked data.
Masking Denition
Authorization in Masked Tables and Views
Communication Security (New and Changed)
A dedicated public key infrastructure (PKI) for external communication (client PKI) is now created and
enabled automatically during system installation. This allows you to use TLS/SSL-secured connections to
SAP HANA immediately after installation without any manual conguration.
TLS/SSL Conguration on the SAP HANA Server
The SAP HANA trust store sapsrv.pse is no longer created automatically and available in the $SECUDIR
directory.
46
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
TLS12 is now set as the default minimum TLS/SSL protocol version for new installations of SAP HANA for
secure communication between:
SAP HANA and SAP HANA clients that access the SQL interface of the database
SAP HANA and clients that access SAP HANA via https by means of SAP HANA Extended Application
Services, classic model
SAP HANA and an LDAP directory server
SAP Host Agent and https clients (only if SAP Host Agent is newly installed as part of a new installation
of an SAP HANA system)
Local Secure Store (Changed)
Integration with External KMS
The following changes are available for improved integration of the local secure store (LSS) with an external key
management system (KMS):
Network polling
To verify that the KMS is available and that the key is still active, SAP HANA now polls the network
reachability of the KMS. You can congure the polling interval using the new parameter [cryptography]
key_revocation_check_interval in the nameserver.ini.
Using the LSS with an External Key Management System
Root key backup format
When backing up SAP HANA root encryption keys, you must now back up all keys. This
ensures that a full LSS backup is available in the required single-le format. The SQL statement
BACKUP ENCRYPTION ROOT KEYS has been enhanced and a new SQL extraction function
ENCRYPTION_ROOT_KEYS_EXTRACT_ALL_KEYS_FOR_DATABASE is available for this reason.
Back Up Root Keys
BACKUP ENCRYPTION ROOT KEYS Statement (Backup and Recovery)
ENCRYPTION_ROOT_KEYS_EXTRACT_ALL_KEYS_FOR_DATABASE Function (Security)
Root key recovery with second access key pair
You can now use the RECOVER ENCRYPTION ROOT KEYS statement to recover backed-up root encryption
keys using a second access key pair in an emergency.
Import Backed-Up Root Keys or LSS Backup Before Database Recovery
RECOVER ENCRYPTION ROOT KEYS Statement (Backup and Recovery)
Enhanced system replication setup
If the primary system in a system replication setup is connected to a KMS, it is now only possible
to register secondary systems that use the LSS (and not the SSFS). Updates in the key management
conguration are also replicated to all secondary systems.
General Prerequisites for Conguring SAP HANA System Replication
Enhanced tenant copy and move process
When moving or copying a tenant database using the CREATE DATABASE statement, a key management
conguration ID (other than DEFAULT) must now be provided if the source system uses the LSS with a
KMS. Since only a key administrator (user with ENCRYPTION ROOT KEY ADMIN system privilege) can
obtain the key management conguration ID, this means that the key administrator must permit the
transfer of a key management conguration to the target system. It also allows the key administrator to
add a dedicated conguration for the target system in the source system before the copy or move.
Copying and Moving Tenant Databases
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 47
CREATE DATABASE Statement (Tenant Database Management)
KEY_MANAGEMENT_CONFIGURATIONS System View
LSS Backup
The following changes have been made to how the LSS component backs up its contents:
The content of a tenant's conguration and payload database les (lsscfg.db and lss.db) can now be
backed up to and restored from a single backup le (single-le format). The corresponding lssbackup
utility commands have been changed.
LSS Backup Utility (lssbackup)
If your backup strategy ensures that LSS backups are written every time they are needed, you may now
choose to deactivate automatic backups to avoid consuming storage space unnecessarily.
Automatic Content Backups
It is now possible to congure the location of automatic LSS backups using the new command
setBackupLocation in the lsscfg utility.
LSS Conguration Utility (lsscfg)
4.3 Administration
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for administration.
Documentation Changes
Changes have been made to the organization of the documentation set in the area of database administration
tools. The administration documents are all closely integrated by linking but to avoid duplication, and because
of dierent release schedules, tool-specic content in these general administration guides has now been
removed:
SAP HANA Administration
SAP HANA Security
This tool-related content which may previously have been duplicated for ease of access is now only located in
the appropriate tool-specic guide:
SAP HANA Administration with SAP HANA Cockpit
SAP HANA Administration with SAP HANA Studio (new, was previously integrated in the SAP HANA
Administration guide)
SAP HANA Database Explorer
SAP HANA Cockpit (New and Changed) [page 49]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the SAP HANA cockpit with
SAP HANA cockpit support package (SP) 14.
SAP HANA System Administration (New and Changed) [page 61]
SAP HANA introduces new and changed administration features.
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 65]
48
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HANA Smart Data Access (New and Changed) [page 69]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Database Backup and Recovery (New and Changed) [page 70]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA backup and
recovery.
SAP HANA Native Storage Extension (New and Changed) [page 72]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Native Storage
Extension (NSE).
4.3.1SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the SAP HANA cockpit with SAP
HANA cockpit support package (SP) 14.
SAP HANA Cockpit SP 14 Features [page 49]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 14.
SAP HANA Cockpit SP 13 Features [page 52]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 13.
4.3.1.1 SAP HANA Cockpit SP 14 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 14.
4.3.1.1.1 Administration and Monitoring
SAP HANA cockpit SP 14 introduces new and changed features for administration and monitoring.
Workload Class
Hierarchy (New)
Workload classes can now be organized hierarchically in parent-child relationships.
Children inherit their parent's total statement memory limit.
Hierarchies of Workload Classes
Homepage Enhancements
Removal of Execute
SQL Tile
The Execute SQL tile has been removed, as the same
functionality is provided by the Database Explorer tile.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 49
Database
Management
(Enhancement)
The following enhancements have been made to the Database Management app:
To improve navigation and overall user experience, the Global Allocation Limits button
has been replaced by two buttons: Memory Allocation Limits and CPU Allocation
Limits.
The user experience of editing allocation limits has also been improved by adding
hover text to the edit icon and by improving the editing dialog.
Clicking an entry in the Status column now displays a popover that contains the
database status and, if available, some additional information about the status. You
can navigate from this popover into the Manage Services app. If high alerts are
present for the tenant, and if the alerts app is supported, then you can also navigate
into the alerts app to view the alerts.
Dene Memory Allocation Limits Dene CPU Allocation Limits
Out of Maintenance
Warnings (New)
When your SAP HANA database revision goes out of maintenance, the SAP HANA
cockpit now displays warnings on the Database Overview page and on the Database
Information card.
Updating the SAP HANA System
Conguration
Templates
(Enhancement)
The following enhancements have been made to the Conguration Templates
application:
A new Preview button in the Select Databases window allows you to view the
dierences between your selected database and the current template.
The "Templates applied successfully" message includes links to the changed
databases in the Database Conguration application.
Apply a Conguration Template
HDI Administration
(New)
The HDI Administration tool provides HDI administrators with a graphical user
interface to maintain the SAP HANA Deployment Infrastructure (HDI).
SAP HDI Administration with SAP HANA Cockpit
Capture and
Replay (New and
Enhanced)
The following new features and enhancements have been applied to the Capture and
Replay application:
Transactional consistency is now referred to as transactional order in the context of
transactional replay.
Limitations for workload level comparison have been made more explicit.
For a replay range selection, you are prompted to perform a point in time recovery
(PITR) using the RECOVERY statement provided by the message prompt.
Capturing and Replaying Workloads
Support for
TMPFS
(New)
You can now congure your SAP HANA database to use temporary le storage (TMPFS), also
known as the SAP HANA Fast Restart option, to help speed up SAP HANA restarts. The new
TMPFS Monitor allows you to monitor your tables and columns in TMPFS and edit your TMPFS
conguration. Note that you cannot use both TMPFS and PMEM simultaneously.
View and Congure the TMPFS Monitor
50 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
4.3.1.1.2 User Management and Security Administration
SAP HANA cockpit SP 14 introduces new and changed features for user management and security
administration.
Security and User
Management View
(Changed)
A new card Trust Conguration is now available in the Security and User Management
view of the Database Overview page. This card groups links to apps for managing identity
providers and certicates.
Certicate
Management
(Changed)
It is now possible to give a certicate a name when importing it into the certicate store.
Import a Trusted Certicate or Public Key
JWT
Authentication
(Changed)
You can now import public keys into your SAP HANA database using the new Public
Key Store app. You can then add public keys to certicate collections with the
purpose JWT in the Certicate Collections app.
Import a Trusted Certicate or Public Key
Create a Certicate Collection
The JWT Identity Providers app now supports the conguration of optional claims to
be checked when an incoming JWT is being mapped to an identity provider in SAP
HANA. Typical examples of optional claims include the "origin" and "aud" claims or a
claim for the SAP HANA application user.
In addition, it is possible to specify the priority of the identity provider in cases where
multiple providers with the same issuer exist.
Add a JWT Identity Provider
X.509 User
Authentication
(New)
SAP HANA supports X.509 client certicates for user authentication in single sign-on
environments and for system-to-system integration. You can now use the SAP HANA
cockpit to congure X.509 authentication:
Using the new X.509 Identity Providers app, you can now create identity
providers for X.509 authentication.
In the User Management app, you can now map users to X.509 identity
providers and congure how their external identity (subject distinguished name)
is mapped to their SAP HANA user name.
In the Certicate Collections app, you can now set the purpose X509 for the
certicate collection to be used for X.509 authentication.
Add an X.509 Identity Provider
4.3.1.1.3 Backup and Recovery
SAP HANA cockpit SP 14 introduces new features and enhancements for backup and recovery.
Overwriting
Backups (New)
You can now congure SAP HANA to prevent existing data backups in the le system
from being overwritten by new backups with the same xed prex.
Backup Conguration Settings
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 51
4.3.1.1.4 SAP HANA Database Explorer
SAP HANA cockpit SP 14 introduces a new version of the SAP HANA database explorer with new and changed
features.
Importing and
Exporting (New and
Changed)
Usability
Improvements in
the Import Wizard
(Changed)
A number of usability improvements have been made in
the Import wizard, including automatically populated elds,
and customization options such as the ability to trim
whitespace in your le or use a custom CSV separator.
Import Data Into a New or Existing Table
SQL Console
(Changed)
Formatting
Options for
Copying and
Downloading
Result Sets
(Changed)
When copying a query result set to the clipboard, a pop-up dialog
now allows you to specify which eld delimiters and enclosures should
appear in the copied selection, and whether column names should be
used as the rst row of the copied table. Similarly, in addition to the
formatting options already available when downloading a query result
set, an updated pop-up dialogue now allows you to specify which eld
enclosures should appear in the nal CSV le, and whether column
names should be used as the rst row of the downloaded table.
SQL Warnings
(New)
When executing SQL statements, warnings are now displayed in the
SQL console and the Messages tab below.
Usability Improvements to
the Add Database Dialog
(Changed)
The following changes have been made:
The Add Database dialog now shows information relating to cockpit
databases in one row
The new Show all Database Types and Sort by Name lters simplify sorting
4.3.1.2 SAP HANA Cockpit SP 13 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 13.
Administration and Monitoring [page 53]
SAP HANA cockpit SP 13 introduces new and changed features for administration and monitoring.
User Management and Security Administration [page 57]
SAP HANA cockpit SP 13 introduces new and changed features for user management and security
administration.
Backup and Recovery [page 58]
SAP HANA cockpit SP 13 introduces new features and enhancements for backup and recovery.
SAP HANA Database Explorer [page 59]
SAP HANA cockpit SP 13 introduces a new version of the SAP HANA database explorer with new and
changed features.
52
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
4.3.1.2.1 Administration and Monitoring
SAP HANA cockpit SP 13 introduces new and changed features for administration and monitoring.
What's New Information
(New)
The Help menu on the top, right-hand of the screen now contains a link to the
What's New information for SAP HANA cockpit.
Filtering Function
Redesign
(Enhancement)
The Hide Sessions lter in the Sessions, Threads, and Blocked Transactions apps is
now replaced with four individual default lters:
Connection Status
Transaction Status
Owner
Application
Session Monitoring
Threads
Blocked Transactions
Setting Global Limits
for Workload Classes
(New)
When setting global limits in the Workload Classes app, you can now set Individual
Statement Limits and Total Aggregated Statement Limits, instead of either-or. The
following parameters have also been added to the dialog: Write Transaction Lifetime
Limit and Idle Cursor Lifetime Limit.
Database
Information
(Enhancement)
The Database Information page contains three new tabs: CPU, Memory, and Network.
These tabs include the following information:
CPU information, such as the number of cores and threads and the CPU model and
manufacturer
Memory information, including the amount of physical memory and topology
information
Network information, such as the names of hosts on the network, the domain name,
and the IP addresses
Database Information
Table Group
Advisor
(Enhancement)
Enhancements have been made to improve performance and user experience in the Table
Group Advisor. These enhancements include:
Moving the Grouping Options for S4 System option within the Add/Edit Analysis
option, appearing only when the Analyze Existing Groups type is selected.
Improving sorting and searching.
Renaming some column titles and buttons for more clarity.
Using the saved analysis values when running the Table Redistribution Plan Generator.
Table Group Advisor
Table Group
Advisor Preview
(Enhancement)
Enhancements have been made to improve user experience in the Table Group Advisor
Preview. These enhancements include:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 53
Only showing tables with group changes.
Showing current groups by default.
Limiting the number of tables with group changes that appear.
Launch SAP
HANA Cockpit
Applications in
New Tabs or
Windows
(Enhancement)
To launch an SAP HANA cockpit application in a new tab or window, select a link or button
within a tile from the Database Overview page and right-click the title. Then select either
Open link in new tab or Open link in new window.
Search for
Application
(Enhancement)
The Search for Application option has been renamed to Switch Application. Other
enhancements include:
A search bar has been added to the top of the list
A list of applications appears under the search bar
The list of applications has been made scrollable
Buttons on the Shell Bar
Manage Services
(Enhancement)
The role assignment of the indexserver (leading or subordinate) now appears on the
Manage Services page. Service Details
Remove Multiple
Services at the
Same Time
(Enhancement)
When connected to the tenant database, you can now remove multiple services of the
same type at the same time. Remove Services in a Tenant Database
Database Default
Views
(Enhancement)
You can now customize and save Database Default Views.
SAP EarlyWatch
Alerts Report
Link
(Enhancement)
A link to the SAP EarlyWatch Alert Report and any related SAP Notes is now available on
EarlyWatch alerts on the Alerts Denition page.
Dump Viewer
(New)
The Dump Viewer lets you analyze dump les to help you troubleshoot the causes of error
situations. Dump File Viewer
Memory
Persistent
Memory and
TMPFS Usage
(New)
Information on persistent memory and temporary le storage
(tmpfs) usage appears on the Memory Usage Card.
Disk Volume
Monitor
(Enhancement)
You can now view information on persistent memory storage by
clicking the Persistent Memory button. Disk Usage: Monitor Disk
Volume
Buer Cache
Conguration
(Enhancement)
The Congure Buer Cache Size dialog now provides instant
feedback on the size of the buer cache in MB and/or in percentage
of allocation limit size and page loadable data volume size.
54 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
When both the Maximum Cache Size and Capped to Maximum elds
are empty, then the system displays the allocation limit size and
the page loadable data volume size. Entering a value into one or
both of the above elds instantly updates the displayed sizes of the
allocation limit and the page loadable data volume.
View and Congure the Native Storage Extension Buer Cache
Monitor
Monitor
Memory Paging
(Enhancement)
The Memory Paging Monitor now contains the following
enhancements:
Load Unit Filter
You can now lter tables according to whether
their load unit is: Page Loadable, Column
Loadable, or Default.
Information on
Delta Memory
The Table Sizes and Column Sizes charts now
include information on the amount of data that
is stored in Delta Memory. The table views for
these charts also include the following four
new columns: Delta Memory Size (displayed by
default), Delta Memory Size %, Misc Memory
Size (displayed by default), and Misc Memory
Size %.
Sort According to
Delta Memory
The Sort dropdown menu now includes the
ability to sort tables according to the delta
memory, either by size (KB) or by percentage
of total storage.
Unloaded Memory
Size Calculation
(Enhancement)
Previously, the calculation used to determine
unloaded memory size was: the total
memory size minus the in-memory size
minus the in-buer cache size. Now, to
give a more accurate representation, the
unloaded memory size is calculated as:
the physical disk size minus the total
memory size. Unloaded memory size should
not be considered as 100% accurate, due
to dierences in persistence and memory
structures. However, it can be used as an
estimated value for reference purposes.
Monitor Memory Paging for Non-Partitioned Tables
Monitor Memory Paging for Partitioned Tables
Capture and
Replay
Combined
Replay
Result
The replay performance and verication views have been combined into a
single view.
The original view names are:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 55
Views
(Change)
REPLAY_{REPLAYID}_PERFORMANCE_RESULT(_VIEW)
REPLAY_{REPLAYID}_VERIFICATION_RESULT(_VIEW)
The new view name is:
REPLAY_{REPLAYID}_RESULT(_VIEW)
The unied view includes the following new columns:
CAPTURE_OPERATION_SEQUENCE
CAPTURE_TRANSACTION_ID
CAPTURE_STATEMENT_GROUP_ID
CAPTURE_TRANSACTION_GROUP_ID
Replay
Management
On replay management view, the replay history table and the monitoring
page now display a warning icon if the tracker status has not been
updated for over an hour. This lets users know that replays have stopped
proceeding and need to be investigated. On the monitoring page, for
transactional displays only, the Check Transaction Dependency button
is available. When pressed, if no pending request exists, the following
message appears.
No waiting request found.
If a request exists for which the current replay is waiting, a dialog
box appears showing the ID of the waiting request, the number of
dependent connections, and the number of signaled connections. In
the event unsignaled connections exist (for example, two out of three
dependent connections did not send a signal), the last executed request
and whether it is released or not on each row appears in the dialog box.
Replay Congurations
(Enhancement)
You can select a customized time range to replay on the replay
congurations view.
Replaying Conguration Settings
Replay Report
(Enhancement)
Finalization start and end times of a replayed workload are now
visible on the replay management and replay report views.
On the replay report view, you can change the name and description
of a replayed workload by selecting the Edit Replay Information
Button (New).
Edit a Replayed Workload
SQL Plan
Stability
(Enhancement)
You can now see a detail page of a query with a historical chart of Abstract SQL Plans and
choose to enable them from this page.
Deviation has been introduced. It is displayed in a column of the query table as a
percentual value. It is calculated based on the average execution time of a query and
helps you determine which plans you can optimize by applying Abstract SQL Plan. In the
56 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Congure Capture dialog, you can set a deviation threshold that will highlight the plans that
are above it in the table.
Manage SQL Plan Stability
Plan Trace
Plan Trace is now publicly available so that any user can access traced queries without
special privileges.
The column and lter Execution Record Output Record Count is renamed to Result Record
Count when the feature version of PLAN VISUALIZER in M_FEATURES of SAP HANA is 28
or above.
4.3.1.2.2 User Management and Security Administration
SAP HANA cockpit SP 13 introduces new and changed features for user management and security
administration.
Role and
Privilege
Assignment
Enhancements
The Role Assignment app now shows you all the roles a user has been assigned, not
only those assigned directly to the user but also those assigned indirectly through
inheritance. In addition, you can explore role hierarchies to understand how the user
comes to have a particular role, as well as navigate to individual role denitions (in the
Role Management app) to see the privileges granted. This can help you to understand
and troubleshoot complex user authorization structures.
You can now open the Role Assignment app directly in the Users app. This allows you
to assign roles to the currently selected user without navigating away from the Users
page.
In the Privilege Assignment app, when assigning object privileges to a user or role, you
can now select multiple objects of the same type and assign the same privileges to all
selected objects.
The dialogs for selecting users, roles, and privileges in the Role Assignment and Role
Management apps have been improved. You can now specify multiple attributes to nd
all the right objects more easily. For example, you want to nd all active users in a user
group so you can grant them all a particular role.
Managing User Authorization
Auditing
Enhancements
When creating audit policies you can now specify a retention period when you choose
Database Table with Retention as the audit trail target. Once the retention period has
elapsed for an audit entry, it is deleted.
The set of recommended audit polices available in the basic setup wizard for auditing
has been enhanced:
A number of new of policies are available
All policies created using the wizard now have the prex _SAP_
All policies have an individually congurable retention period, if the overall audit
trail target is Database table
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 57
If the audit trail is Database table, it is now possible to download audit entries to a CSV
le. This allows you to safely archive audit entries, for example, before permanently
deleting them from the audit trail.
Auditing Database Activity
Inclusive
Language
As part of SAP’s commitment to social justice and equality, SAP is replacing insensitive
terms in our software and documentation with inclusive language – dened as language
free from expressions or words that reect prejudice. Our rst and foremost objective was
to replace the terms “master/slave” and “whitelist/blacklist” in SAP documentation with
unbiased terms that are more technically accurate and to apply these terms across all
major SAP products and solutions over time.
In the Authentication app of the SAP HANA cockpit and the latest version of the SAP HANA
cockpit documentation, the password blacklist has been renamed "password exclude list".
4.3.1.2.3 Backup and Recovery
SAP HANA cockpit SP 13 introduces new features and enhancements for backup and recovery.
Backup Compression
(New)
You now have the option to create compressed backups. The original and
compressed sizes are displayed in the backup catalog.
Backup Conguration Settings
Check Recoverability
(New)
By analyzing available backups and the log area, it is possible to verify that SAP
HANA can be recovered to a specic point in time.
Check Recoverability
Recovery Without
Log Replay (New)
You have the option to recover an SAP HANA tenant database through its system
database, using a complete data backup only.
SAP HANA cockpit does not support this option for system databases.
Recover a Tenant Database From a Complete Data Backup
Restart a Tenant Database
(Enhancement)
When you shut down a tenant database, you now have the option to restart it
immediately after the shutdown is complete.
Stop a Tenant Database
58 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
4.3.1.2.4 SAP HANA Database Explorer
SAP HANA cockpit SP 13 introduces a new version of the SAP HANA database explorer with new and changed
features.
SQL Console
Execute SQL Statements
SQL Console
Messages Tab
(Changed)
The SQL console Messages tab now shows detailed SQL statement
resource consumption metrics when you are connected to an SAP
HANA database. The following statistics are shown:
Client elapsed time (ms)
Statement prepare time (ms)
Statement execute time (ms)
Peak memory consumed
Catalog
Browser
Object Editor
View for Public
Synonyms
(New)
The object editor view for the catalog object Public Synonyms is now
available in the SAP HANA database explorer. Navigate to the object by
manually locating your database in the catalog browser list or by using
the Filter Databases lter bar. Expand your database, then expand the
Catalog folder to view the list of objects in alphabetical order. Right-click
on Public Synonyms and click Show Public Synonyms.
The following columns are shown:
Synonym ID
Synonym Name
Schema Name
Object Database
Object Schema
Object Name
Object Type
Is Column Object
Is Valid
Catalog List Browser
(Enhancement)
The catalog list browser now shows all children of the selected
node for diagnostic les. You can use the lter box to lter to
a specic le by name. This allows you to nd a diagnostic le
without navigating a hierarchy.
Search and
Organize
Databases in
Catalog Browser
(New)
You can now nd a database in the catalog browser tree by entering
criteria in the Filter Databases lter bar. You can also use the  Add
Group icon to create a new group. To create a nested group, right click
an existing group and select Add Group from the context menu. To
delete a group, right click an existing group and select Remove Group
from the context menu.
Open Catalog Objects
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 59
Administration
Link to What's New
Documentation (New)
The Help dropdown menu now includes a What's New link
that links to this documentation.
Statement
Library
(Changed)
In the Statement Library, system statements from SAP Note 1969700 are
no longer visible while user and database statements remain as before.
You can still import statements from the SQL Statement collection and
they will be added as user statements.
Use the Statement Library to Administer Your Database
Smart Data
Integration Tasks
(Enhancement)
Smart data integration (SDI) tasks are now executed as background
activities. This allows task execution to continue after your session
expires. You can view the progress of your SDI task in the
Background Activity Monitor. For more information about SDI
administration, use the following guide.
SAP HANA Smart Data Integration and SAP HANA Smart Data
Quality
Importing Shape
Files (New)
You can now import ESRI shape les by using the Import Data
wizard.
Import Data Into a New or Existing Table
Monitoring
Multi-Select
Trace Files
(New)
Now, when you open a list of trace les, there are individual check boxes for
each le. Select a le by clicking on the check box or pressing space bar
when the row is highlighted. There is also a check box in the table header
row that allows you to select all trace les in the list.
Plan Trace
(New)
You will now see a message in Trace Conguration indicating that plan trace
should be congured in SAP HANA cockpit. A link is also provided directing
you back to cockpit.
Trace File
Searching
(New)
Performance of trace le searching has been enhanced. Trace le searches
are case insensitive and wildcards, such as ‘%’ and ‘_’, are no longer
supported. Both the text in the column lters and the text in the search
bar are applied to the rows displayed.
A refresh button has been added to the right of the search box. Refreshing
does not clear the existing lters and/or search term.
.sqltrace
Directory
(New)
The .sqltrace folder has been moved from the Other directory in the
trace le catalog and has been given its own directory under each database
instance in the Database Diagnostic Files directory in the catalog browser.
All trace les starting with sqltrace_ are in this directory.
Context Menus for Trace
Files (Enhancement)
The context menus for trace les in both the catalog browser
and the trace le editor now contain the following actions:
Open
Delete
60 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Download
Copy File Name
Create Shortcut
Loading in Trace
File Viewer
(Enhancement)
You can now load an entire trace le without downloading the le. The
EntireFile option has been added under the dropdown menu in the
header of the trace viewer. If you open an entire trace le that is less
than 100MB, then by default, you are positioned at the beginning of
the loaded le. If you open a trace le that is greater than 100MB, then
a conrmation dialog asks if you want to proceed with retrieving the
entire le.
Cancel loading a trace le by clicking X in the tab label to close the tab.
If you view a portion of a le, then the le is progressively loaded as
you scroll beyond the loaded portion. You can check the Loaded File
Size label in the top right to see how much of the le has loaded in
bytes.
Service
Column in
Trace Files
Table (New)
A new Service column has been added to the Trace Files table for host
folders and indicates the service that generated the trace le. The column
contains the following options:
Sort Ascending
Sort Descending
Filter
View the new column in the Trace Files table by opening the Database
Diagnostic Files folder in the catalog browser tree and right-clicking on a
host folder. Then, click Show Files.
Traces
4.3.2SAP HANA System Administration (New and Changed)
SAP HANA introduces new and changed administration features.
Partitioning (New and Changed)
Partitioning Operations
The functionality of the ALTER TABLE command has been enhanced so that when you are modifying
properties of a partitioned table you can specify a list of partition ID values which will then all be
modied with a single statement. This option is available for use with the INSERT ON/OFF, COLUMN/PAGE
LOADABLE and NUMA NODE properties.
Partitioning Operations
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 61
In addition to truncating partitions at table level, it is now possible to truncate selected partitions identied
by the logical partition ID.
Truncating Partitions
To minimize the period of time for which a table is locked when moving a table or partition, the online
operation mode of executing the MOVE PARTITION statement has been enhanced. This operation mode
now uses asynchronous table replication in the background. For times when the table is locked any DML
statements submitted (insert, delete, update and so on) are logged and applied once the copy is complete.
The feature is subject to the general limitations which apply to Table Replication.
The online mode is also available for heterogeneous repartitioning operations. The monitoring view
M_JOB_PROGRESS has been enhanced with an additional job name so that progress of these operations
can be monitored.
Partitioning Operations in Online Mode
It is now possible to create dynamic range partitions which are time-based. This can be done using
the INTERVAL keyword to specify a period of time such as a number of months. The option of using a
numerical counter to measure time (using data types such as INT, BIGINT, NVARCHAR) is also supported.
Dynamic Range Partitioning
Usage of the AT LOCATION clause has been enhanced when repartitioning a table. You can preserve
existing locations or specify locations for each new partition. Default locations are applied if the
assignment is left unspecied.
Partitioning Operations
The handling of tables which have been partitioned with a single partition by HASH or ROUNDROBIN
partitioning has been changed. Single partitions are now given a logical partition ID which can be
referenced by other SQL statements. Previously no ID was assigned to single partitions.
Hash Partitioning
To oer more exibility in selecting the partitioning column for heterogeneous RANGE partitioning, an
option is now available when you create a table with partitions or when you repartition a table to enforce
partitioning on a primary key column. If this option is not applied then any column may be used.
Heterogeneous Partitioning
Setting the Load Unit
To improve support for data tiering it is now possible to convert partitions of multistore tables which have
been partitioned by HASH-RANGE to NSE-compatible partitions. You can now dene the load unit (PAGE
LOADABLE for NSE) in the ALTER PARTITION statement.
Setting the Load Unit
The functionality of the ALTER TABLE statement has been enhanced so that when repartitioning a table
(ALTER TABLE ... PARTITION BY) you can specify a load unit for all target partitions (PAGE LOADABLE is
required for Native Storage Extension).
Setting the Load Unit
Monitoring Partitioning
A history of all partitioning operations is now maintained and can be queried from the monitoring view
SYS.M_TABLE_PARTITION_OPERATIONS.
Tracing Partitioning Operations
More statistical information is now available in the monitoring view M_TABLE_PARTITION_STATISTICS to
show which partitions are used.
System Views for Monitoring Partitions, M_TABLE_PARTITION_STATISTICS System View
62
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Table Distribution (Changed)
Table Distribution now includes Native Storage Extension (NSE) tables. With this feature KPI data for NSE
tables and partitions is collected, analyzed, and included in the table redistribution plan. If you choose to
execute the plan then the redistribution actions for NSE tables are applied across the server landscape.
Table Redistribution Commands
In table replication, groups can be applied to replica tables and partitions so that you can manage replicas
in groups in a HANA scale-out landscape. Keywords to assign names are now available for use when you
create or alter a replica (for example: WITH REPLICA GROUP NAME MyGroup).
Distribution of Table Replicas Using Groups
To minimize the length of time for which tables are locked during table redistribution, tables are moved as
far as possible in parallel in groups. To achieve table moves as eciently as possible table replication is
used in the background.
Table Redistribution Commands
Performance Management (New)
A set of conguration parameters is available to manage the HANA File Input/Output layer in order to balance
the throughput of dierent devices and channels. Two monitoring views are available to see the eect of
congured FileIO throttles and the queuing activity.
Managing Bandwidth (File IO Throttle)
Workload Classes (Changed)
Administrators can now apply admission control limits for memory and CPU through workload classes.
New properties have been added to workload classes to support this by rejecting or queueing incoming
requests which exceed predened limits.
See 'Properties for Admission Control' in: Properties for Workload Classes and Mappings
A hierarchical relationship between workload classes can be established so that values for memory limits
can be inherited by other workload classes.
Hierarchies of Workload Classes
Two monitoring views have been enhanced to support monitoring how workload classes are
applied. The views M_SERVICE_THREADS and M_SERVICE_THREAD_SAMPLES now include the eld
WORKLOAD_CLASS_NAME which shows the eective workload class that is registered on the thread.
Monitoring Views for Workload Classes
System Replication: Monitoring Secondary Systems (Changed)
Support for monitoring secondary systems has been enhanced by additional event checkers and collectors in
the embedded statistics service. These are used to gather more detailed information about the status of the
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 63
replicating systems. A new alert (#990 System Replication support issue in ESS) has been added which is
triggered if the collection service fails.
Monitoring Secondary Systems
Table Replication: Monitoring Views (New)
The following new monitoring views have been added to provide statistical information about table replication:
M_TABLE_REPLICATION_VOLUME_STATISTICS and M_TABLE_REPLICATION_VOLUME_STATISTICS_RESET.
History information is now available in the view M_TABLE_REPLICATION_VOLUME_HISTORY.
Table Replication
Importing and Exporting Data (Changed)
Support has been added to exchange data with cloud sources. Options are now available to link to cloud
storage systems as the source or target for IMPORT and EXPORT statements. The following hyperscalars are
supported:
Amazon Web Services
Microsoft Azure
Alibaba Cloud OSS
Google Cloud
SAP HANA Cloud Data Lake Storage
Importing and Exporting Data With Cloud Sources
Tenant Database Management (Changed)
Tenant Database Status (Changed)
The status details for tenant databases have been revised.
Database Details
Conguration (Changed)
The default conguration value of the following parameters has now changed to 'on':
global.ini [resource_tracking] enable_tracking
global.ini [resource_tracking] memory_tracking
These now match the parameter recommendation of SAP Note 2600030. These values are prerequisite for
important features like the statement memory limit.
64
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
2600030
4.3.3SAP HANA Deployment Infrastructure Administration
(New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
For SAP HANA Platform 2.0 SPS 06, SAP HDI supports the development and deployment of applications to
the SAP HANA extended application services (XS) advanced model platform. This section contains details of
changes and additions to the following tools and features provided to help with the administration of HDI:
Tip
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
_SYS_DI Views (New and Changed)
The following updates apply to _SYS_DI views in the SAP HDI API for HDI container administration and
management:
M_ALL_CONTAINERS (new)
M_ALL_CONTAINER_GROUPS (new)
M_ALL_CONTAINER_VERSIONS (new)
M_ALL_GRANTED_SCHEMA_PRIVILEGES (new)
M_ALL_GRANTED_SCHEMA_ROLES (new)
M_ALL_JOBS (new)
M_ALL_MESSAGES (new)
M_ALL_ROLES (new)
M_VISIBLE_CONTAINERS (new)
M_VISIBLE_CONTAINER_GROUPS (new)
For more details about the individual views, see _SYS_DI Monitoring Views
HDI Container Views (New and Changed)
The following updates apply to HDI container views in the SAP HDI API for HDI container administration and
management:
M_CONFIGURATION (changed)
M_CONTAINERS (changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 65
M_CONTAINER_VERSIONS (changed)
M_GRANTED_SCHEMA_PRIVILEGES (changed)
M_GRANTED_SCHEMA_ROLES (changed)
For more details about the individual views, see HDI Monitoring Views
HDI Administration Parameters (New and Changed)
The following updates apply to the SAP HDI administration parameters:
HDI parameters:
use_check_virtual_tables (new)
For use with <container>#DI.MAKE and <container>#DI.MAKE_ASYNC
validate_external_parameters (new)
During a make operation, check all deployed synonyms, projection views, and virtual tables for changes
to referenced objects and redeploy if a change is detected (default = false)
import_container_use_loopback_remote_source (new)
During the import of a virtual table, use a loopback remote source as a substitute for a missing remote
source (and the underlying table)
HDI conguration parameters:
api.permit_self_granting (new)
Species whether granting of privileges to the user calling a grant procedure is allowed (default = true)
connection.max_polls_for_coordinator_indexserver (changed)
Renamed from connection.max_polls_for_master_indexserver
connection.poll_interval_for_coordinator_indexserver (changed)
Renamed from connection.poll_interval_for_master_indexserver
make.validate_virtual_tables (removed)
During a make operation, check if any virtual tables need to be deployed
make.use_check_virtual_tables (removed)
During a make operation, use the procedure SYS.CHECK_VIRTUAL_TABLES to check if any virtual
tables need to be deployed
make.validate_external_dependencies (new)
During a make operation, check all deployed synonyms, projection views, and virtual tables for changes
to referenced objects and redeploy if a change is detected (default = false)
messages.global_days_to_keep (changed)
The default value is now "90"
messages.global_requests_to_keep (changed)
The default value is now "100000"
api.enable_flowgraph_access (new)
Container-specic conguration parameter (default = false)
For more details about the individual parameters, see Congure SAP HDI Parameters
66
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
HDI Plug-ins (New and Changed)
The following updates apply to the HDI build plug-in types (New and changed):
Enterprise Search Congurations (new)
Transforms a design-time enterprise-search conguration (.hdbeshconfig) into a search database
object
Roles (changed)
Added a new "global_object_privileges" section to the .hdbrole design-time artifact.
Projection View (changed)
Added a new external-dependencies conguration parameter ("validate_external_dependencies")
to the .hdbprojectionview design-time artifact, which enables the automatic detection of changes to
remote objects and dependencies.
Synonyms (changed)
Added a new external-dependencies conguration parameter ("validate_external_dependencies")
to the .hdbsynonym design-time artifact, which enables the automatic detection of changes to remote
objects and dependencies.
Virtual Tables (changed)
Added a new external-dependencies conguration parameter ("validate_external_dependencies")
to the .hdbvirtualtable design-time artifact, which enables the automatic detection of changes to
remote objects and dependencies.
For more details about the individual plug-ins, see SAP HDI Artifact Types and Build Plug-ins Reference
HDI Clients (New and Changed)
The following updates apply to the HDI clients for the Java and JavaScript run-time environments in XS
advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
HDI Deployment Tools (New and Changed)
The following updates apply to the HDI deployment tools for XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 67
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content to
SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
HDI Administration Tool (New)
The new HDI Administration tool in SAP HANA cockpit provides HDI administrators with a graphical user
interface to enable the maintenance of the SAP HANA Deployment Infrastructure (HDI) without using the SQL
interface. For more information about the features and functionality included in this new tool, see SAP HDI
Administration with SAP HANA Cockpit
HDI Administration APIs (Changed)
The following updates apply to the HDI container and container-group APIs:
Export an SAP HDI Container for Copy Purposes (Changed):
HDI administrators can now use the HDI container-group API to export an HDI container for copy
purposes to either a database or a server le system For more information, see Export an SAP HDI
Container for Copy Purposes (Container-Group API)
HDI administrators can also now use the HDI container API to export an HDI container for copy
purposes from either a database or a server le system For more information, see Export an SAP HDI
Container for Copy Purposes (Container API)
Import an SAP HDI Container for Copy Purposes (Changed):
HDI administrators can now use the HDI container-group API to import an HDI container for copy
purposes from either a database or a server le system For more information, see Import an SAP HDI
Container for Copy Purposes (Container-Group API)
HDI administrators can now use the HDI container API to import an HDI container for copy purposes
from either a database or a server le system For more information, see Import an SAP HDI Container
for Copy Purposes (Container API)
HDI Reference Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for the administration
and maintenance of SAP HDI:
SAP HANA Deployment Infrastructure (HDI) Reference (Changed)
This updated guide now includes important updates, additions, and changes to the following sections:
Maintaining HDI Container Groups (changed)
Display details of the container-group conguration (new)
68
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Import/export HDI containers for copy purposes to a server le system (container-group API)
(new)
Maintaining HDI Containers (changed)
Display details of the container conguration (new)
Import/export HDI containers for copy purposes to a server le system (container API) (new)
HDI Parameters (changed)
SAP HDI Container-Group-Specic Procedures (new)
HDI Conguration Parameters (changed)
For more information, see SAP HANA Deployment Infrastructure (HDI) Reference in Related Information
below.
The HDI Administration tool in SAP HANA cockpit (New)
SAP HANA cockpit now includes the new HDI Administration tool, which provides HDI administrators with
a graphical user interface to maintain the SAP HANA Deployment Infrastructure (HDI). The tool includes a
dedicated online help library.
Related Information
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Deployment Infrastructure Development (New and Changed) [page 75]
4.3.4SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA smart data access.
Virtual Table User-Dened Functions (New)
You can now use the CREATE VIRTUAL FUNCTION statement to create virtual table user-dened functions
(TUDFs) that point to remote table user-dened functions in a remote SAP HANA on-premise system or SAP
HANA Cloud, SAP HANA database. The remote source must be based on the hanaodbc adapter. A virtual table
user-dened function lets you pass parameters to the corresponding remote table user-dened function to
retrieve data from the remote database.
You can nd information about virtual functions in the VIRTUAL_FUNCTIONS system view
(enhanced) and about their parameters in the new VIRTUAL_FUNCTION_PARAMETERS and
VIRTUAL_FUNCTION_PARAMETER_COLUMNS system views. You can use the ALTER VIRTUAL FUNCTION
statement (enhanced) to refresh the denition of a virtual function.
Virtualizing Table User-Dened Functions
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 69
ODBC Drivers for SAP IQ and SAP Adaptive Server Enterprise (Changed)
The ocial SAP IQ and SAP Adaptive Server Enterprise (ASE) ODBC drivers should now be used instead of the
drivers provided in the SAP HANA SMART DATA ACCESS 2.0 package.
The ocial drivers are available in the following packages and can be downloaded from the SAP Software
Download Center:
SYBASE IQ NETWORK CLIENT
SDK FOR SAP ASE
The SAP HANA SMART DATA ACCESS 2.0 package should no longer be used. If the package is already
installed, we recommend that you uninstall it and then install the ocial packages.
SAP IQ ODBC Driver
SAP Adaptive Server Enterprise ODBC Driver
4.3.5SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA backup and recovery.
Backup Compression (New)
You can now create compressed data backups, delta backups (dierential or incremental backups), and log
backups using native SAP HANA compression.
You can use the option COMPRESSED with the BACKUP DATA statement.
You can use parameters to congure the data backups and log backups.
To recover compressed backups, no additional action is required, as RECOVER DATA and RECOVER DATABASE
automatically recognize if a backup is compressed.
The system view M_BACKUP_CATALOG_FILES now includes the elds: COMPRESSED_SIZE and
COMPRESSION_ALGORITHM
The system view M_BACKUP_CONFIGURATION now includes the
elds: IS_LOG_BACKUP_COMPRESSION_ENABLED, LOG_BACKUP_COMPRESSION_ALGORITHM,
LOG_BACKUP_COMPRESSION_LEVEL, DATA_BACKUP_COMPRESSION_ALGORITHM,
DATA_BACKUP_COMPRESSION_LEVEL
BACKUP DATA Statement (Backup and Recovery)
RECOVER DATA Statement (Backup and Recovery)
RECOVER DATABASE Statement (Backup and Recovery)
Congure Data Backup Compression
Congure Log Backup Compression
70
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
M_BACKUP_CATALOG_FILES System View
M_BACKUP_CONFIGURATION System View
Backing Up Customer-Specic Conguration Settings (New)
You can back up user conguration les (.ini les) as part of the data backup.
The BACKUP DATA statement oers a new option: INCLUDE CONFIGURATION
For a recovery, you can use the INCLUDE CONFIGURATION option with the RECOVER DATA or RECOVER
DATABASE statements to restore the user conguration les (.ini les) from a backup.
The system view M_BACKUP_CATALOG_FILES now includes the eld: CONFIGURATION_INCLUDED
BACKUP DATA Statement (Backup and Recovery)
RECOVER DATA Statement (Backup and Recovery)
RECOVER DATABASE Statement (Backup and Recovery)
Backing Up Customer-Specic Conguration Settings
M_BACKUP_CATALOG_FILES System View
Log Backup Fallback for Third-Party Backup Tools (New)
SAP HANA can now automatically detect whether an external storage system can no longer be accessed, and
can then redirect log backups to the le system instead. This ensures that log backups can continue to be
written without interruption if an external storage system fails.
The system view M_BACKUP_CATALOG_FILES now includes the eld: BACKINT_FALLBACK_USED
Automatic Log Backup Fallback for Third-Party Backup Tools
M_BACKUP_CATALOG_FILES System View
Check the Integrity of Third-Party Backups (Changed)
Using the hdbbackupcheck tool, you can now check backups in third-party storage systems by speciy the
database name and its external backup ID (EBID).
Check Individual Backups Inside an SAP HANA Installation (hdbbackupdiag, hdbbackupcheck)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 71
Overwriting Backups (New)
By default, SAP HANA overwrites existing data backups in the le system with new backups. You can change
this conguration to prevent existing backups from being overwritten.
Prevent or Allow Data Backup Overwrite
Database Copy Using Backup and Recovery (Changed)
SAP HANA now supports database copy using a mixture of backups from the le system and third-party
backup tools.
Points to Note: Copying a Database Using Backup and Recovery
RECOVER DATA Statement (Backup and Recovery)
SAP HANA Backint Agent for Amazon S3 (Changed)
The SAP HANA Backint Agent for Amazon S3 now also supports IBM Cloud Object Storage and PowerPC.
2935898
4.3.6SAP HANA Native Storage Extension (New and
Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Native Storage Extension
(NSE).
NSE Advisor
Unied Built-in Procedure Interface to Manage NSE Advisor (New)
SAP HANA uses a new unied built-in interface to help manage NSE Advisor.
Using the NSE Advisor with SQL Commands (Built-in Procedure) for Warm Data Recommendations
M_CS_NSE_ADVISOR_STATISTICS System View (New)
M_CS_NSE_ADVISOR_STATISTICS System View provides statistics for NSE Advisor.
M_CS_NSE_ADVISOR_STATISTICS System View
NSE Advisor Filter Rules (New)
Rules can be specied directly in a SAP HANA database to modify the behavior of NSE Advisor.
72
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
NSE Advisor Filter Rules
Adding CONFIDENCE Column to M_CS_NSE_ADVISOR System View (New)
The column CONFIDENCE displays the condence value of the NSE Advisor. The value can be used to
objectively compare recommendations of a single NSE Advisor run.
M_CS_NSE_ADVISOR System View
Monitoring for NSE DDL (New)
The following NSE DDL show their status in the monitoring view M_JOB_PROGRESS.
Alter Column Load Unit
ALTER TABLE <table_name> ALTER (<column_name> ALTER <loadunit> LOADABLE)
Alter Table Load Unit
ALTER TABLE <tablename> <loadunit> LOADABLE
Alter Partition Load Unit
ALTER TABLE <tablename> <partspec> <loadunit> LOADABLE
ALTER TABLE <tablename> <partId> <loadunit> LOADABLE
Alter Index Load Unit
ALTER INDEX <indexName> <loadunit> LOADABLE
Changing the Load Unit Using ALTER TABLE
SAP HANA NSE Support for the Statistics Server (New)
The column tables of SAP HANA statistics server do not use SAP HANA NSE by default. If you are using NSE
in your SAP HANA 2.0 environment, SAP recommends you to activate NSE for the column tables of the SAP
HANA statistics server.
You can activate and deactivate NSE for column tables in the SAP HANA Statistics server using these
procedures:
CALL _SYS_STATISTICS.SHARED_ALTER_PAGE_LOADABLE;
CALL _SYS_STATISTICS.SHARED_ALTER_DEFAULT_LOADABLE;
SAP HANA NSE Support for the Statistics Server
SHARED_ALTER_PAGE_LOADABLE Procedure (Embedded Statistics Service)
SHARED_ALTER_DEFAULT_LOADABLE Procedure (Embedded Statistics Service)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 73
2.0 SPS 06 Functional Restrictions (Changed)
This SAP note lists the functional restrictions of SAP HANA Native Storage Extension (NSE) 2.0 SPS 06.
3123259
CREATE / DROP INDEX Statement (Changed)
The ONLINE clause now supports non-replicated, non-history tables when creating and dropping a non-unique
index on non-paged base columns.
CREATE INDEX Statement (Data Denition)
DROP INDEX Statement (Data Denition)
4.4 Development
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for development.
SAP Web IDE for SAP HANA (New and Changed) [page 74]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Deployment Infrastructure Development (New and Changed) [page 75]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HANA Interactive Education (SHINE) (New and Changed) [page 76]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Interactive
Education (SHINE)
Text Search (New and Changed) [page 76]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for text search.
4.4.1SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
74
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
What's New in SAP Web IDE for SAP HANA
4.4.2SAP HANA Deployment Infrastructure Development
(New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
For SAP HANA Platform 2.0 SPS 06, SAP HDI supports the development and deployment of applications to
the SAP HANA extended application services (XS) advanced model platform. This section contains details of
changes and additions to the following tools and features provided to help with the administration of HDI:
SAP HANA Deployment Infrastructure (New and Changed)
Provided updates to the HDI clients for the Java and JavaScript run-time environments in XS advanced
(Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package, which
are available for download from the corresponding public regisitry (for example, the NPM Registry and
Maven Central).
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
Updates to the HDI deployment tools for XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content
to SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Note
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 75
Related Information
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 65]
4.4.3SAP HANA Interactive Education (SHINE) (New and
Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Interactive Education
(SHINE)
SAP HANA Interactive Education (SHINE) for XS Advanced (New and
Changed)
The Software Component Archive for SHINE for XS Advanced (SAP HANA DEMO MODEL ADV) will no longer
be available as part of the SAP HANA Media and will not be available for download from the SAP Support
Portal . SHINE for XS Advanced will continue to be released and made available via a GitHub repository .
SAP HANA Interactive Education (SHINE) for XS Classic (New and Changed)
The Delivery Unit for SHINE for XS Classic (SAP HANA DEMO MODEL) will no longer be available as part of the
SAP HANA Media and will not be available for download from the SAP Support Portal . SHINE for XS Classic
will continue to be released and made available via a GitHub repository .
4.4.4Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for text search.
Support for Icon URLs in the Facet Output (New)
Icons can now be used for facet outputs.
The following annotations can be used to dene the name of a column that contains the URL of an image that
shall be displayed in the search UI instead of the facet value:
@EnterpriseSearch.filteringFacet.iconUrl
76
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
@EnterpriseSearch.filteringAttribute.iconUrl
Property Annotations
Facets With Icon URL Columns
Boosting (New)
This version includes the possibility of boosting search results with the built-in procedure sys.esh_search().
It involves the new BOOST operator which is used for ad hoc denition of boosting conditions.
Boosting
Clear esh_search() Cache (New)
The enterprise search cache can be cleaned using a standard SQL statement.
Clear esh_search() Cache
Modeling with HANA DI (New)
Search congurations can be created with the HANA database deployment infrastructure (HDI) by
using .hdbeshcong les.
Modeling with HANA DI
Case-insensitive Sorting of Search Results (New)
You can specify the search result to sorted by a column in a case-insensitive way so users get back a search
result with a meaningful sort order.
@UI.lineItem.sorting.defaults.caseInsensitive
Property Annotations
GetSuggestion() Without Fulltext Index (New)
The suggestion callgetSuggestion() now supports columns without fulltext index.
Method 'GetSuggestion' - Suggestion Call
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 77
4.5 Reference
SAP HANA Platform 2.0 SPS 06 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL Reference Guide (New and Changed) [page 78]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the SAP HANA SQL and
System Views Reference
SAP HANA Spatial (New and Changed) [page 85]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Spatial.
SAP HANA Client Interfaces (New and Changed) [page 87]
The documentation on SAP HANA Client Interfaces has moved to another page.
SAP HANA Predictive Analysis Library (New and Changed) [page 87]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA Analytics Catalog (BIMC Views) (New) [page 92]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Analytics Catalog
(BIMC Views).
SAP HANA Embedded Statistics Service Catalog (_SYS_STATISTICS) (New and Changed) [page 92]
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Embedded
Statistics Service (ESS).
4.5.1SAP HANA SQL Reference Guide (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the SAP HANA SQL and System
Views Reference
SQL Statements (New and Changed)
ALTER DATABASE
Statement
(Changed)
You can now remove all installed licenses on tenant databases from the system
database using this statement. ALTER DATABASE Statement (Tenant Database
Management)
ALTER SYSTEM
CLIENTPKI
{ UPDATE / DROP }
Statement (New)
You can now manage CLIENTPKI certicates and authorities. ALTER SYSTEM
CLIENTPKI { UPDATE / DROP } (System Management)
ALTER SYSTEM
REMOVE SQL
PLAN CACHE
The statement now supported the WHERE clause. ALTER SYSTEM REMOVE SQL
PLAN CACHE ENTRY Statement (System Management)
78 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
ENTRY Statement
(Changed)
ALTER TABLE
Statement
(Changed)
You can now add a primary key using an existing unique index. ALTER TABLE
Statement (Data Denition)
You can now move multiple partitions in parallel and online. Non-heterogeneous
Alter Partition Clauses, Heterogeneous Alter Partition Clauses
ALTER USER
Statement
(Changed)
You can now add multiple mappings between a JWT or SAML provider and a user.
When removing these mappings, you can specify an individual mapping or remove all
mappings between the user and provider. ALTER USER Statement (Access Control)
BACKUP DATA
Statement
(Changed)
You can now use the COMPRESSED option to create a backup using native SAP HANA
compression. BACKUP DATA Statement (Backup and Recovery)
BACKUP
ENCRYPTION ROOT
KEYS Statement
(Changed)
You must now back up all keys when using a local secure store with an active
key management system, to ensure that a full LSS backup is available in the
required single-le format. BACKUP ENCRYPTION ROOT KEYS Statement (Backup
and Recovery)
CONNECT
Statement
(Changed)
You can now connect using a JWT token. CONNECT Statement (Session Management)
CREATE/ALTER
JWT PROVIDER
Statements
(Changed)
The JWT provider now checks for additional claims during authentication. It also
allows you to set the XS_APPLICATIONUSER session variable during login. To support
this functionality, PRIORITY has been added to the JWT_PROVIDERS System View
and the JWT_PROVIDER_CLAIMS system view has be introduced to view claims
dened for a JWT provider. CREATE JWT PROVIDER Statement (Access Control),
ALTER JWT PROVIDER Statement (Access Control), JWT_PROVIDERS System View,
JWT_PROVIDER_CLAIMS System View
CREATE / ALTER
TABLE Statement
(Changed)
You can now create system-versioned tables with transactional system-time.
You can now group table options for replica tables.
Dynamic interval now works with TINYINT, SMALLINT, INT, and BIGINT columns.
You can now perform primary key checks on heterogeneous partitions.
CREATE TABLE Statement (Data Denition), Heterogeneous Create Partition Clauses,
ALTER TABLE Statement (Data Denition), Heterogeneous Alter Partition Clauses
CREATE / ALTER
USERGROUP
Statement
(Changed)
The clause ENABLE / DISABLE CLIENT CONNECT allows you to restrict the ability for
members of a usergroup to connect to the database. ALTER USERGROUP Statement
(Access Control), CREATE USERGROUP Statement (Access Control)
CREATE / ALTER
WORKLOAD
CLASS Statements
(Changed)
You can now specify a hierarchy for workload classes to inherit TOTAL STATEMENT
MEMORY LIMIT from a parent workload class.
New admission control queue and reject threshold properties have been implemented.
ADMISSION CONTROL QUEUE CPU THRESHOLD
ADMISSION CONTROL QUEUE MEMORY THRESHOLD
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 79
ADMISSION CONTROL REJECT CPU THRESHOLD
ADMISSION CONTROL REJECT MEMORY THRESHOLD
CREATE WORKLOAD CLASS Statement (Workload Management), ALTER WORKLOAD
CLASS Statement (Workload Management)
Columns were added to the WORKLOAD_CLASSES,
M_WORKLOAD_CLASS_STATISTICS, M_ADMISSION_CONTROL_QUEUES,
M_ADMISSION_CONTROL_EVENTS, and M_LOAD_HISTORY_SERVICE views for these
properties.
CREATE DATABASE
Statement
(Changed)
This statement now supports the key management conguration ID parameter when
creating a database. CREATE DATABASE Statement (Tenant Database Management)
CREATE / DROP
INDEX Statement
(Changed)
The ONLINE clause now supports non-replicated, non-history tables when creating
and dropping a non-unique index on non-paged base columns. CREATE INDEX
Statement (Data Denition), DROP INDEX Statement (Data Denition)
CREATE/DROP
PUBLIC KEYS
Statements (New)
You can now manage public keys for use with JWT authentication. CREATE PUBLIC
KEY Statement (System Management), DROP PUBLIC KEY Statement (System
Management), ALTER PSE Statement (System Management).
Two new views, PUBLIC_KEYS and PSE_PUBLIC_KEYS have been created to support
this management. PUBLIC_KEYS System View, PSE_PUBLIC_KEYS System View
CREATE TABLE
(Changed)
The clause WITH INDEX <defined_index_name_list> has been added to the
CREATE TABLE LIKE clause. For each specied index on the source table, a matching
index is created on the target table. CREATE TABLE Statement (Data Denition)
CREATE / ALTER
TABLE Statement
(Changed)
The DYNAMIC clause for the OTHERS partition has been extended to include a time
interval property. The property lets you specify the interval between the last and the
next range partition created dynamically. CREATE TABLE Statement (Data Denition),
ALTER TABLE Statement (Data Denition)
CREATE / ALTER /
DROP X509
PROVIDER
Statements (New)
This syntax allows you to manage X.509 providers. CREATE X509 PROVIDER (Access
Control), ALTER X509 PROVIDER (Access Control), DROP X509 PROVIDER (Access
Control)
Two new system views, X509_PROVIDERS and X509_PROVIDER_RULES, have
been added. The X509_USER_MAPPINGS system view has an additional column,
X509_PROVIDER_NAME.
DELETE Statement
(Changed)
Rows that are fully contained within given time period now be deleted. DELETE
Statement (Data Manipulation)
RECOVER
ENCRYPTION ROOT
KEYS Statement
(Changed)
You can now specify AND SETTINGS to recover a full LSS backup.
You can now use SECURE STORE SECOND ACCESS for recovery if LSS is used with an
active key management system that can no longer be reached.
RECOVER ENCRYPTION ROOT KEYS Statement (Backup and Recovery)
SELECT Statement
(Changed)
You can now specify columns to be protected against concurrent updates in a SELECT
statement. SELECT Statement (Data Manipulation)
80 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
TRUNCATE
TABLE Statement
(Changed)
You can now truncate specic partitions of a table. TRUNCATE TABLE Statement
(Data Manipulation)
SQL Functions (New and Changed)
ABAP_DF16RAW_TO_SMALLDECIMAL /
ABAP_DF34RAW_TO_DECIMAL Function (New)
Two new functions have been introduced to from
ABAP decoat type (DF16_RAW and DF34_RAW)
to HANA decoat type (smalldecimal and decimal).
ABAP_DF16RAW_TO_SMALLDECIMAL Function (String),
ABAP_DF34RAW_TO_DECIMAL Function (String)
CAST Function (Changed) When you cast a parameter as a data type, the parameter is now
bound as that data type. Previously the parameter was bound as a
string and converted. CAST Function (Data Type Conversion)
CURRENT_TIMESTAMP and CURRENT_UTCTIMESTAMP Function
(Changed)
You can now specify the precision (0-7) of the number
of sub-seconds to display. CURRENT_TIMESTAMP Function
(Datetime)CURRENT_UTCTIMESTAMP Function (Datetime)
JSON_TABLE Function (Changed) This function now supports dierent JSON path expressions
depending on their location in grammar and corresponding error
types. JSON_TABLE Function (JSON)
ENCRYPTION_ROOT_KEYS_EXTRACT_ALL_KEYS_FOR_DATABASE
(New)
This new function extracts all the encryption root keys
of a database and sends them to a client session as
a CLOB. The root keys of a tenant database can be
extracted using this function either in the tenant database
or in the system database if the system database has
encryption conguration control for the tenant database.
ENCRYPTION_ROOT_KEYS_EXTRACT_ALL_KEYS_FOR_DATABASE
Function (Security)
System Views (New and Changed)
KEY_MANAGEMENT_CONFIGURATIONS System View
(Changed)
A new column has been added: CONFIGURATION_ID.
KEY_MANAGEMENT_CONFIGURATIONS System View
TABLE_COLUMNS System View (Changed) The FUZZY_SEACH_MODE column as been increased
to display 32 characters. TABLE_COLUMNS System
View
M_BACKUP_CATALOG_FILES System View (Changed)
Four new columns have
been added: BACKINT_FALLBACK_USED,
CONFIGURATION_INCLUDED, COMPRESSED_SIZE,
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 81
COMPRESSION_ALGORITHM.
M_BACKUP_CATALOG_FILES System View
M_BACKUP_CONFIGURATION System View (Changed) Five new columns have been
added: IS_LOG_BACKUP_COMPRESSION_ENABLED,
LOG_BACKUP_COMPRESSION_ALGORITHM,
LOG_BACKUP_COMPRESSION_LEVEL,
DATA_BACKUP_COMPRESSION_ALGORITHM,
DATA_BACKUP_COMPRESSION_LEVEL.
M_CONNECTIONS System View (Changed)
Three new columns have been added: SSL_VERSION,
SSL_CIPHER, and HAS_SSL_CLIENT_CERTIFICATE.
M_CONNECTIONS System View
M_CS_INDEXES System View (Changed) Four new columns have been added
to the view: MEMORY_SIZE_IN_TOTAL,
MEMORY_SIZE_IN_CONCAT,
MOST_SELECTIVE_COLUMN_NAME, and
INVERTED_INDIVIDUAL_COST. M_CS_INDEXES
System View
M_DELTA_MERGE_STATISTICS System View (Changed) Several new columns have been added to the view for
improved monitoring. M_DELTA_MERGE_STATISTICS
System View
M_OUT_OF_MEMORY_EVENTS System View (Changed)
A new column has been
introduced: WORKLOAD_CLASS_NAME.
M_OUT_OF_MEMORY_EVENTS System View
A new
M_SERVICE_THREADS and
M_SERVICE_THREAD_SAMPLES System Views
(Changed)
A new column has been introduced:
WORKLOAD_CLASS_NAME. M_SERVICE_THREADS
System View, M_SERVICE_THREAD_SAMPLES System
View
M_SQL_ANALYZER_PLAN_TRACES System View (New)
Displays metadata of .plv les generated by the
PlanTracer. This information is provided for PUBLIC
users. M_SQL_ANALYZER_PLAN_TRACES System View
M_SQL_PLAN_CACHE System View (Changed)
Four new columns have been
introduced: TOTAL_EXECUTION_CPU_TIME,
AVG_EXECUTION_CPU_TIME,
MIN_EXECUTION_CPU_TIME, and
MAX_EXECUTION_CPU_TIME. M_SQL_PLAN_CACHE
System View
M_SQL_PLAN_STATISTICS System View (Changed)
Four new columns have been
introduced: TOTAL_EXECUTION_CPU_TIME,
AVG_EXECUTION_CPU_TIME,
MIN_EXECUTION_CPU_TIME, and
82 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
MAX_EXECUTION_CPU_TIME.
M_SQL_PLAN_STATISTICS System View
M_TABLE_REPLICATION_VOLUME_STATISTICS,
M_TABLE_REPLICATION_VOLUME_STATISTICS_RESET,
M_TABLE_REPLICATION_VOLUME_HISTORY System
Views (New)
Three new monitoring views have been
introduced for monitoring asynchronous table
replication (ATR), optimistic synchronous table
replication (OSTR), and remote table replication
(RTR). M_TABLE_REPLICATION_VOLUME_STATISTICS,
M_TABLE_REPLICATION_VOLUME_HISTORY,
M_TABLE_REPLICATION_VOLUME_STATISTICS_RESET
USERGROUPS System View (Changed)
The IS_CLIENT_CONNECT_ENABLED column has been
added in support of the ability to enable and disable
client connections by usergroup.USERGROUPS System
View
VIRTUAL_FUNCTIONS System View (Changed) Three new columns have been
added: FUNCTION_USAGE_TYPE, OWNER_NAME,
CREATE_TIME. VIRTUAL_FUNCTIONS System View
VIRTUAL_FUNCTION_PARAMETERS and
VIRTUAL_FUNCTION_PARAMETER_COLUMNS System
Views (New)
Two new views have been added to
support virtual table user-dened functions.
VIRTUAL_FUNCTION_PARAMETERS System View,
VIRTUAL_FUNCTION_PARAMETER_COLUMNS System
View
Embedded Statistics System View (New and Changed)
HOST_DELTA_MERGE_STATISTICS
System View (Changed)
Several new columns have been added to the view for
improved monitoring. HOST_DELTA_MERGE_STATISTICS View
(Embedded Statistics Service)
Other Changes by Feature Name (New and Changed)
Scheduler
Job (New
and
Changed)
You can now create, alter, drop, and comment on scheduler jobs. Several views were also created
to support this feature.
DROP SCHEDULER JOB Statement (Data Denition)
COMMENT ON Statement (Data Denition)
SCHEDULER_JOB_PARAMETERS System View
SCHEDULER_JOBS System View
M_SCHEDULER_JOBS System View
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 83
HINT
Details
(New and
Changed)
The following new hints have been added:
CS_JOIN_REDUCTION_MULTICOLUMN_FIRST(<table_name><column_name>)
Species
the column
to be
evaluated
rst in the
JoinEngine
semi-join
reduction, in
the case of a
multicolumn
join with
skewed data
distribution.
HINT Details
SESSION
USER Data
Masking
(Changed)
Tables and views now support session user data masking. CREATE TABLE Statement
(Data Denition), ALTER TABLE Statement (Data Denition), CREATE VIEW Statement (Data
Denition), ALTER VIEW Statement (Data Denition), TABLES System View, VIEWS System View,
EFFECTIVE_MASK_EXPRESSIONS System View
Monitor
Table
Partition
Operations
(Changed)
You can now monitor the history of all partition-relevant operations on a partitioned table.
The conguration parameter enable in the table_partition_operation_tracesection in the
ALTER SYSTEM ALTER CONFIGURATION statement lets you turn monitoring ON and OFF.
ALTER SYSTEM ALTER CONFIGURATION Statement (System Management), SAP HANA
Conguration Parameter Reference
The M_TABLE_PARTITION_OPERATIONS monitoring view lets you view Partition
Operation Tracing information from the memory ring buer or disk trace les.
M_TABLE_PARTITION_OPERATIONS System View
The new TABLE PARTITION OPERATIONS trace_type in the ALTER SYSTEM CLEAR TRACES
statement lets you clear the monitored information. ALTER SYSTEM CLEAR TRACES
Statement (System Management)
Use
Certicate
Names
when
Creating
Certicates
When creating or dropping certicates and PSEs, you can now specify a certicate name or a
certicate id. The CERTIFICATES and PSE_CERTIFICATES System Views have been updated to
include the certicate name. CREATE CERTIFICATE Statement (System Management), DROP
CERTIFICATE Statement (System Management), ALTER PSE Statement (System Management),
CERTIFICATES System View, PSE_CERTIFICATES System View
84 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
4.5.2SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Spatial.
Grid Generator Functions (New)
Grid generators create tables with geometries. The created geometries cover given geometries:
ST_SquareGrid generates a grid consisting of square cells.
ST_RectangleGrid generates a grid consisting of rectangular cells.
ST_RectangleGridBoundingBox generates a grid consisting of rectangular cells, aligned with the geometry
bounding box.
ST_SquareGrid Function
ST_RectangleGrid Function
ST_RectangleGridBoundingBox Function
ST_ClosestPointOfApproach Method (New)
Computes the smallest measure (rst point in time if measure represents time) at which two trajectories are at
closest distance to each other. The trajectories are given as LineString with m-coordinate as measure.
ST_ClosestPointOfApproach Method
ST_Centroid Method (Changed)
Returns the ST_Point value that is the mathematical centroid of the geometry value.
ST_Centroid used to support multipolygon values and polygon values only.
ST_Centroid Method
Support for EsriJSON (New)
SAP HANA Spatial supports the EsriJSON format. The EsriJSON format denes, among other types, the
geometry and spatial reference objects returned by ArcGIS REST API. EsriJSON diers in some details to
GeoJSON.
ST_AsEsriJSON Method
ST_GeomFromEsriJSON Method
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 85
Supported Import and Export Formats for Spatial Data
SRID NULL (New)
When creating a table NULL can be assigned to SRID (ST_Point(NULL), ST_Geometry(NULL)). Each INSERT
statement has to contain the SRID of the inserted geometry. Dierent rows can have dierent SRIDs. If there is
a column with this property no spatial reference systems can be deleted.
Column Denition and Column Conguration
DROP SPATIAL REFERENCE SYSTEM <srs-name> Statement
DROP SPATIAL REFERENCE SYSTEM IDENTIFIED BY <srs-id> Statement
DROP UNUSED SPATIAL REFERENCE SYSTEMS Statement
ST_IsValidTrajectory Method (New)
Determines whether a given geometry is a valid trajectory. A valid trajectory is a LineString or CircularString
with strictly increasing m-coordinates as measure.
ST_IsValidTrajectory Method
ST_AsSVG Method, ST_AsSVGAggr Method (Changed)
ST_AsSVG, ST_AsSVGAggr interpolates geometries on a round-earth spatial reference system as they will be
projected onto a plane for the SVG representation. For round-earth reference systems the geometries are also
split on the anti-meridian (±180° longitude). This may result in more geometries in the output SVG.
ST_AsSVG Method
ST_AsSVGAggr Method
ST_Transform Method (Changed)
The on_error parameter species the behavior in case of transformation errors.
ST_Transform Method
ST_MakePolygon Method (New)
Creates a polygon from a given exterior ring (shell) and an optional collection of interior rings (holes).
86
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
ST_MakePolygon Method
SEED Parameter in K-Means Clustering (New)
Seed is used for initializing random clusters.
K-Means
Window Functions
GROUP CLUSTER BY
4.5.3SAP HANA Client Interfaces (New and Changed)
The documentation on SAP HANA Client Interfaces has moved to another page.
To see what's new and changed, see What's New in the SAP HANA Client.
4.5.4SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for the Predictive Analysis Library (PAL).
SAP HANA Platform 2.0 SPS 06 introduces the following new functions.
Unied regression function (new)
Unied regression function is introduced to standardize the behaviors of the regression functions, also
more extended metrics are introduced through the unied regression functions only. Pivoted data input/
output support is also enabled for the unied regression function.
Reason code support is enabled for the following functions through unied regression interfaces:
Decision Tree
Random Decision Tree
Hybrid Gradient Boosting Tree
Exponential Regression
Generalized Linear Models
Multiple Linear Regression
Multilayer Perceptron
Support Vector Machine
The following new statistics are added to the unied regression interfaces and also the original function.
Decision Trees - R^2, MSE, RMSE, MAE, MAPE, WMAPE, Explained Variance, Max_Error
Random Decision Trees - R^2, MSE, RMSE, MAE, MAPE, WMAPE, Explained Variance, Max_Error
Hybrid Gradient Boosting Tree - R^2, MSE, RMSE, MAE, MAPE, WMAPE, Explained Variance,
Max_Error
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 87
Exponential Regression - WMAPE, Explained Variance, Max_Error Mean Squared Log Error
Generalized Linear Models - bic
Multiple Linear Regression - R^2, MSE, RMSE, MAE, MAPE, WMAPE, Explained Variance, Max_Error
Multilayer Perceptron - WMAPE, Explained Variance, Max_Error
Support Vector Machine - R^2, MSE, RMSE, MAE, MAPE, WMAPE, Explained Variance, Max_Error
Bi-Variate Geometric Regression - WMAPE, Explained Variance, Max_Error
Bi-Variate Natural Logarithmic Regression - WMAPE, Explained Variance, Max_Error
Polynomial Regression - WMAPE, Explained Variance, Max_Error
Unied regression also supports the application function library (AFL) state.
Unied Regression
Unied Exponential Smoothing (new)
Unied Exponential Smoothing provides a unied input for the following functions, also massive call model
is enabled inside the function.
SESM (Single Exponential Smoothing)
DESM (Double Exponential Smoothing)
TESM (Triple Exponential Smoothing)
BESM (Brown Exponential Smoothing)
AESM (Auto Exponential Smoothing)
MSESM (Massive Single Exponential Smoothing)
MDESM (Massive Double Exponential Smoothing)
MTESM (Massive Triple Exponential Smoothing)
MBESM (Massive Brwon Exponential Smoothing)
MAESM (Massive Auto Exponential Smoothing)
Unied Exponential Smoothing
VARMA (new)
The vector autoregressive moving average models (VARMA) are the vector form of autoregressive
integrated moving average (ARIMA). VARMA is used to examine the relationships among several variables
in multivariate time series analysis, while ARIMA is used in univariate time series.
VARMA
Discrete Wavelet Transform (new)
Discrete wavelet transform (DWT) was introduced in the late 1980s. DWT transform decomposes a given
signal into a number of sets, including an approximation coecient set (cA) and multiple detail coecient
sets (cD). These coecient sets are obtained by convolving the signal with the low-pass lter and the
high-pass lter over time.
Discrete Wavelet Transform
Discrete Wavelet Packet Transform (new)
Discrete wavelet packet transform (DWPT) decomposes both the approximation part and the deatil part,
while discrete wavelet transform (DWT) only decomposes the approximation part.
Discrete Wavelet Packet Transform
Online Multi-Class Logistic Regression (new)
Online version of Multi-Class Logistic Regression. It is used when the training data are obtained for multiple
rounds and the model will be continuously updated.
Multi-Class Logistic Regression
Dynamic time warping (DTW) (new)
88
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Dynamic time warping (DTW) calculates the distance or dissimilarity between two series. Comparing with
existing Fast DTW, it has the following dierences:
Supports boundary conditions with parameter BEGIN_END_ALIGNMENT
Supports more step patterns
Supports query and reference data input
Dynamic Time Warping
Intermittent Time Series Forecast (ITSF) (new)
A new advanced intermittent time series forecast method. ITSF supports automatic parameter selection.
Intermittent Time Series Forecast (ITSF)
Bayesian Change Point Detection (BCPD) (new)
Bayesian Change Point Detection (BCPD) is used to detect abrupt change points in the time series.
Bayesian Change Point Detection
Generalized AutoRegressive Conditional Heteroskedasticity (new)
The Generalized AutoRegressive Conditional Heteroskedasticity (GARCH) model is used to predict the
variability of time series uctuation.
GARCH
Spectral Clustering (new)
Spectral Clustering is a new cluster method that is useful when a measure of the center and spread of the
cluster is not a suitable description of the complete cluster.
Spectral Clustering
Categorical Principal Component Analysis (new)
Principal component analysis (PCA) aims at reducing the dimensionality of multivariate data while
accounting for as much of the variation in the original data set as possible. The Categorical Principal
Component Analysis added the support of categorical data types (VARCHAR, NVARCHAR).
Categorical Principal Component Analysis
Bayesian Structural Time Series (BSTS) (new)
Bayesian structural time series (BSTS) model is used for time series analysis including forecasting,
decomposition and feature selection.
Bayesian Structural Time Series
Feature Selection (new)
Feature selection(FS) is a dimensionality reduction technique, which selects a subset of relevant features
for model construction, thus reducing the memory storage and improving computational eciency while
avoiding signicant loss of information. It supports the following FS algorithms now:
Statistics based FS methods
Information theory based FS methods
Similarity based FS methods
Sparse Learning Based FS method
Wrapper method
Feature Selection
SAP HANA Platform 2.0 SPS 06 introduces the following enhancements to the existing functions.
Local Interpretability of Models and background data support (changed)
SVM, Naive Bayes, MLP (Based on background data)
KNN
Local Interpretability of Models
KNN
KORD with multiple consequence (changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 89
New parameter MAX_CONSEQUENT is added for function _SYS_AFL.PAL_KORD. Supporting maxium 3
consequents.
K-Optimal Rule Discovery (KORD)
Window function support in Fast Fourier Transform (changed)
the following new parameters are added for function _SYS_AFL.PAL_FFT to support tappering windows in
FFT.
WINDOW
WINDOW_START
WINDOW_LENGTH
ALPHA
BETA
ATTENUATION
MODE
PRECISION
R
Fast Fourier Transform
Hybrid Gradient Boosting Tree (changed)
Lossless model compression is used to reduce the model size for HGBT without heavy impact on training
and predicting performance. HGBT is available on both original function and unied function. The new
parameter COMPRESSION and MAX_BITS are added for function *AFL_SYS.PAL_HGBT to support model
compression.
Now HGBT supports a new splitting method of "histogram" which is faster than the default one. Histogram
can be enabled by setting the parameter SPLIT_METHOD, and another new parameter MAX_BIN_NUM is
used to congure this splitting method.
HGBT supports multiple object functions set by new parameter OBJ_FUNC. A new parameter
TWEEDIE_POWER is added to cooperate with one of the new object function. Two extra parameters
REPLACE_MISSING and DEFAULT_MISSING_DIRECTION are added, indicating whether to replace missing
value in the training data set by some rules and which child node missing value should be followed by
default.
HGBT can combine several features into one if those features do not have more than one signicant value
simultaneously. This action is controlled by parameter FEATURE_GROUPING and TOLERANT_RATE.
HGBT added a new method _SYS_AFL.PAL_HGBT_CONTINUE, which can
Accept a previously trained model and continue training based on it.
Output a combined model after training.
Hybrid Gradient Boosting Tree
Performance improvements on K-Means (changed)
With the following new parameters added for function _SYS_AFL.PAL_KMEANS, an accelerated version of
K-MEANS is provided.
USE_FAST_LIBRARY
USE_FLOAT
K-Means
Accelerated K-Means (changed)
With the following new parameters added for function _SYS_AFL.PAL_KMEANS, an performance improved
version of Accelerated K-MEANS is provided.
USE_FAST_LIBRARY
USE_FLOAT
90
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Accelerated K-Means
MCMC sampling (changed)
Multiple dimension (>2) support for MCMC sampling with the 'DIMENSION' parameter.
The following new distributions are now supported in MCMC sampling function, also added a new
'DISTRIBUTION_PARAM' parameter for this. BLOB type is also supported now in the output table.
invchi_square
gamma
weibull
frechet
rayleigh
multinormal
multinormalprec
multinormalcholesky
multistudent_t
dirichlet
Beta distribution
Inverse gamma distribution
Lognormal distribution
Lomax distribution
Pareto distribution
MCMC Sampling
Categorical feature support and explanation in ARIMA (changed)
Data table columns (after the 1st one) now support NVARCHAR and NVARCHAR types, with this
enhancement, categorical feature is supported for ARIMA/ARIMAX
ARIMA added a new forecast method _SYS_AFL.PAL_ARIMA_EXPLAIN method which can:
Decomposes the forecast into several components.
Provide the contribution value of each feature as the explanation.
ARIMA
Unied classication (changed)
Add reason code support for Multi-logistic regression.
Unied behavior of SELECTED_FEATURES in unied classications.
AFL state support.
Unied Classication
Precalculated distances in Agglomerate Hierarchical Clustering (changed)
New parameter value '11: Precalculated Distance' is added for DISTANCE_FUNC to support precalcuated
distance in Agglomerate Hierarchical Clustering function
Agglomerate Hierarchical Clustering
Categorical feature support and explanation in Additive Model Time Series Analysis (changed)
With the embedded bayesian encoding capability, users now can directly input categorical features in
Additive Model Time Series Analysis model.
Additive Model Time Series Analysis added a new forecast method
_SYS_AFL.PAL_ADDITIVE_MODEL_PREDICT method which can:
Decompose the forecast into several components.
Provide the contribution value of each feature as the explanation.
Additive Model Time Series Analysis
All features are enabled categorical in SMOTE and SMOTETomek (changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 91
Before SMOTE and SMOTETomek only support VARCHAR/NVARCHAR data types for independent
features. Now all features support it.
SMOTE
SMOTETomek
Json model support in Random Decision Trees (changed)
Random Decision Trees(RDT) now support JSON model type with the newly added MODEL_FORMAT
parameter.
Random Decision Trees
4.5.5SAP HANA Analytics Catalog (BIMC Views) (New)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Analytics Catalog (BIMC
Views).
View BIMC_HIERARCHIES_SQL (New)
This view provides meta data about modeled SQL hierarchies. The SQL hierarchy view can be found in the
column HIERARCHY_VIEW_SQL.
View BIMC_HIERARCHIES_SQL
4.5.6SAP HANA Embedded Statistics Service Catalog
(_SYS_STATISTICS) (New and Changed)
SAP HANA Platform 2.0 SPS 06 introduces new and changed features for SAP HANA Embedded Statistics
Service (ESS).
Embedded Statistics Service Workload Class (New)
The SAP HANA system resources utilized by the Embedded Statistics Service (ESS) are managed by a default
workload class and mapping.
Embedded Statistics Service Workload Class
SAP HANA NSE Support for the Statistics Server (New)
You can activate and deactivate NSE for column tables in the SAP HANA Statistics server using the following
'PAGE LOADABLE' procedures.
92
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
Activate SAP HANA NSE:
CALL _SYS_STATISTICS.SHARED_ALTER_PAGE_LOADABLE;
Deactivate SAP HANA NSE:
CALL _SYS_STATISTICS.SHARED_ALTER_DEFAULT_LOADABLE;
SAP HANA NSE Support for the Statistics Server
System Replication: Monitoring Secondary Systems (Changed)
Support for monitoring secondary systems has been enhanced by additional event checkers and collectors in
the embedded statistics service. These are used to gather more detailed information about the status of the
replicating systems. A new alert (#990 System Replication support issue in ESS) has been added which is
triggered if the collection service fails.
Monitoring Secondary Systems
ESS Alert #141 "Checking System Logging is Enabled" Added (New)
While logging is disabled, no log entries persist; only the data area is written when a savepoint is reached.
Alerts Reference
ESS Alert #144 "Checks if Table Logging is Disabled" Added (New)
While table logging is disabled, no DML specic log entries are persisted: only the tables data area is written
when a savepoint is reached.
Alerts Reference
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 06 Features
PUBLIC 93
5 SAP HANA Platform 2.0 SPS 05 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 05.
5.1 Installation and Update
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for installation and update.
SAP HANA Server Installation and Update (New and Changed) [page 94]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the installation and update of
SAP HANA.
5.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the installation and update of SAP
HANA.
Volume Encryption (New)
Data and log encryption can be enabled for a database during installation with the 'volume_encryption'
parameter.
volume_encryption
Local Secure Store (Changed)
As of SAP HANA 2.0 Support Package Stack (SPS) 05, the local secure store is approved for use in production
environments.
The Local Secure Store (LSS) is an SAP HANA component that can be installed using the SAP HANA database
lifecycle manager (HDBLCM). The local secure store must be enabled from the command-line before it can
be used. To activate the local secure store during the installation or update, run hdblcm with the parameter
secure_store=localsecurestore.
Local Secure Store (LSS)
94
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.2 Security
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for security.
SAP HANA Database Security (New and Changed) [page 95]
SAP HANA Platform 2.0 SPS 05 introduces new and changed security-related features for the SAP
HANA database.
5.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed security-related features for the SAP HANA
database.
Local Secure Store (New and Changed)
The local secure store (LSS), introduced in SAP HANA 2.0 SPS 04, is now available for use in production
environments.
The local secure store can now be connected to the SAP Data Custodian Key Management Service. This
provides additional security for the payloads stored in the LSS.
You can create a conguration to connect the local secure store to the SAP Data Custodian
Key Management Service using the SQL statements ALTER SYSTEM ADD KEY MANAGEMENT
CONFIGURATION, ALTER DATABASE ADD KEY MANAGEMENT CONFIGURATION, ALTER SYSTEM
ACTIVATE KEY MANAGEMENT CONFIGURATION, and ALTER DATABASE ACTIVATE KEY MANAGEMENT
CONFIGURATION. Information about existing congurations is available in the new monitoring view
KEY_MANAGEMENT_CONFIGURATIONS.
Using the LSS with an External Key Management System
5.3 Administration
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for administration.
SAP HANA Cockpit (New and Changed) [page 96]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA cockpit with
SAP HANA cockpit support package (SP) 12.
SAP HANA System Administration (New and Changed) [page 112]
SAP HANA introduces new and changed administration features.
SAP HANA Database Backup and Recovery (New and Changed) [page 114]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA backup and
recovery.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 95
SAP HANA Smart Data Access (New and Changed) [page 115]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Application Run-Time Services (New and Changed) [page 116]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the application run-time
services in SAP HANA.
5.3.1SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA cockpit with SAP
HANA cockpit support package (SP) 12.
SAP HANA Cockpit SP 12 Features [page 96]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 12.
SAP HANA Cockpit SP 11 Features [page 105]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 11.
5.3.1.1 SAP HANA Cockpit SP 12 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 12.
Administration and Monitoring [page 97]
SAP HANA cockpit SP 12 introduces new and changed features for administration and monitoring.
Backup and Recovery [page 100]
SAP HANA cockpit SP 12 introduces new features and enhancements for backup and recovery.
Performance Monitoring and Analysis [page 100]
SAP HANA cockpit SP 12 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 101]
SAP HANA cockpit SP 12 introduces new and changed features for user management and security
administration.
High Availability and Scalability [page 102]
SAP HANA cockpit SP 12 introduces new features and enhancements for high availability.
SAP HANA Database Explorer [page 103]
SAP HANA cockpit SP 12 introduces a new version of the SAP HANA database explorer with new and
changed features.
96
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.3.1.1.1 Administration and Monitoring
SAP HANA cockpit SP 12 introduces new and changed features for administration and monitoring.
User Interface Enhancements
Database Directory
(Enhancements)
The Resource Directory has been renamed the Database Directory.
The Memory, CPU, and Disk columns now contain visual usage and threshold
indicators. Clicking on these graphs takes you to the Performance Monitor where
you can nd more detailed statistics.
The Availability / Performance / Capacity column has been removed from the
default view. To re-enable it, click the  (Table Personalization) icon.
Values in the Status column are order by severity, with databases that have the
statuses Error, Stopped, and No SQL Access appearing rst and databases that have
the status Running appearing last.
You now have the option of enabling new OS Version and Kernel Version columns
in the Database Directory. The OS and Kernel versions are also displayed on the
Database Information card on the Database Overview.
Databases with the usage type Production are now labeled for quicker and easier
classication.
The table header now remains visible no matter how far you scroll down the table.
A new Expensive Statements column shows the number of expensive statements
that have run for your databases. Clicking on the number takes you to the Expensive
Statements tab on the Monitor Statements page.
A new, unlabeled, column shows you the Database Management link, if the database
is a SYSTEM database, or the SQL Console link, if the database is a tenant database.
Wildcard options are now supported when searching for databases on the Database
Directory page in SAP HANA Cockpit or for registered databases in SAP HANA
Cockpit Manager.
The Database Directory Page
Database Overview
(Enhancements)
The System Overview page has been renamed to the Database Overview page.
The Overall Database Status card has been changed to the Services card.
All help links have been moved to the drop-down Help menu under the  (Help)
icon, located at the top-right of the page.
You can now search for and open any application on the Navigation menu.
On any page, you can see general database information by clicking the instance
name in the header bar.
The Alerting and Diagnostics card now contains the Congure Tracing link that opens
the Trace Conguration tab in the SAP HANA database explorer.
Refresh frequencies of less than a minute have been added.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 97
To simplify the Database Overview page, the cards are organized into one of four
views: All, Monitoring, Administration, and Security and User Management. You
choose the view best suited for your tasks.
The Database Overview Page Database Default View
Switch Databases
From All
Applications
You can now switch to another database from most applications in the SAP HANA
cockpit. Click the  (Switch Database) icon in the top right-hand corner of your
application. You can switch to more than one database; the additional databases will
open in the same application in new browser tabs.
If you do not have the necessary privilege to open the selected database in that
application, or that application doesn't apply to the selected database, then an error
is returned. If the specic application doesn't support switching databases, then the icon
is not visible.
For example, if you are in the Alerts application and you try to switch to a stopped
database, an error is returned.
Administration
Congure Database
Restart
If any parameters that are added or changed during an operation require a database
restart before they take eect, then you are now notied choose whether to restart
the database immediately, or later.
Database Conguration in SAP HANA Cockpit
Collecting Diagnosis
Information
(Enhancement)
If you are connected to a HANA system that is version 2.0 SPS 04 revision 45 or later,
then you can now choose to collect and download diagnosis information for a specic
database, rather than all databases in the system.
If the SYSTEM database is online, then you can choose to download diagnostic
information for only the SYSTEM database, for specied tenant databases, or for all
databases in the system.
If the SYSTEM database is oine, then you can choose to download diagnostic
information for either the SYSTEM database or for specied tenant databases.
If your database version is later than HANA 2.0 SP 03 Revision 037 then you can
choose to collect diagnostic information from Perspage Dumps.
Collect and Download Diagnosis Information
Apply an Alert
Denition Across
Database (New)
When enabling or modifying an alert denition, you can apply the change to multiple
databases.
Congure Alert Thresholds
Table Distribution
(Enhancement)
For SAP HANA 2.0 SPS 03 or higher, the Current Table Distribution page now shows
In-memory and Persistent Memory values per table or group.
98 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
You can now split groups when generating a table redistribution plan or include
grouping options specic to SAP S4/HANA systems.
The Table Group Advisor is now a standalone application as well as being part of
generating a table redistribution plan.
Table Distribution
Creating
Workload Classes
(Enhancement)
When creating workload classes, some elds now accept wildcards.
Create a Workload Class
Monitoring
Congure Buer
Cache Size
You can now set the maximum buer cache size from the Buer Cache Monitor by
using the Congure Buer Cache Size button. Set the maximum size to a percentage of
SAP HANA memory and/or cap the size to a maximum MB value.
View and Congure the Native Storage Extension Buer Cache Monitor
Admission Control
(Enhancement)
A new Admission Control card has been added to the Database Overview. This card
allows you to quickly determine whether your database is accepting, queuing, or
rejecting requests. To determine why request are being either queued, or rejected,
click the  (Information) icon for more information. To open the Admission Control
Monitor, click any of the rows on the Admission Control card.
Manage Admission Control Advanced Analytics
Persistence Memory
Monitor (New)
Use the new Persistence Memory Monitor to congure persistent memory in your SAP
HANA database, and to monitor and manage data stored in the persistent memory.
You must have already set up persistence memory when you installed your SAP HANA
database.
View and Congure the Persistent Memory Monitor
Memory Analysis
(Enhancement)
You can now view the denition for memory allocators in the Allocators tab of the
Memory Analysis page by clicking on the respective icon.
Memory Analysis
Cockpit Manager
EarlyWatch Alert
(Enhancements)
Database-
Specic S-
Users
You can now set an S-User for a specic database, rather than
being restricted to using only one set of S-User credentials for all
cockpit databases.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 99
You can also congure a database-specic schedule for
EarlyWatch Alert collection and transmission.
Set a database-specic S-User and EWA schedule by clicking
Manage Databases from the Database Directory and clicking Edit
on the specic database.
Managing SAP EarlyWatch Alert Global and Database-Specic
Settings
Test
Connection
Button
When conguring global EarlyWatch Alert settings in the Cockpit
Manager, you can now immediately verify that your settings are
correct by clicking the new Test Connection button.
Deactivate Cockpit
Users (New)
You can temporarily deactivate instead of delete cockpit users in the Cockpit
Manager.
Deactivate or Activate a Cockpit User
Importing and
Exporting Databases
(Changed)
If you include the technical user when exporting databases, a placeholder for the
password is also exported. You can enter the actual password in place of it during a
corresponding import.
Import Databases Export Databases
5.3.1.1.2 Backup and Recovery
SAP HANA cockpit SP 12 introduces new features and enhancements for backup and recovery.
Flexible Thresholds for
Multistreaming Backint
Backups (New)
You can now specify a threshold size for multistreamed backups through third-
party backup tools.
When multistreaming is enabled, multiple streams are used to create backups that
are greater than this specied size. For backups that are smaller than the specied
threshold, only one stream is used.
Backup Conguration Settings
5.3.1.1.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 12 introduces new and changed features for performance monitoring and analysis.
Expensive
Statements
(Enhanced)
The Expensive Statements view on the SQL Statements page oers the followings:
You can now jump to Table Distribution from the Expensive Statements view.
You can now see information on the Execution Location by adding it to the table from
settings.
100 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Statements
Plan Trace
(Enhanced)
You can now set maximum disk space and maximum memory for Plan Trace in the
Conguration dialog.
Manage and Analyze Statements with Plan Trace
SQL Plan Stability
(Enhanced)
The tool is now known as SQL Plan Stability instead of Plan Stability. It now oers
multiple lter options for captures. Manage SQL Plan Stability
5.3.1.1.4 User Management and Security Administration
SAP HANA cockpit SP 12 introduces new and changed features for user management and security
administration.
Temporarily Deactivate
Cockpit Users (New)
You can prevent access to SAP HANA Cockpit by temporarily deactivating a
cockpit user. Credentials and privileges are preserved for the user, and are
restored when the user is reactivated.
Deactivate or Activate a Cockpit User
Add Technical User
Passwords to the Export
File Before Importing
(Changed)
When you edit the JSON export le to add passwords before performing an
import.
Add the Technical User Password to the Export JSON File Import Databases
Single Sign-on (SSO) with
Kerberos (New)
You can now use SSO with Kerberos to log in to SAP HANA Cockpit.
Enabling SSO with Kerberos Create or Enable an SAP HANA Cockpit User
Assigning Roles (New)
You can now assign a role to one or more database users.
Assign Roles to Database Users
Conguration Wizard for
User Group Management
(New)
You can use a new wizard to quickly apply a basic conguration for user groups.
Congure the Base Setup for User Groups
Conguration Wizard for
Audit Policies (New)
You can use a new wizard to quickly apply a basic conguration for audit
policies.
Congure the Base Setup for Audit Policies
License Management
(Enhanced)
From a system database, you can now see all the licenses installed in the
system. This includes the licenses installed in the system database and licenses
installed in the tenant databases. You can quickly see whether a tenant
database is using the system database license, or whether it has its own license.
View Licenses
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 101
5.3.1.1.5 High Availability and Scalability
SAP HANA cockpit SP 12 introduces new features and enhancements for high availability.
Takeover history (New)
In the Takeover History tab on the System Replication Overview, you have now an overview of the entire
takeover and time travel history available.
Monitoring SAP HANA System Replication
Available snapshots for secondary time travel (New)
You can now see the available snapshots for secondary time travel on the System Replication Overview.
To prepare the secondary system for time travel, snapshots are kept on the secondary system for a dened
time travel period. These snapshots can be used later to start the system at an older point in time. Additional
log will be retained on the secondary system starting from the oldest time travel snapshot. After opening the
old snapshot, the additional log has to be replayed to reach the requested point in time.
Use Secondary Time Travel
Invisible takeover parameter setting (New)
You can now turn on the invisible takeover option in the Parameter Settings tab.
Dierently from a standard takeover, an invisible takeover ensures that the client reconnects to the primary
system and the sessions are restored to the secondary system.
Monitoring SAP HANA System Replication
Primary status information for takeover with handshake (New)
After a takeover with handshake, you can now see on the system overview that the primary is suspended.
102
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.3.1.1.6 SAP HANA Database Explorer
SAP HANA cockpit SP 12 introduces a new version of the SAP HANA database explorer with new and changed
features.
Change a Database
Name (New)
You can now change the name that is displayed for your database in the catalog
browser tree. Right-click your database and click Properties, then edit the Name to
Show in Display eld.
Add a Database
With a Dierent
User (New)
When adding a cockpit database to the database explorer, you can now choose to enter a
User and Password that is dierent than that provided in the cockpit for that database.
Moreover, once you've added a database to the database explorer, you can go back later
and re-add it with dierent user credentials by right-clicking the database and clicking Add
Database with Dierent User.
Add a Database to the SAP HANA Database Explorer.
SQL Console
(Enhancements)
The SQL Console page of the Global Preferences contains the following new options:
On error Allows you to control the behavior of the SQL console when it
encounters a SQL error. You can choose the following actions: Stop,
Continue, or Prompt.
Command
Separator
If your SQL statements contain a custom command separator,
then set the custom separator in the SQL Console section of the
Global Preferences so that the parser recognizes your command
separator. Command separators dier from statement delimiters in
that they separate commands, which can be either a single-line SQL
statement or a block of SQL statements that are separated by their
own statement delimiter.
A new History tab has been added to the SQL console. This tab shows the 50 most
recently executed statements.
For more information, see Querying the Database.
Statement
Help (New)
Use the new SQL console side panel to access syntax for SQL
statements and to view metadata SQL objects. You can view the
following information:
Statement/
Syntax
View the syntax of the statement you are
currently editing and use the statement link
to access full reference documentation for the
statement.
Tables and
Views
View information on the tables or views being
referenced in the current statement and use the
title link to open the table or view denition.
Procedures and
Functions
View information on procedures or functions
being referenced in the current console and
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 103
use the link to open the procedure or function
denition.
SQL Functions View information on built-in functions and use the
link to access full reference documentation for the
function.
Import Catalog
Objects
(Enhancement)
If you are including object data when importing a catalog object, you now have the
option of selecting Fail import if it contains invalid data. Selecting this checkbox on the
Import Catalog Objects dialog ensures that your import is canceled if any of the object
data is incomplete or corrupt.
See Import Schemas, Tables, and Other Catalog Objects.
Table Editor
(Enhancement)
The table editor now contains a Runtime Information tab that displays general
information and information about memory and disk usage, as well as partitions,
and columns.
Database
Overview
(New)
Right-click a database in your catalog browser and click Show Overview to view general
information about your database such as information about Disk Usage,Used Memory,
Resident Memory, CPU Usage, system usage type, the most recently started service, and
the version.
In SAP Web IDE, the Overview tab is not available for HDI containers.
Column Views
(Enhancement)
When searching for column views, you can now select the lter icon to lter your results
by Calculation Views, Calculation Views and User-Dened Hierarchies, or All.
Smart Data
Integration
(Enhancements)
The following enhancements have been made to SDI catalog objects:
Adapters
On the Adapters overview page, use the new Reload button to
update your selected adapter, or use the new  Remove Location
button to remove the adapter from an agent instance.
Agents
You can now create, edit, and drop agents from the Agents
overview page.
You can also add an adapter for your agent by clicking the new
Add Adapter button in the Agents overview page when you have
an agent selected.
Agent Groups
You can now create and drop agents from the Agent Groups
overview page.
You can also add an agent to your agent group by clicking the new
Add Agent button in the Agent Groups overview page when you
have an agent selected.
Remote
Subscriptions
(Enhancements)
The Remote Subscriptions tab for SDI remote subscriptions
now allows to Queue, Distribute, Reset, and Drop the remote
subscription.
104 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Tasks
(Enhancements)
For SDI tasks, you can now execute a task and cancel a running
task in the Tasks tab.
Remote
Statements
As part of an SDI task execution, you can now see the remote
statements that were executed. Click on a task in the catalog
browser to view the task's details, then click on either a
completed execution or the specic partition of a completed
execution and click the  Remote Statements button to view
remote statements for the task.
You can also choose to stop the task once it has started.
For more information about SDI and the privileges required to work with SDI objects, see
the SAP HANA Smart Data Integration and SAP HANA Smart Data Quality guide.
Tracing
(Enhancements)
Expensive
Statements Trace
(Enhancement)
When conguring expensive statements trace, you can now
congure the following settings:
CPU Threshold
Memory Threshold
Table or View Filter
Store Trace Information
In-Memory Tracing Records
Trace Flush Interval
Viewing
Diagnostic Files
(Enhancement)
To view a diagnostic le in an editor, you now right-click the le and
click Show Files in the context menu.
Binary trace les are now identied in the catalog browser by a
binary icon and you can no longer open binary trace les from the
catalog browser. Binary trace les can only be downloaded.
Trace les have also been enhanced to be more user-friendly by
containing the following information in their tooltips:
the full le name
the le size
the last modied time
Performance
Tracing (New)
You can now congure performance tracing in the database
explorer.
See Performance Trace and Congure Tracing in the SAP HANA
Database Explorer, View Diagnostic Files in the SAP HANA
Database Explorer.
5.3.1.2 SAP HANA Cockpit SP 11 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 11.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 105
Administration and Monitoring [page 106]
SAP HANA cockpit SP 11 introduces new and changed features for administration and monitoring.
Backup and Recovery [page 108]
SAP HANA cockpit SP 11 introduces enhancements for backup and recovery.
Performance Monitoring and Analysis [page 109]
SAP HANA cockpit SP 11 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 109]
SAP HANA cockpit SP 11 introduces new and changed features for user management and security
administration.
High Availability and Scalability [page 111]
SAP HANA cockpit SP 11 introduces new features for high availability.
SAP HANA Database Explorer [page 111]
SAP HANA cockpit SP 11 introduces a new version of the SAP HANA database explorer with new and
changed features.
5.3.1.2.1 Administration and Monitoring
SAP HANA cockpit SP 11 introduces new and changed features for administration and monitoring.
Managing Landscapes (New and Enhanced)
SAP EarlyWatch Alert
Service (Enhancement)
You can now view alerts, critical information, and recommendations
If a cockpit resource has been congured to use SAP EarlyWatch Alert service, then
users can use the Alerts card on the resource's System Overview to view alerts,
critical information, and recommendations generated by the EWA service.
Resource Directory
(Enhancements)
Filters Now Accept
Multiple Values
You can now enter more than one value in the lters on the
Resource Directory.
XSA Version
Available in
Resource Directory
You can view the XSA version of your resource by clicking the
Table Personalization icon (Table Personalization) and
selecting the XSA Version checkbox in the Columns dialog.
106 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Managing Resources (New and Enhanced)
Table
Distribution
(New and
Enhanced)
Table Partitioning
(New)
You can now perform rst and second-level table partitioning from
the View Current Table Distribution page. You can also merge table
partitions.
Launch the Table
Redistribution Plan
Generator for a
Specic Element
(Enhancement)
You can generate a redistribution plan for a specic table name,
schema, table group, or group type, by click that element and then
clicking Generate Redistribution Plan for this <Element>.
Create and Manage
Table Replicas (New)
You can now create replicas of partitioned and non-partitioned
tables. These replicas can by either synchronous or asynchronous
and can be moved, disabled, or dropped as needed.
System Conguration
Parameter Validation
(Enhancements)
For HANA databases of version SPS 04 or later, the following
enhancements have been added to the System Conguration page:
All input values for known parameters are checked and
immediate feedback is given as to whether the value is valid.
The input eld contains a hint on how to input the value and its
unit (if applicable).
The Add Parameter and Add Section dialogs now provide you
the option of Save and Add Another Parameter.
Table Placement Rules
(Enhancements)
New Rule
Conditions
When adding or editing a table placement rule,
you can now specify the following new rule
conditions: Set Persistent Memory, Set Page
Loadable, Set Replica Count, and Number of
Hosts to Contain Data.
Specify Which
Locations to
Include or
Exclude
When creating or editing a location, you can
now specify which location or locations you
would like to include or exclude.
Delete Locations
Used in Rules
You now have the option of deleting a location
that is referenced by a current table placement
rule. You must rst update the location of the
rule on the Delete Location dialog before you
can delete the selected location.
System Information
(Enhancement)
You can now see a list of your installed plug-ins on the System Information tile.
Workload Classes and Mappings
(Enhancement)
The following new parameters have been added for workload classes:
Uncommitted Write Lifetime Limit
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 107
Idle Cursor Lifetime Limit
The following parameters have been added to workload class mappings:
XS Application User Name
Schema
Object
Alerts Card
(Enhancement)
The Alerts card has been redesigned to better spotlight high and medium alerts
and allow you to quickly display details.
Refresh Button (Enhancement)
The ability to set a refresh interval has been moved to its own button.
SAP HANA Native
Storage Extension
(Enhancement)
The following functionality has been added to support NSE:
New Buer Cache Monitor to view the native storage extension buer cache and
determine which tables, partitions, and columns are using most of the cache.
New Memory Paging Monitor lists the portion (that is, the amount of data) of a
table that is in-memory, in buer cache, or unloaded at the schema level.
You can now change the Load Unit Setting in the Load Unit Conguration page if you
have the DATA ADMIN privilege.
Admission Control
Analytics (New)
A new Admission Control Monitor allows you to view admission control statistics,
including the following:
Queued, rejected, and admitted requests over time
Event details for submitted requests
Queued session requests
Manage Full System Information
Dumps (Enhancement)
For online databases, the Collection Status column now shows progress
information for the dump les collection job.
Congure Default Recipient
for Email Notications
(Enhancement)
The Email Recipient of Alerts tab on the Alert Denitions has been modied to
be more user-friendly by making it easier to congure a default email recipient
and send test emails to them.
5.3.1.2.2 Backup and Recovery
SAP HANA cockpit SP 11 introduces enhancements for backup and recovery.
Navigation
(Enhancement)
A new card, Database Backups, groups the options for database backup and recovery.
To start a database backup or recovery, go to the Database Backups card.
The card also lets you view additional information about backups, in particular the status
of the most recent data backup and the progress of a running backup or recovery.
If the database is oine, the Recover Database card is displayed.
108 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Backup Catalog Overview
(Enhancement)
The backup catalog now optionally displays details about log backups and
backups of the backup catalog.
Retention Policy Conguration
(Enhancement)
It is now possible to congure the retention policy for tenant databases
through the system database.
5.3.1.2.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 11 introduces new and changed features for performance monitoring and analysis.
Memory Proler (New)
The memory proler allows you to record the memory allocations and deallocations in SAP HANA services,
such as the indexserver or the nameserver. The recording is carried out within a limited time frame which
may range from a few minutes to several hours. Once a recording is stopped, the allocator activities can be
analyzed based on the recorded data. The analysis of the collected allocator data reveals detailed insights into
the memory situation of the SAP HANA system.
5.3.1.2.4 User Management and Security Administration
SAP HANA cockpit SP 11 introduces new and changed features for user management and security
administration.
Tenant Database
Administrator Cannot
Access OS
Level Users
(Enhancement)
Tenant database administrators cannot access the OS level user. This means that the
following options are no longer available to tenant database administrators:
You cannot enter credentials in the SAP Control Credentials column of the
Resource Directory.
You cannot access the View trace and diagnostic les link on the Alerting and
Diagnostics card in the System Overview, if your resource is a tenant database.
You cannot access the Platform Lifecycle Management card in the System
Overview, if the resource is a tenant database.
You cannot manage full system information dumps if your resource is a tenant
database and is stopped.
You cannot collect oine full system information dumps for tenant databases.
When you register or update a resource, you cannot select an Encrypt SAP
Control connection.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 109
Cockpit and IDP User
Details (Enhancement)
The User Details screen of the Cockpit Manager, you now see more information
about cockpit users, such as: date created, status, authentication type, and last
successful login time.
In the User Details for Identity Provider users, you can now assign the user to
a resource group, view the user status on the Status tab, and delete the user.
However, you cannot edit an Identity Provider user.
Technical User Issue
Notication (New)
If there are any issues with the technical user for a registered resource, a
message appears on the SAP HANA Cockpit Manger home page.
Manage Technical User
Privileges (New)
You can modify a registered resource and enable or disable subsystems used
to monitor a resource's health. Any privileges required for this monitoring are
adjusted for the technical user, if needed.
Register a Resource when
Creating a Resource Group
(New)
When creating a resource group, you now have an option to automatically begin
registering a resource once the new group is created.
Edit Resource Groups
(Enhancement)
Edit a resource group’s name or description in the Resource Groups page in the
Cockpit Manager.
Get Information About
"Insucient Privilege" Errors
(New)
If an insucient privilege occurs, you can nd out more information about
the missing privilege by using the associated GUID.
Resolve Object Authorization
Errors (New)
You can use the new authorization dependency viewer in SAP HANA cockpit
to analyze database objects and their dependencies.
Usage Type for Licenses (Enhancement)
When you install a license key, you must now set a usage type.
You can set the usage type using SAP HANA Cockpit or SQL.
Anonymization
Scenarios
(Enhancement)
You can compare the key performance indicators (KPIs) of some anonymization
scenarios.
KPIs provide means to measure the usability of anonymized data, in particular with
regard to performance of anonymization procedures. It is particularly helpful for Data
Protection Ocers or Data Scientists to be able to compare one or more dierent
anonymization procedures.
110 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.3.1.2.5 High Availability and Scalability
SAP HANA cockpit SP 11 introduces new features for high availability.
Takeover with handshake (New)
You can now perform a takeover with handshake.
During a takeover with handshake all new writing transactions on the primary system are suspended and the
takeover is only executed when the redo log is available on the secondary system. Using this type of takeover
you can avoid:
Data loss, because the log is available on the secondary system before the takeover is triggered.
Split-brain situations, because the former primary will be suspended.
When performing a takeover with handshake, it is not needed to check the replication status or to stop the old
primary before the takeover.
Secondary time travel (New)
You can now start the secondary system at a previous point in time.
Secondary time travel can be used to quickly access again data, which was deleted in the original system.
5.3.1.2.6 SAP HANA Database Explorer
SAP HANA cockpit SP 11 introduces a new version of the SAP HANA database explorer with new and changed
features.
Debugger
(Enhancement)
You can now edit the values of the following global and local variable types:
BINARY, VARBINARY
BOOLEAN
STRING
CHAR, NCHAR, VARCHAR, NVARCHAR, VARCHAR3, VARCHAR2
DATE, TIME, TIMESTAMP, DAYDATE, SECONDTIME, LONGDATE, SECONDDATE
INTEGER, INT, TINYINT, SMALLINT, BIGINT
DECIMAL, SMALLDECIMAL
REAL, DOUBLE, FLOAT
Persisting Result Sets
(New)
The following new SQL Console Preferences have been added:
Set the maximum number of open results; the default is 50.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 111
Set whether to close results before executing another SQL statement.
Trace Analysis (New)
Use the new Trace Analysis feature to see all the traced les in your system and to
get information on them.
Display of JSON,
HTML, and XML Data
(Enhancement)
Previously in the Data Preview table or the SQL console results table, JSON, HTML,
or XML data was only viewable as raw text. Now, you can right-click cell contents
that are JSON, HTML, or XML and click View Data to view the data in its proper
JSON, HTML, or XML format.
Table Editor
(Enhancement)
The table editor contains the following enhancements:
A new Properties tab that displays all the table's properties.
Any information added in the table's COMMENTS property appear in the header
of the table editor.
Add Database Dialog
(Enhancement)
If you have more than 500 HDI containers, then you can lter your search for the HDI
container that you want to add to database explorer by Organization and Space.
5.3.2SAP HANA System Administration (New and Changed)
SAP HANA introduces new and changed administration features.
Administration Tools (Changed)
SAP HANA Hardware Conguration Check Tool (Changed)
The SAP HANA Hardware Conguration Check Tool is replaced by the SAP HANA Hardware and Cloud
Measurement Tools to check hardware or cloud systems before deploying SAP HANA or applying for SAP
HANA certication.
SAP Note 2493172
Workload Management (Changed)
Admission Control (Changed)
Two new conguration parameters were introduced for Admission Control related to the averaging factor
applied to the statistic gathering process which is the basis for evaluating the load on the system. Averaging
parameters are now also available to smooth statistics specically for CPU usage and for memory usage.
Conguring Admission Control
112
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Table Management (Changed)
Dynamic Range Partitioning (Changed)
In Dynamic Range Partitioning the data type BIGINT is now supported for the range partitioning column.
Dynamic Range Partitioning
Table Consistency Check (Changed)
The Table Consistency Check tool has been enhanced so that individual check actions can be excluded. You
can do this by using a minus character before the action name.
Table Consistency Check
Managing Index Types (New)
When you create an index on a table the index type is an optional value; if it is not specied then a type is
provided automatically depending on the type of table and the data type of the column. For multi-column
indexes in the column store you can now set a default index type. Conguration parameters have been
introduced to set a default index type for unique constraint indexes and primary key constraint indexes. The
default value is applied globally not for specic schemas.
Managing Indexes
Plan Cache: Eviction of Plans (Changed)
SQL statements stay in the Plan Cache as long as they are required but entries which are of little value are
evicted automatically. Conguration parameters are now available to manage how cached plans are evicted,
eviction can be based on usage frequency or on a more balanced usefulness score which is automatically
calculated.
SQL Plan Cache
Tracing Tools: Kernel Proler (Changed)
You can now run and manage the kernel proler from the SQL command line using the ALTER SYSTEM
command. The kernel proler statement supports basic functions such as start, stop, save and clear, but also a
number of options such as to run the prole for a specic location, for a specic user or within certain memory
limits.
The view M_KERNEL_PROFILER displays the status of the proler (started or stopped) and provides
information about current kernel prolers.
Kernel Proler
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 113
Conguration Tool (New)
The console tool setParameter.py is now available to make changes to conguration parameters. It can be
run from the command line or integrated with other administration management tools and scripts and can be
used either when the system is oine or online.
Console Tool setParameter.py
High Availability: Hook srSecondaryUnregistered (New)
The srSecondaryUnregistered() hook has been introduced and can be used to detect when a secondary site
has been unregistered or when a takeover has occurred.
Hook Methods
SAP HANA Native Storage Extension: Scale-Out Support (New)
SAP HANA Native Storage Extension is now supported for scale-out systems. For such systems, the SAP HANA
Table Distribution feature does not consider tables/partitions with page-loadable columns or tables/partitions
converted to page-loadable for redistribution.
SAP HANA Native Storage Extension
5.3.3SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA backup and recovery.
Check that a Recovery to a Point in Time is Possible (New and Enhanced)
It is now easier to check whether a desired point in time for a recovery can be reached, and whether the
backups to be used are consistent. This is done using a new Python tool hdbrecovercheck.py. This tool can be
used both for le-based backups and backups created with third-party backup tools.
Check Recoverability (hdbrecovercheck)
114
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
SAP HANA Backint Agent for Amazon S3 (New)
You can use the SAP HANA Backint Agent for Amazon S3 to back up and recover SAP HANA using Amazon S3
storage.
2935898
5.3.4SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA smart data access.
Single Sign-On (SSO) with JSON Web Tokens (New)
Single-sign on with JSON Web Tokens (JWT) is supported for connections to SAP HANA remote sources.
The local SAP HANA system, which is registered as a JWT authentication provider in the remote SAP HANA
system, generates the JWT tokens required to authenticate the users connecting to that system.
Managing Single Sign-On (SSO) with JSON Web Tokens
Virtual Table Check (New)
The virtual table check nds mismatches between the denition of a virtual table in the local system and
the denition of the remote table it points to. The mismatches found are not necessarily harmful, but some
mismatches can cause errors when SQL statements are run on the virtual table.
Check Virtual Table Denitions
Join Relocation for Multiple Remote Sources (Changed)
Tables from dierent remote sources can now be joined directly in one of the remote sources
instead of the local SAP HANA system to avoid a large data transfer. This behavior was previously
restricted to SAP HANA remote sources. It is controlled by the new remote source property
PROP_JOIN_RELOCATION_BETWEEN_SOURCES.
Join Relocation for Multiple Remote Sources
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 115
5.3.5SAP HANA Application Run-Time Services (New and
Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the application run-time services in
SAP HANA.
The following changes and additions are included in SAP HANA 2.0 SPS 05 to enable the management of the
XS advanced run-time component:
Included support for Node.js 12 applications (New)
Improved stability and performance (Changed)
Support for SAP UI5 1.71 (New)
The XS advanced command-line interface (xs CLI) now provides support for the following components and
actions (New and changed):
xs delete-user (New)
A command that enables administrators to delete an existing user
xs curl (Changed)
This command now includes an additional option to import JSON from a le
xs passwd (New)
A command that enables users to change their own password and administrators to change the
password of other XS advanced platform users.
Router logs
The default setting has changed. By default, query parameters for any request are not logged in the
access logs of the XS advanced platform router.
However, a new query parameter enables XS advanced administrators to change the default setting
and switch on the logging of query parameters, for example,
Router.WebDispatcher.LogQueryParameters = true
xs install-plugin (New)
A command that enables you to install a plug-in for the xs command-line interface
xs check-webide (New)
A command that starts a tool that analyzes problems in the SAP Web IDE environment.
Support for MacOS 10.15 (binary notarization) (New)
The XSA command-line interface (CLI) now provides support for the following components and actions:
XSA grant-privileges-to-support-user (Changed)
A less-privileged user can now be used to call the grant-privileges-to-support-user
command; the less-privileged user must have the SYSTEM privilege “USER ADMIN” and also be granted
the EXECUTE permission to use selected support procedures.
The Job Scheduler
The Job Scheduler service now supports Node.js 10. For more information, see Scheduling Jobs in XS
Advanced in the SAP HANA Administration Guide (Changed).
Related Information
SAP HANA XS Advanced Development (New and Changed) [page 117]
SAP HANA Deployment Infrastructure Development (New and Changed) [page 121]
116
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.4 Development
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for development.
SAP Web IDE for SAP HANA (New and Changed) [page 117]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA XS Advanced Development (New and Changed) [page 117]
For SAP HANA Platform 2.0 SPS 05, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
SAP HANA Deployment Infrastructure Development (New and Changed) [page 121]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
Text Search (New and Changed) [page 122]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for text search.
5.4.1SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
What's New in SAP Web IDE for SAP HANA
5.4.2SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 05, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
This section contains details of changes and additions to the following development-related tools and features
in the XS advanced platform:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 117
Application Run-time Environment (New and Changed)
JavaScript Run-time Environment (New and changed)
Includes support for Node.js 12.x applications (New)
Includes updates to packages available on the SAP NPM Registry at http://npm.sap.com
(Changed)
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
SAP NPM Registry (Changed)
The contents of the SAP NPM registry at https://npm.sap.com will be migrated to the NPM registry
at https://registry.npmjs.org.
After the migration in June 2020, the contents of the SAP NPM registry will no longer be regularly
updated.
The SAP NPM registry will continue to be available until it is retired at the end of 2020.
In future, updates to SAP NPM packages will only be available on https://
registry.npmjs.org.
Java Run-time Environment (New and changed)
XS_JAVA (Changed)
Updated versions of some of the libraries included in the XS_JAVA package are now also available for
download on Maven Central.
SAP HANA Calculation View API for SAP HANA (New)
A Java-based Application Programming Interface (API) that enables you to create SAP HANA calculation
views programmatically. This API allows you to read, modify, and save the XML denitions of these
calculation views so that they can be activated in the run-time catalog using the standard tools provided by
the SAP HANA Deployment Infrastructure (HDI).
Note
For more information about the SAP HANA Calculation View API for SAP HANA, see 2869216
XS advanced run-time environment (Changed)
XS advanced run-time platform (Changed)
The XS advanced run-time platform now includes many new improvements to overall stability.
XS Advanced Messaging Service (Changed)
Messages sent by the XS advanced messaging service can be congured with an optional time-to-live
(the so-called "message expiration time"). If no such conguration is set, the default setting is applied.
The XS advanced Messaging Service will not deliver a message to a consumer after the time-to-live
setting has been exceeded.
SAP UI5 (Changed)
Support for SAP UI5 version 1.71 (Changed)
SAP HANA Deployment Infrastructure (HDI) Clients (Changed)
The following updates to the HDI clients for the Java and JavaScript run-time environments are included in
XS advanced:
Note
For more details, see the CHANGELOG and README les included in the corresponding package.
118
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
SAP HANA Deployment Infrastructure (HDI) deployment tools for XS advanced (Changed)
The following updates to the HDI clients for the Java and JavaScript run-time environments are included in
XS advanced:
Note
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content
to SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Migration to XS Advanced (Changed)
For the migration of XS classic applications to the XS advanced run-time environment, the migration assistant
has been updated in the following ways:
Improved handling of table functions
Improved handing of OData annotations and labels during view migration
XS Command Line Interface (New and changed)
The XS advanced command-line interface (xs CLI) now provides support for the following components and
actions:
xs delete-user (New)
A command that enables administrators to delete an existing user
xs curl (Changed)
This command now includes an additional option to import JSON from a le
xs passwd (New)
A command that enables users to change their own password and administrators to change the password
of other XS advanced platform users.
Router logs (Changed)
The default setting has changed. By default, query parameters for any request are *not* logged in the
access logs of the XS advanced platform router.
However, a new query parameter enables XS advanced administrators to change the default setting and
*switch on* the logging of query parameters, for example,
Router.WebDispatcher.LogQueryParameters = true
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 119
xs install-plugin (New)
A command that enables you to install a plug-in for the xs command-line interface
xs check-webide (New)
A new command that starts a tool that analyzes problems in the SAP Web IDE environment.
Support for MacOS 10.15 (binary notarization) (New)
Developer Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for XS advanced
application developers:
SAP HANA Development Metro Map (New)
An entirely graphical representation of the end-to-end process of developing on the SAP HANA platform
with links to the target information in the format that suits you best, for example:
Ocial product documentation
Training: classroom, online, self-paced, etc.
Multimedia
Tutorials
Blogs and podcasts
What's new updates
For more information, see Related Information below.
SAP HANA Developer Information Map (Changed)
Extended and improved all existing areas with more links, descriptions, and visual aids (Changed)
Added graphical maps and interactive tables in all sections to help locate (and navigate to) the desired
information target more easily and quickly (Changed)
SAP HANA Developer Guide for XS Advanced (Changed)
Includes updates and improvements to the following high-level areas:
The tutorials in the Getting Started section (Changed)
The Deployment Descriptors section (Changed)
The Dening the Data Model section (Changed)
The Writing Application Code section (Changed)
The Services section (Changed)
The Security section (Changed)
The Application Router section (Changed)
The HDI Plug-ins Reference section (Changed)
The XS Command-Line Reference section (Changed)
XS Command-Line Reference (Changed)
This guide provides a comprehensive list of the commands that are available to help maintain the SAP
HANA XS advanced platform with the xs command-line interface. The information provided includes a
description of how to use the commands and uses examples to show the required syntax. The xs CLI is
intended to help you maintain not only the applications that are deployed to the XS advanced run-time
environment but also the run-time environment itself, for example, the services, domains and certicates,
organizations and spaces, build packs, as well as the users who need access to it.
SAP HANA Deployment Infrastructure (HDI) Reference (Changed)
120
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
This guide describes the tasks required to set up, maintain, grant access to, and use the SAP HANA
Deployment Infrastructure (HDI), for example, for content development. It also describes the roles
required to provide access to the HDI at the various levels and explains how the roles t together to
provide a secure deployment infrastructure. For more information, see Related Information below.
SAP HANA Security Guide (New and changed)
Includes updates and improvements (amongst others) to the following high-level areas related to SAP
HANA XS advanced:
The Predened XS Advanced Users section (Changed)
The Scopes, Attributes, and Role Collections section (Changed)
The User Groups for XS Advanced Technical Users section (Changed)
Related Information
SAP HANA Application Run-Time Services (New and Changed) [page 116]
SAP HANA Deployment Infrastructure Development (New and Changed) [page 121]
SAP HANA Development Metro Map
SAP HANA Developer's Information Atlas
SAP HANA Developer Guide for XS Advanced Model (SAP Web IDE)
The SAP HANA Deployment Infrastructure Reference
SAP CP Java Security Library
SAP Note 2869216
5.4.3SAP HANA Deployment Infrastructure Development
(New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
For SAP HANA Platform 2.0 SPS 05, SAP HDI supports the development and deployment of applications to
the SAP HANA extended application services (XS) advanced model platform. This section contains details of
changes and additions to the following tools and features provided to help with the administration of HDI:
SAP HANA Deployment Infrastructure (New and Changed)
Provided updates to the HDI clients for the Java and JavaScript run-time environments in XS advanced
(Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 121
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
Updates to the HDI deployment tools for XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content
to SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Documentation updates for the HDI Deployer (Changed):
Added descriptions for options to manage interactive deployment scenarios with the HDI deployer tool
Added a new section describing HDI-related environment variables for applications and infrastructure
Note
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
Related Information
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 179]
5.4.4Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for text search.
Fuzzy Search (New)
Note the following new feature:
Support for fuzzy search modes identifier and alphanum_identifier.
The documentation describes how to search on columns containing non-alphanumeric or alphanumeric
identiers.
Identiers
122
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Built-In Procedures sys.esh_search() (New)
Note the following new feature:
AUTH: operator to support the denition of privileges when accessing a search view.
Access Control
5.5 Reference
SAP HANA Platform 2.0 SPS 05 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL Reference Guide (New and Changed) [page 123]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA SQL and
System Views Reference
SAP HANA Spatial (New and Changed) [page 127]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Spatial.
SAP HANA Graph (New and Changed) [page 130]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Graph.
SAP HANA Client Interfaces (New and Changed) [page 131]
The documentation on SAP HANA Client Interfaces has moved to another page.
SAP HANA Predictive Analysis Library (New and Changed) [page 131]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA Analytics Catalog (BIMC Views) Reference (New) [page 134]
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA Analytics
Catalog (BIMC Views) Reference Guide.
5.5.1SAP HANA SQL Reference Guide (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA SQL and System
Views Reference
SQL Statements (New and Changed)
ALTER DATABASE
Statement (Changed)
You can now add, activate, update, and drop key management congurations on
tenant databases. ALTER DATABASE Statement (Tenant Database Management)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 123
ALTER SYSTEM {ADD
| ACTIVATE |
UPDATE | DROP}
KEY MANAGEMENT
CONFIGURATION
Statement (New)
You can now add, activate, update, and drop key management congurations on
the system database. ALTER SYSTEM {ADD | ACTIVATE | UPDATE | DROP} KEY
MANAGEMENT CONFIGURATION Statement (System Management)
ALTER SYSTEM ALTER
TABLE PLACEMENT
Statement (Changed)
You can now dene a sets of custom table placement
location information using new ALTER SYSTEM ALTER TABLE
PLACEMENT LOCATION <custom_location_specification> syntax.
ALTER SYSTEM ALTER TABLE PLACEMENT Statement (System
Management), M_TABLE_PLACEMENT_LOCATIONS System View,
TABLE_PLACEMENT_LOCATIONS System View
ALTER SYSTEM { ADD
| ALTER } STATEMENT
HINT Statement
(Changed)
You can now add or alter hints that override a hint found in the target
query. You can also specify a comment to add to the STATEMENT_HINTS
system view when the statement hints are applied. ALTER SYSTEM {ADD
| ALTER | REMOVE} STATEMENT HINT Statement (System Management),
STATEMENT_HINTS System View
ALTER TABLE Statement
(Changed)
Use ONLINE mode for the LOB REORGANIZE clause to allow LOB reorganize
operations that do not serialize with concurrent DML operations. ALTER TABLE
Statement (Data Denition)
CREATE DATABASE
Statement (Changed)
Creating a database now supports key management conguration. CREATE
DATABASE Statement (Tenant Database Management)
CREATE INDEX
Statement (Changed)
You can now specify the load unit when creating an index. You can now create
an index without serializing with concurrent DML operations. CREATE INDEX
Statement (Data Denition)
CREATE REMOTE
SOURCE Statement
(Changed)
Smart data access remote sources now support the credential type JWT, which
allows single sign-on using the JSON Web Token. CREATE REMOTE SOURCE
Statement (Access Control)
CREATE / ALTER /
DROP X509 PROVIDER
Statements (New)
This syntax allows you to manage X.509 providers. CREATE X509 PROVIDER
(Access Control), ALTER X509 PROVIDER (Access Control), DROP X509
PROVIDER (Access Control)
Two new system views, X509_PROVIDERS and X509_PROVIDER_RULES, have
been added. The X509_USER_MAPPINGS system view has an additional column,
X509_PROVIDER_NAME.
DROP INDEX Statement
(Changed)
You can now drop an index without serializing with concurrent DML operations.
DROP INDEX Statement (Data Denition)
EXPORT Statement
(Changed)
You can now exclude remote table data in an export without having to use the
CATALOG ONLY option. EXPORT Statement (Data Import Export)
GRANT and REVOKE
Statements (behavior
change)
Previously, when you granted or revoked the ALL PRIVILEGES schema-level
privilege, all schema-level privileges were granted. Now, DEBUG, DEBUG MODIFY,
and SQLSCRIPT LOGGING are not included in the set that is granted or revoked
124 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
and must be granted or revoked separately. GRANT Statement (Access Control),
REVOKE Statement (Access Control)
SQL Functions (New and Changed)
System Views (New and Changed)
KEY_MANAGEMENT_CONFIGURATIONS
(New)
Displays information about the existing key management
congurations. KEY_MANAGEMENT_CONFIGURATIONS
System View
HOST_SERVICE_THREAD_SAMPLES System
View
The collection interval has changed from 3600 seconds to
600 seconds.
M_TABLE_PERSISTENT_MEMORY_FILES
System View (New)
Displays the persistent memory le information of a
specied table. M_TABLE_PERSISTENT_MEMORY_FILES
System View
Other Changes by Feature Name (New and Changed)
New SPATIAL_OUTPUT_REPRESENTATION session
variable
Species the output format of ST_Geometry and
ST_Point. Session Variables
SQL support for the new Kernel Proler
The Kernel Proler collects information about CPU
consumption and wait times, which can be helpful in
support scenarios. ALTER SYSTEM {START | STOP |
SAVE | CLEAR} KERNEL PROFILER Statement (System
Management), M_KERNEL_PROFILER System View
MAXIMUM_NUMBER_OF_TABLES_IN_STATEMENT
The default has changed to 0 (unlimited). However,
you can now also congure a threshold using
a new max_table_count_in_statement parameter in
indexserver.ini. System Limitations
HINT Details (New and Changed)
The ROUTE_BY and ROUTE_BY_CARDINALITY hints
now can be used with projection views as well as tables.
HINT Details
The following new hints have been added:
HEX_TABLE_SCAN
Guides the
optimizer to
prefer HEX table
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 125
scans over
unique index
searches.
NO_HEX_TABLE_SCAN
Guides the
optimizer to
avoid HEX table
scans.
HEX_UNIQUE_INDEX_SEARCH
Guides the
optimizer to
prefer HEX
unique index
searches over
table scans.
NO_HEX_UNIQUE_INDEX_SEARCH
Guides the
optimizer to
avoid HEX
unique index
searches.
HEX_LIMIT
Guides the
optimizer to
prefer HEX
limits over top K
sorts.
NO_HEX_LIMIT
Guides the
optimizer to
avoid HEX
limits.
HEX_TOPK_SORT
Guides the
optimizer to
prefer HEX top
K sorts over
HEX limits.
NO_HEX_TOPK_SORT
Guides the
optimizer to
avoid HEX top K
sorts.
126 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
5.5.2SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Spatial.
ST_GeoHash Method (New)
Returns the Geohash representation of a geometry.
ST_GeoHash Method
ST_GeomFromGeoHash Method (New)
Constructs a geometry from a Geohash string.
ST_GeomFromGeoHash Method
ST_PointFromGeoHash Method (New)
Constructs a point from a Geohash string.
ST_PointFromGeoHash Method
CREATE PREDEFINED SPATIAL REFERENCE SYSTEM IDENTIFIED BY<srs-
id> Statement (New)
Creates a predened spatial reference system.
CREATE PREDEFINED SPATIAL REFERENCE SYSTEM IDENTIFIED BY <srs-id> Statement
CREATE PREDEFINED SPATIAL REFERENCE SYSTEMS Statement (New)
Creates all predened spatial reference systems.
CREATE PREDEFINED SPATIAL REFERENCE SYSTEMS Statement
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 127
DROP SPATIAL REFERENCE SYSTEM IDENTIFIED BY <srs-id> Statement
(New)
Drops a spatial reference system with given <srs-id>.
DROP SPATIAL REFERENCE SYSTEM IDENTIFIED BY <srs-id> Statement
DROP UNUSED SPATIAL REFERENCE SYSTEMS Statement (New)
Drops all spatial reference systems that are not referenced by any other object.
DROP UNUSED SPATIAL REFERENCE SYSTEMS Statement
ST_VoronoiCell Method (New)
Returns the Voronoi cell for a point. A Voronoi diagram consists of the Voronoi cells for a given set of points.
ST_VoronoiCell Method
K-Means Clustering (Changed)
The ST_ClusterCell method can be used with K-Means clustering. For K-Means clustering, the CLIP CELLS
attributes have been added for the Window Functions and GROUP CLUSTER BY clauses.
ST_ClusterCell Method
Window Functions
GROUP CLUSTER BY
Internal Layout and Spatial Index Preference for Spatial Column Denition
(Changed)
For the spatial columns, denitions for the attributes Column Internal Layout (PLAIN, HILBERT CURVE)
and Column Spatial Index Preference (DEFAULT, RDICT, RTREE) have been added. See also the
ST_GEOMTRY_COLUMNS system view.
Column Denition and Column Conguration
ST_GEOMETRY_COLUMNS System View
128
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
SRS-ID 3857 is Contained in an SAP HANA System Installation (New)
Spatial reference system WGS 84 / Pseudo-Mercator (SRS-ID 3857) is contained in an SAP HANA System
installation.
Spatial Reference Systems (SRS) and Spatial Reference Identiers (SRID)
ST_SPATIAL_REFERENCE_SYSTEMS System View
Spatial Data Type Conversions (New)
Spatial data types can be converted using an explicit data type conversion function (TO_CHAR,
TO_NCHAR, TO_VARCHAR, TO_NVARCHAR, TO_CLOB, TO_NCLOB, TO_BINARY, TO_VARBINARY). Implicit
data conversion for spatial data types is not supported.
The following examples show how the data type conversion functions must be used to convert spatial data
types:
Select TO_CHAR(NEW ST_Point('Point M( 1.0 2.0 NULL)')) from dummy;
Select TO_BINARY(NEW ST_Point('Point M( 1.0 2.0 NULL)')) from dummy;
Select TO_VARBINARY(NEW ST_Point('Point M( 1.0 2.0 NULL)')) from dummy;
-- and so on
Data Type Conversion
Spatial Data Type Conversions
M_FEATURES System View (Changed)
The following row has been added to M_FEATURES:
COMPONENT_NAME
FEATURE_NAME FEATURE_VERSION
SPATIAL REPRESENTATION CONFIGURATION 1
M_FEATURES System View
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 129
Session Variables (New)
The following session variables have been added:
Predened Var-
iable (M_SES-
SION_CONTEXT.KEY)
Value Constraint Set by
In M_SESSION_CON-
TEXT Description
SPATIAL_OUT-
PUT_REPRESENTA-
TION
- User/Client Yes Species the output
format of ST_Geome-
try and ST_Point. Valid
options are WKB, the
default, and EWKB.
Session Variables
M_SESSION_CONTEXT System View
5.5.3SAP HANA Graph (New and Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for SAP HANA Graph.
SAP HANA Graph Reference (Changed)
The SAP HANA Graph Reference has been reworked on a big scale. For example the demo data has been
changed. Now Open Flights demo data are used.
SAP HANA Graph Reference
Appendix A - Open Flights Graph Example
GraphScript Extensions
<edge_direction> Parameter for SHORTEST_PATH (New)
Species which edges the algorithm traverses when evaluating the distance of a vertex to the
start_vertices set. The following values are possible:
OUTGOING traverses the edges as given in the input graph.
INCOMING traverses the edges of the input graph in reverse direction.
ANY traverses the input graph as if it was undirected.
Built-In Graph Algorithms
130
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
VERTEX_EXISTS Function (New)
Checks if a vertex with the given vertex key exists in a graph or a weighted path.
Basic Vertex Operations
5.5.4SAP HANA Client Interfaces (New and Changed)
The documentation on SAP HANA Client Interfaces has moved to another page.
To see what's new and changed, see What's New in the SAP HANA Client.
5.5.5SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the Predictive Analysis Library (PAL).
General and Architectural Changes
Unied Functions (new)
Unied functions are introduced to standardize the behaviors of functions in the same category. Some
extended features like reason code and metrics are introduced through unied functions only. Pivoted data
input or output support is also enabled for unied functions.
SPS 05 supports the following categories of unied interfaces:
unied classication
unied classication with pivoted input data
unied clustering
unied clustering with pivoted input data
New capabilities enabled only inside unied functions:
local interpretability of models (unied classication)
data partition (unied classication)
more statistics and metrics within model evaluation (unied classication):
ACCURACY
KAPPA
MCC metric: lift
MCC metric: cumulative lift
MCC metric: cumulative gains
model output of K-Medians and Medoids (unied clustering)
Unied behaviors:
parameter name mapping
thread ratio input range
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 131
cross validation check behavior
Unied Interface
Local Interpretability of Models (new)
Local interpretability explains why the predication is made in the process of machine learning predictive
modeling. The explanation is made in a manner of reason code giving the inuence level of each features to
the nal prediction result.
The reason code function is only available through the unied interface.
For SPS05, reason code is enabled for the following algorithms:
random decision tree (RDT)
decision tree (DT)
hybrid gradient boosting tree (HGBT)
Local Interpretability of Models
Model Compression Capability (new)
Lossless model compression reduces the model size for RDT and SVM without heavy impact of training
and prediction performance.
It is available in both original functions and unied functions.
Model Compression
Random Decision Trees
Support Vector Machine
Fixed-point Decimal Support (new)
Fixed-point decimal data type input is generically supported and is dened as DECIMAL(p, s) or DEC(p, s)
in SQL.
New and Changed Algorithms
Additive Model Time Series Analysis (new)
Additive model time series analysis uses a decomposable time series model with three main components:
trend, seasonality, and holidays or events.
Additive Model Time Series Analysis
Dynamic Time Wrapping (new)
Dynamic time warping (DTW) is a method for calculating distance or similarity between two time series.
Fast Dynamic Time Warping
SMOTE: Synthetic Minority Over-sampling Technique (new)
Performs over-sampling by generating synthetic samples for minority classes.
SMOTE
Tomek’s Links (new)
TomekLinks detects the so-called Tomek’s link. It performs under-sampling by removing Tomek’s links.
Tomek’s Links
SMOTETomek (new)
Class to perform over-sampling using SMOTE and cleaning using Tomek links.
Combines over- and under-sampling using SMOTE and Tomek links.
SMOTETomek
MCMC: Markov Chain Monte Carlo (new)
Generates samples from a given distribution.
MCMC Sampling
132
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
Online ARIMA (new)
Implements an online learning method to estimate the parameters of ARIMA models by reformulating it
into a full information online optimization task.
Online ARIMA
Online Linear Regression (new)
Intends for the scenario where training data will be obtained multiple rounds.
Online Linear Regression (Stateless)
Anomaly Detection (new)
Obtains the existing data objects that do not comply with the general behavior or model of the data.
Anomaly Detection
Slight Silhouette (new)
Silhouette refers to a method used to validate the cluster of data.
Slight Silhouette
Model Visualization for Tree Models (new)
Transforms tree model contents to DOT strings which can be further visualized. The following models are
supported:
Decision Trees
Random Decision Trees
Hybrid Gradient Boosting Tree
Model Visualization
Multiple Linear Regression (changed)
Supports stepwise function by adding an option to the following parameters in
_SYS_AFL.PAL_LINEAR_REGRESSION:
VARIABLE_SELECTION
ALPHA_TO_ENTER
ALPHA_TO_REMOVE
Adds a new parameter to _SYS_AFL.PAL_LINEAR_REGRESSION:
MANDATORY_FEATURE
Multiple Linear Regression
Cluster Assignment (changed)
Supports K-Medians and K-Medoid models as input.
Cluster Assignment
Seasonality Test (changed)
New parameters introduced to function _SYS_AFL.PAL_SEASONALITY_TEST:
EXTRAPOLATION
SMOOTH_WIDTH
Seasonality Test
Hybrid Gradient Boosting Tree (changed)
Supports unied cross validation interface. New functionalities related to cross validation include
supporting of bootstrap, stratied methods, parameter random searching, new format of parameter
candidates, and so on.
New parameter introduced to function _AFL_SYS.PAL_HGBT:
START_FROM_AVERAGE
Hybrid Gradient Boosting Tree
ARIMA (changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
PUBLIC 133
Truncation algorithm is introduced to improve the prediction performance. Training performance is also
optimized.
ARIMA
K-Nearest Neighbor (changed)
Adds new parameters to enable distance calculation based on string distance:
STRING_VARIABLE
VARIABLE_WEIGHT
KNN
DBSCAN (changed)
Adds new parameters to enable distance calculation based on string distance.
STRING_VARIABLE
VARIABLE_WEIGHT
DBSCAN
5.5.6SAP HANA Analytics Catalog (BIMC Views) Reference
(New)
SAP HANA Platform 2.0 SPS 05 introduces new and changed features for the SAP HANA Analytics Catalog
(BIMC Views) Reference Guide.
HAS_DYNAMIC_DEFAULT_VALUE Field (New)
The HAS_DYNAMIC_DEFAULT_VALUE eld has been added to BIMC_ALL_VARIABLES_VIEW,
BIMC_VARIABLE, and BIMC_VARIABLE_VIEW.
HAS_DYNAMIC_DEFAULT_VALUE indicates whether a variable or a parameter has dened default values that
are non-static and may need to be calculated during runtime.
View BIMC_ALL_VARIABLES_VIEW
View BIMC_VARIABLE_VIEW
View BIMC_VARIABLE
134
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 05 Features
6 SAP HANA Platform 2.0 SPS 04 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 04.
6.1 Installation and Update
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for installation and update.
SAP HANA Server Installation and Update (New and Changed) [page 135]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the installation and update of
SAP HANA.
6.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the installation and update of SAP
HANA.
Support for Persistent Memory (New)
The use of persistent memory can be enabled with the use_pmem parameter. A mountpoint for the
persistent memory volumes can be specied using the SAP HANA database lifecycle manager call option
basepath_pmem.
pmempath
use_pmem
2618154
Installation Execution Mode (New)
The parameter install_execution_mode controls the installation workow. In optimized installation mode,
the number of restarts is reduced during installation. Optimized mode is automatically enabled if a server
plug-in is being installed or if more than one component selected for installation supports a phased installation.
install_execution_mode
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 135
Rename Tenants (New)
Tenant databases can be renamed during a system rename using the SAP HANA database lifecycle manager
with the parameter tenantmap.
tenantmap
Uninstall SAP HANA Remote Data Sync Before Updating to SAP HANA 2.0
SPS 04 (Changed)
Starting with SAP HANA 2.0 SPS 03, the recommended product for synchronizing remote databases with SAP
HANA is SAP SQL Anywhere MobiLink (MobiLink). If you are updating a previous SAP HANA installation to SAP
HANA 2.0 SPS 04 and had SAP HANA remote data sync installed, then you must uninstall SAP HANA remote
data sync before you upgrade to SAP HANA 2.0 SPS 04.
If you require synchronization, then you must migrate your remote data sync deployment to MobiLink before
support ends for SAP HANA 2.0 SPS 02. You can use remote data sync 2.0 SPS 02 with both SAP HANA 2.0
SPS 02 and SAP HANA 2.0 SPS 03 as long as remote data sync 2.0 SPS 02 remains in support. Because
remote data sync 2.0 SPS 02 is a component of SAP HANA 2.0 SPS 02, it is supported as long as SAP HANA
2.0 SPS 02 is supported.
2641466
Note
SAP SQL Anywhere remote databases (synchronization clients) and MobiLink are licensed separately.
https://www.sap.com/product/data-mgmt/sql-anywhere.html
.
6.2 Security
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for security.
SAP HANA Database Security (New and Changed) [page 137]
SAP HANA Platform 2.0 SPS 04 introduces new and changed security-related features for the SAP
HANA database.
136
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed security-related features for the SAP HANA
database.
Authorization and Authentication Enhancements (New and Changed)
The new object privilege REMOTE TABLE ADMIN authorizes a user to create a table on a remote source
object.
Case sensitivity of user matching for single sign-on (SSO) using SAML assertions and JSON Web Tokens
(JWT)
The matching of external identities to database users can now be either case-sensitive or case-insensitive.
You can congure this when you create or change the SAML or JWT identity provider in SAP HANA.
Provider-specic certicate collections for single sign-on (SSO) using SAML assertions and JSON Web
Tokens (JWT)
It is now possible to assign identity providers to an in-memory certicate collection with the purpose
"SAML" or "JWT". If providers are assigned, multiple collections with the purpose "SAML" or "JWT" are
possible.
Host-specic certicate collections for TLS/SSL conguration
It is now possible to assign hosts to an in-memory certicate collection with the purpose "SSL". This
allows an TLS/SSL setup with individual X.509 certicates for each host in a multi-host environment using
in-database certication collections.
Troubleshooting "insucient privilege" errors
Many "insucient privilege" errors now return a GUID, which can be input into the new procedure
SYS.GET_INSUFFICIENT_PRIVILEGE_ERROR_DETAILS to retrieve information on which privilege was
missing for the executed command.
Auditing (New)
Retention period for audit policies
For audit policies explicitly congured to write audit entries to an internal database table, you can now
specify a retention period in days. Once the retention period has elapsed for an audit entry, it is deleted.
To allow the conguration of retention periods in a tenant database, it is now also possible to congure
"database table"as the policy-specic audit trail.
Audit policies for tenant databases
A user in the system database with the system privilege DATABASE ADMIN or the new system privilege
DATABASE AUDIT ADMIN can now create audit policies to monitor and record certain activities in a tenant
database. Policies created in the system database for a tenant database are visible in the tenant database,
but cannot be edited there.
Read-only access to audit trail
The new system privilege AUDIT READ allows read-only access to the database table audit trail.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 137
Column Encryption Key and Client Key Pair Rotation in SAP HANA Client-
side Data Encryption (New)
Key rotation, the process of decrypting data with an old key and then re-encrypting with a new one, is an
important part of the enterprise key management infrastructure. SAP HANA client-side data encryption
supports key rotation for column encryption keys (CEKs) that encrypt table columns and client key pairs
(CKPs) that encrypt the CEKs. The rotation of CEKs and CKPs now requires fewer administrative steps with
the introduction of CEK and CKP versioning. To use key versioning, update the client drivers to SAP HANA
2.0 SPS 04 version. For more information, see SAP HANA Client-Side Data Encryption Guide.
Other Enhancements in SAP HANA Client-side Data Encryption
In client-side data encryption, now AES-256-CBC or ARIA-256-CBC encryption algorithms can be used to
encrypt the column.
For deterministic encryption, the following operations are supported on encrypted columns:
Joins, encrypted with the same key
Indexes/primary key
Referential constraints on column tables – both referenced and referencing table are encrypted with
same key.
GROUP BY or HAVING Clause
Set operators (UNION/INTERSECT/EXCEPT) – columns are encrypted with the same key
Data Anonymization (New and Changed)
l-Diversity Anonymization Method
The l-diversity algorithm is an extension of k-anonymity. Using this method, you can reduce the risk of
identication by specifying that there must be at least l dierent sensitive values within each group.
l-Diversity
k-Anonymity Conguration
The following parameters can now be used to rene the results of anonymized data queries: loss (the
proportion of records that can be dropped from the results), quasi-identier weightings (the relative
importance of dierent attributes), quasi-identier minimum and maximum values (the minimum and
maximum generalization levels of quasi-identifying columns).
Record Suppression (Loss)
Weighted Quasi-Identiers
Minimum and Maximum Levels for Quasi-Identiers
SQL Anonymization Views
SQL commands can now be used to create anonymized views. The CREATE VIEW and ALTER VIEW
statements include a WITH ANONYMIZATION clause for conguring an anonymized view. Afterwards, the
new REFRESH VIEW statement needs to be run to generate the anonymization conguration. The new
views ANONYMIZATION_VIEWS, ANONYMIZATION_VIEW_COLUMNS, and M_ANONYMIZATION_VIEWS
provide information about all SQL anonymization views in the database.
138
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
GET_ANONYMIZATION_VIEW_STATISTICS Procedure
The GET_ANONYMIZATION_VIEW_STATISTICS procedure can be used to retrieve data anonymization
KPIs. These allow you to assess the quality of the anonymized data in an anonymization view. The
result.intensity KPI, for example, gives the information loss resulting from generalization.
GET_ANONYMIZATION_VIEW_STATISTICS
Local Secure Store (New)
The local secure store (LSS) is a separate lightweight utility for storing and managing encryption keys and
other similarly sensitive data. It provides a secured communication channel that allows the server to verify
each calling client against a whitelist. In addition, due to its operating system user <sid>crypt, OS-level
duties can now be strictly separated between system administrators (for example, database administrator
<sid>adm) and encryption key administrators (the operating system user <sid>crypt). At the same time,
SAP HANA processes still have unattended access to the encryption root keys needed for automated starts
and restarts.
The local secure store can optionally be used instead of the instance SSFS (secure store in the le system).
Restriction
The local secure store (LSS) is released only for non-production single-host single-tenant scenarios.
Local Secure Store (LSS)
6.3 Planning and Design
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for planning and design.
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed) [page 140]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features in SAP Enterprise Architecture
Designer, Edition for SAP HANA.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 139
6.3.1SAP Enterprise Architecture Designer, Edition for SAP
HANA (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features in SAP Enterprise Architecture Designer,
Edition for SAP HANA.
Core Features
Copy and Paste Symbols (New)
You can now create a copy of an object by copying and pasting its symbol in a diagram.
Symbol Content Customization (New)
All symbols show, by default, the name of the object in the symbol header area. You can now customize
symbol header content to show up to ve object properties.
Symbol Display Mode (New)
EAM symbols that support both icon and box modes are now created by default as boxes. You can toggle
between icon, box, and box with detail (show sub-symbols) modes using the display mode in the Content
Settings.
Symbol Alignment Tools (New)
New tools in the format toolbar allow you to align, distribute, and resize symbols.
Content Transfer Enhancements (Changed)
The following enhancements are available:
Now, when transferring models between repositories, there are no longer restrictions around importing
models containing shortcuts, and they and the source models containing the original objects can be
imported in any order.
You can now export folders (including any sub-folders and their contents) to repository zip les when
transferring content between repositories.
When exporting models from a repository, any extensions associated with the models are now also
exported to the zip le. When importing content into a new repository, any extensions that are not
already present are imported and reconnected to the models.
You can now overwrite content when importing a repository zip le.
You can now transfer external les via repository zip les.
You can now import content from a repository zip le multiple times in dierent folders to create
copies of your models.
The Export to Repository Zip File, which allows you to download a zip le of the model for importing to
another repository, is now available in the Share menu in the diagram editor.
New Diagram from Selection (New)
When you create a new diagram in your model, it is now initialized with the symbols selected in the current
diagram. You can select symbols manually, with the Lasso tool, by pressing SHIFT
and dragging over the
diagram canvas or, to select all symbols, pressing CTRL + A .
140
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Create a New Diagram from the Repository Explorer (New)
You can now create a new diagram in an existing model from the model's property sheet in the repository
explorer.
Stay in Diagram after Publication (Changed)
The behavior of the diagram viewer has changed so that you now remain in the diagram after publication.
Click Edit to continue editing the diagram or click Home to return to your homepage.
Object List Enhancements (Changed)
The following enhancements are available:
You can now control whether to show shortcuts, objects in sub-packages, and sub-objects in your
object lists.
You can now export object lists to CSV les.
Dependency List Enhancements (Changed)
Many lists on the Dependencies tab of object property sheets now support both searching for existing
objects to add to the list and creating new objects directly in the list.
Search Dialog Enhancements (Changed)
The behavior of and messages in the Search dialog have been refreshed to help simplify nding diagrams
and objects.
Updated Values in EA Landscape Combo Boxes (Changed)
The default values available in various application and infrastructure architecure object properties (such as
applications and hardware servers) have been updated. You can select a value from the list, enter a new
value, or customize the available values.
Note Tool in All Diagrams (New)
You can now create notes in any diagram and draw links to connect them to other symbols.
Impact Analysis: Show Multiple Instances of Impacted or Lineage Objects (Changed)
The impact and lineage analysis tree can now show the same object appearing multiple times in dierent
places in the tree.
Portuguese User Interface (New)
The user interface is now available in Portuguese.
Requirements Management
ReqIF Import Enhancements (New)
You can now merge requirements and associated data from a ReqIF le into an existing requirements
model or create a new model.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 141
Importing Requirement from Word (New)
You can now import a requirements hierarchy from a Microsoft Word .docx le into a new or existing
requirements model.
Business Architecture
Computed Capability Maps (New)
You can now create computed capability maps, which display all the business capabilities in your model
grouped by parent. Creating a computed diagram in this way allows you to quickly visualize and share your
capabilities in a standard layout without having to manually draw them.
Value Flows in Value Flows (Changed)
Value ows can now be broken down into sub-ows.
Information Architecture
SAP Big Data Services (New)
The creation of SAP Big Data Services physical data models is now supported including by reverse-
engineering scripts, or by generation from another data model. You can model tables, views, and other
SAP Big Data Services objects and generate them as an SQL script.
Hadoop Hive 2 (New)
The creation of Hadoop Hive 2 physical data models is now supported including by reverse-engineering
scripts, or by generation from another data model. You can model tables, views, and other Hadoop Hive 2
objects and generate them as an SQL script.
SAP HANA System Versioned Tables (New)
You can now model system-versioned tables in SAP HANA 2.0 HDI and SAP HANA 2.0 Database
models.
HDI Enhancements - Support for Tables (New)
You can now create tables in your HDI model and associations are enhanced to support linking tables and
tables and entities. Tables are imported and exported as .hdbtable les.
HDI Enhancements - Improved Namespace Support (Changed)
The following enhancements are provided for HDI namespaces:
You can now review and modify namespaces directly in diagram property sheets.
Any custom namespaces dened in HDI les are now set correctly during import.
Simplied Encryption of SAP HANA Connections (Changed)
New checkboxes simplify enabling SSL when connecting to cloud-based SAP HANA instances.
142
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Data Protection (New)
You can now document your organization's use of personal data across all your data models.
CDM to PDM Generation - Support for Generating Shortcuts (New)
When generating a conceptual data model to a physical data model, any shortcuts of entities and other
CDM objects will be generated as shortcuts if a PDM generated from the source CDM with the appropriate
DBMS is available.
Reverse-Engineering Enhancements (Changed)
The performance of the reverse-engineering dialog has been enhanced and its behavior changed. By
default, only tables are listed for selection, and you can display other types of objects by selecting them in
a new pane in the bottom-left of the dialog.
Symbol Size (New)
You can now control the size of symbols in conceptual, physical, and No SQL data diagrams. By default, the
width and height automatically adjust to the symbol content or you can specify a xed value for either or
both dimensions.
Improved Visibility for CDM Structured Types and PDM Abstract Data Types (New)
When you select a structured type as the data type for a CDM entity attribute, the attribute now displays
a badge in the entity symbol and its tooltip lists the names and types of the type attributes. Similarly, in a
PDM, when you select an abstract data type as a data type for a PDM table column, the column displays a
badge in the table symbol and its tooltip lists the names and types of the type attributes.
,
Improved Visibility and Ease of Selection for CDM and PDM Domains (New)
When you select a domain for a CDM entity attribute, it is now displayed as the attribute data type in the
entity. Similarly, in a PDM, a domain can be shown as the data type of a table column. When you dene a
domain locally in a CDM or PDM, it is now available for selection directly in the drop-down Domain list in
attribute and column property sheets. Domains dened in other models can still be selected via the object
picker.
Administration
Customization Enhancements (New)
This version oers new kinds of customizations and more control over how your customizations are used.
You can now:
Create new types of objects for use in your diagrams.
Create custom extension les to package your customizations and attach them to individual models.
and
Add custom diagram types based on extensions to the New Diagram dialog.
Custom Property and Dependency Enhancements (New)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 143
You can now select object types from other types of models to appear as custom properties and custom
dependencies.
Specifying a Log Data Retention Period (New)
The repository administrator can now set a retention period for log data.
Refresh Tool in Log Pages (New)
The log pages now provide a manual Refresh tool above the lists to ensure that the information is up-to-
date.
Anonymization of Deactivated User Information (New)
The repository administrator can now permanently anonymize personally-identifying information of
deactivated users.
6.4 Administration
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for administration.
SAP HANA Cockpit (New and Changed) [page 145]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA cockpit with
SAP HANA cockpit support package (SP) 10.
SAP HANA System Administration (New and Changed) [page 168]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the administration of SAP
HANA.
SAP HANA High Availability (New and Changed) [page 174]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA high availability.
SAP HANA Database Backup and Recovery (New and Changed) [page 176]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA backup and
recovery.
SAP HANA Smart Data Access (New and Changed) [page 178]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Native Storage Extension (New) [page 178]
SAP HANA Platform 2.0 SPS 04 introduces native storage extension, a new feature that provides
a general-purpose, built-in warm data store in SAP HANA to manage less-frequently accessed data
without fully loading it into memory.
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 179]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HANA Application Run-Time Services (New and Changed) [page 181]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the application run-time
services in SAP HANA.
144
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.4.1SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA cockpit with SAP
HANA cockpit support package (SP) 10.
SAP HANA Cockpit SP 10 (New)
SAP HANA cockpit SP 10 is available with SAP HANA Platform 2.0 SPS 04.
About SAP HANA Cockpit SPs
The SAP HANA cockpit is part of the SAP HANA platform 2.0. An SAP HANA cockpit SP is released with every
SAP HANA platform support package stack (SPS), but additional SAP HANA cockpit SPs may be released
between SAP HANA platform SPSs. For more information about the revision and maintenance strategy of the
cockpit, see SAP Note 2433181 .
SAP HANA cockpit SPs are cumulative. This means that a higher SP includes all features and xes available in
earlier SPs.
SAP HANA Cockpit SP Release Note
Included in SAP HANA Platform 2.0
Revision
10
SAP Note 2751640
Included with revision 2.00.040
09
SAP Note 2713615
Not included
08
SAP Note 2679059
Not included
07
SAP Note 2628614
Not included
06
SAP Note 2604594
Included with revision 2.00.030
05
SAP Note 2567836
Not included
04
SAP Note 2513227
Not included
03
SAP Note 2462387
Included with revision 2.00.020
02
SAP Note 2433764
Included with revision 2.00.010
01
SAP Note 2414668
Not included
00
SAP Note 2657318
Included with revision 2.00.000
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 145
Additional Information
Information Link
SAP HANA cockpit documentation https://help.sap.com/viewer/p/SAP_HANA_COCKPIT
SAP HANA cockpit 2.0: Revision and Maintenance Strategy
SAP Note 2433181
SAP HANA cockpit 2.0: Supported operating systems and
Web browsers
SAP Product Availability Matrix for SAP HANA, platform edi-
tion 2.0
SAP HANA database explorer release notes
SAP Note 2373065
Related Information
SAP HANA Cockpit SP 06 Features [page 250]
SAP HANA Cockpit SP 05 Features [page 254]
SAP HANA Cockpit SP 04 Features [page 260]
SAP HANA Cockpit SP 03 Features [page 336]
SAP HANA Cockpit SP 02 Features [page 387]
SAP HANA Cockpit SP 01 Features [page 392]
6.4.1.1 SAP HANA Cockpit SP 10 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 10.
Administration and Monitoring [page 147]
SAP HANA cockpit SP 10 introduces new and changed features for administration and monitoring.
Performance Monitoring and Analysis [page 148]
SAP HANA cockpit SP 10 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 150]
SAP HANA cockpit SP 10 introduces new and changed features for user management and security
administration.
Backup and Recovery [page 150]
SAP HANA cockpit SP 10 introduces changed features for backup and recovery.
SAP HANA Database Explorer [page 151]
SAP HANA cockpit SP 10 introduces a new version of the SAP HANA database explorer with new and
changed features.
146
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.4.1.1.1 Administration and Monitoring
SAP HANA cockpit SP 10 introduces new and changed features for administration and monitoring.
SAP HANA Native Storage Extension (New)
SAP HANA native storage extension (NSE) is a general-purpose, built-in warm data store in SAP HANA
that lets you manage less-frequently accessed data without fully loading it into memory. SAP HANA NSE
integrates disk-based database technology with the SAP HANA in-memory database for an improved cost-to-
performance ratio, while complementing other warm data tiering solutions such as SAP HANA Extension Node
and SAP HANA dynamic tiering.
Use SAP HANA cockpit to specify load units at various granularities and view already congured load units. You
can use the native storage extension (NSE) advisor to get suggestions about load units for tables, partitions, or
columns according to how frequently they are accessed.
Critical Error Indicators at the Landscape Level (New)
Indicators of serious errors like authentication problems that interfere with monitoring a resource or expired
licenses now appear in the Resource Directory. If you've created a tile for the resource on the cockpit's Home
screen, the indicators also appear on that tile.
Table Distribution Enhancements (New and Changed)
These enhancements have been made to the table distribution functionality:
In the Table Redistribution wizard, there is a new Table Group Analysis step where you can add, edit, and
delete table group analyses.
In the Table Redistribution Execution History application, you can now enable the automatic table
distribution analyzer. You can specify the analysis frequency, the improvement threshold and modify
parameters used in the distribution analysis.
In the Current Table Distribution application, these options have been added to the list of Advanced
Operations that can be performed on individual tables. Access these operations by clicking a table and
selecting the operation from the Advanced option in the pop-up menu.
Set Preload After Indexserver Restarts Setting
Set Unload Priority
Set Row Order
Optimize Compression
Clear Column Join Statistics
Reclaim Data Space
Convert to Column Store Table
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 147
Rename Table (table group, table group type, or table group subtype)
Copy Table
When you click a table, you now have the option to View Table Denition or Open SQL Console, which opens
the table denition in the database explorer.
Import Resource Enhancements (New and Changed)
You can now import a resource dened inside an XML le to the cockpit. This is especially useful for migrating
SAP HANA studio landscapes to SAP HANA cockpit, as studio landscapes are exported into XML les.
If you are importing a le that has been exported from an SAP HANA cockpit version SP 10 or later, you see
an Include collection settings checkbox, which is selected by default. These collection settings may include
settings for statuses, alerts, resources, and so on, which could override your global cockpit settings. Unselect
this option if you don't want to override your global cockpit settings.
Workload Class Enhancement (Changed)
When creating a workload class, you now have the option of specifying a user group name as a mapping
property. You also have the option of adding a new user group. Specifying both a database user name and a
user group name returns an error, as these properties cannot be set simultaneously.
Resource Directory Enhancement (Changed)
In the Resource Directory application, you can now save preferred settings for search lter, column visibility,
and column sorting.
6.4.1.1.2 Performance Monitoring and Analysis
SAP HANA cockpit SP 10 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New and Enhanced)
Capture and Replay oers the following new and changed functionality:
You can now use port numbers to connect the replayer to the target or the control system.
On the Capture Conguration page you can now select if you will use the captured workload for a replay,
analysis, or both.
148
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
When you identify a problem in the replay report, you can now start the replay a second time after setting
breakpoints on the Execution Details page. You can set a breakpoint to pause the replay exactly where the
identied problem occurred. When starting the replay again, this would allow you to look at system views
before that statement is executed or to look at the trace le.
Data Cache (New)
Data Cache is a new functionality that allows you to monitor and manage the following types of cached data in
the system:
Variable cache
Static result cache
Dynamic result cache.
You can access the page by choosing Data Cache on the Manage SQL Performance card on the overview page
of SAP HANA cockpit.
You can support monitoring and management of data cache in the following ways:
Remove a cached entry or drop the metadata with all related entries
Search the results by object name or schema
Filter and sort the results by choosing the header of a column
Select which columns you want to be displayed and their order in the settings menu
Customize column width by adjusting the borders
For variable cache: enable or disable data cache collection.
Recommendations (New and Enhanced)
Recommendations oers the following new and enhanced functionality:
The feature can now be accessed from the card on the System Overview page
Recommendations oers three types of suggestions: ad hoc, physical design, and SQL
You can see description, impact, and recommended action for each recommendation
You can follow the recommendation and address the issue by navigating to the recommended page.
Workload Analysis (Enhanced)
Workload Analysis oers the following enhanced functionalities:
You can now use the search functionality for both thread-based workloads and captured workloads in the
same way
You can now navigate to the Table Distribution page.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 149
6.4.1.1.3 User Management and Security Administration
SAP HANA cockpit SP 10 introduces new and changed features for user management and security
administration.
Auditing (Changed)
From the database overview for the system database, you can now create audit policies for one or more
tenant databases.
You can also change or delete audit policies for one or more tenant databases.
In the Auditing app, the new column Origin allows you to see where an audit policy was created: either in
the tenant database itself or in the system database.
An audit policy created for a tenant database in the system database can be viewed in the tenant database,
but only edited in the system database. To edit an audit policy, go to Manage Databases from the system
database.
When you view an audit policy, you can now also delete the audit entries that have been written for this
policy, if the audit trail is a database table
Authorization Dependency Viewer (New)
You can use the authorization dependency viewer in SAP HANA cockpit as a rst step in troubleshooting
authorization errors and invalid object errors for stored procedures and calculation views with complex
dependency structures.
To open the authorization dependency viewer, go to User & Role Management, then choose View database
object dependencies.
6.4.1.1.4 Backup and Recovery
SAP HANA cockpit SP 10 introduces changed features for backup and recovery.
Backup Schedules (Changed)
With SAP HANA cockpit SP 10, the functionality for scheduling backups has been enhanced.
You can make changes to backup schedules.
It is no longer necessary to delete a schedule and create a new schedule.
Note
This feature requires SAP HANA SPS04.
150
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.4.1.1.5 SAP HANA Database Explorer
SAP HANA cockpit SP 10 introduces a new version of the SAP HANA database explorer with new and changed
features.
All Schemas are Shown The catalog browser displays all schemas that you can work with at the system view
level.
Production Systems are
Now Labeled
Production systems are now labeled as such in the database explorer catalog
browser, the trace conguration editor, and any SQL console opened from a
production system.
AutoCommit Option
Removed from Add
Database Dialog
You can no longer specify the autoCommit option when adding a database. You can
specify auto-commit settings in the SQL Console section of Global Preferences or in
your current SQL console.
Improved Display of
Binary Data
Previously, when viewing binary data in either the Data Preview table or the SQL
console results table, you were only able to view the data as text. Now, when you
right-click the binary cell contents and click View Data, you can view binary data as
actual binary, or (where applicable) as an image.
New Schemas Object
Editor
Right-click the Schemas catalog object and click Show Schemas in the context
menu. The Schemas tab opens, which shows detailed information for all schemas in
the current system. Click a specic schema, either in the schema tab or the item list
to view detailed information about the schema.
Schema Filters are
Persistent
Schema lters now persist between sessions, on a per-database, per-user basis.
Improved Execution
of Parameterized
Statements
When executing parameterized statements, a Parameters tab appears underneath
the SQL console. This pane allows you to specify parameter values and execute the
statement using those values.
Enhancement to User-
Specic Trace
When conguring a user-specic trace, if you are connected with an SAP HANA
2.0 SPS 02 database, then you can now use the Connection ID lter. If you are
connected with an SAP HANA 2.0 SPS 03 database, then you can now use the
Statement Hash lter.
For more information about how to use the Statement Hash lter for user-specic
tracing, see Database Trace (Basic, User-Specic, and End-to-End).
Enhancement to Kernel
Proler
When conguring the Kernel Proler, if you are connected with an SAP HANA
2.0 SPS 02 database, then you can now use the Connection ID lter. If you are
connected with an SAP HANA 2.0 SPS 03 database, then you can now use the
Statement Hash lter.
6.4.1.2 SAP HANA Cockpit SP 09 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 09.
Administration and Monitoring [page 152]
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 151
SAP HANA cockpit SP 09 introduces new features for administration and monitoring.
Performance Monitoring and Analysis [page 154]
SAP HANA cockpit SP 09 introduces new and changed features for performance monitoring and
analysis.
SAP HANA Database Explorer [page 155]
SAP HANA cockpit SP 09 introduces a new version of the SAP HANA database explorer with new and
changed features.
6.4.1.2.1 Administration and Monitoring
SAP HANA cockpit SP 09 introduces new features for administration and monitoring.
Cockpit Troubleshooting User Role (New)
There is a new administration role available to assign to users. The Troubleshooting role allows the user to
access the XSA logs within the Cockpit Manager.
Creating a Technical User during Registration (New)
The technical user is a dedicated database user the cockpit will use to collect health data from the resource.
To create a technical user during registration, you need to provide the credentials of an administrator on the
resource who has user creation privileges.
Managing System Conguration (Changed)
In the System Conguration app, for a specic resource, you can now take conguration snapshots. Also, you
can compare database congurations and compare snapshots.
Table Distribution (Changed)
There have been several enhancements to this application:
When viewing the current table distribution, you can now use the pop-over menu on a partitioned table
name or table group name to truncate or drop tables, or to view memory usage.
Also, viewing the current table distribution gives you access to an analysis tab, where you can view records
data, workload, execution data, and so on.
In the table redistribution execution plan, the reported operations are now compressed, listing the number
of similar contiguous operations.
152
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
In the table redistribution history, running operations and parallel plan items are now displayed in the
header. The maximum number of plan items that can be executed in parallel is an editable value.
You now have the ability to stop the execution of a table redistribution plan.
Table Placement Editor (Changed)
In the Table Placement Editor, now you can copy an existing rule, rather than creating a new one each time.
Workload Classes (Changed)
There have been several enhancements to the Workload Classes application:
You can now use relative values (%) in relation to statement thread and memory limits.
Any user-specic parameters that you create may now include a statement thread limit.
In addition to other mapping elds, you can now map a workload class to a user group.
There is now a set of queries that can be run to obtain dierent usage information and analytics for
workload classes.
System Overview Enhancements (New)
In the System Overview, you can save a resource as a custom tile. Now, you have the ability to delete these
custom tiles. Also, searching and ltering capabilities have been improved. Additionally, you can now right click
on a link and open the link in a new tab. This allows multiple tabs to be open to better view dierent applications
at the same time.
Resource Enhancements (New)
There have been improvements in the way to search for and sort registered resources in both the Resource
Directory and the Cockpit Manager. In addition, you can now unregister groups of resources.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 153
6.4.1.2.2 Performance Monitoring and Analysis
SAP HANA cockpit SP 09 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New and Changed)
Capture and Replay oers the following new and changed functionalities:
You can start and stop any started captures directly from the Capture Workloads tile. If a workload is being
captured, this tile indicates now its name, the start time, and the duration.
You can start and stop any started replays directly from the Replay Workloads tile. If a workload is being
replayed, this tile indicates now its name, the start time, and the duration.
You can now trigger and monitor the export of a replay report. The export contains both data from the
captured workload as well as the results of a replay.
To reset the password for the database users captured in the source system you have now the following
options:
Choose Reset Password to reset at once the passwords for all users not authenticated by external tools or
created during the replay.
You can authenticate users manually using the secure user store keys. The User List provides details on the
authentication method for each user.
Performance Monitor (Changed)
The Performance Monitor has a new hierarchically sorted table legend that displays the KPI unit, y-axis scale,
as well minimum, maximum, and average values.
SQL Analyzer (New and Changed)
In the plan graph settings, you can now choose to show either physical or logical inner plans, and set the color
of nodes by either type or location.
Workload Analyzer (New)
You can now navigate to the Current Table Distribution page from Workload Analyzer.
154
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.4.1.2.3 SAP HANA Database Explorer
SAP HANA cockpit SP 09 introduces a new version of the SAP HANA database explorer with new and changed
features.
Import Data
Enhancements
To improve performance, the import data functionality now supports batch inserts.
Also, previously, if you tried to create a new table during import and the data could
not be inserted, then the table was not created. Now, the new table is created
regardless of whether or not the data is successfully inserted.
Database schemas have
been moved to their
own Schemas folder in
the catalog browser
Previously, all database objects in the catalog browser were nested under their
respective database schema. Now a database's objects, including its schemas,
are grouped according to their object type. This change in the catalog formation
increases the loading performance of the catalog tree. The new schema search
lter in the catalog browser list allows you to search for objects according to their
schema.
The SQL console
Preference page
contains new options
The SQL console page in Global Preferences contains the following new options:
Indicate potential
SQL errors
The console parses its contents to highlight potential errors.
The errors are identied by icons next to the line number
containing the error and by underlining the erroneous
syntax in red. Turn o error indication by clearing the
checkbox. Error indication is on by default.
Parse text into
multiple statements
before executing
Console contents are parsed and separated based on semi-
colon delimiters. To send the text directly to the HANA
server without parsing it, clear the checkbox. By default,
text is parsed into multiple statements before executing.
Auto-commit new
SQL console
contents by default
Changes made in the SQL console are auto-committed.
Changing the setting in an open SQL console overrides
this preference setting. This setting aects DML statements
only.
New View connection
settings button in the
SQL console
The new View connection settings button in the SQL console ( ) allows you to
change the auto-commit setting for the current SQL console. SQL console contents
are auto-committed by default.
Client-side encryption
statements now
supported
The database explorer now supports the execution of SQL statements related to
client-side encryption. For more information about client-side encryption, see SAP
HANA Client-Side Data Encryption Guide.
New Help Menu Item There is a new About Database Explorer item in the help menu that contains the
database explorer version number.
Import/Export HDI
Containers
You can now import and export HDI containers from the database explorer. You
must have the HDI Container Group Administrator permission for at least one
container group in the database.
Plan Graph
Enhancements
In the plan graph settings, you can now choose to show either physical or logical
inner plans, and set the color of nodes by either type or location.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 155
Related Information
SAP HANA Database Explorer
6.4.1.3 SAP HANA Cockpit SP 08 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 08.
Administration and Monitoring [page 156]
SAP HANA cockpit SP 08 introduces new features for administration and monitoring.
Performance Monitoring and Analysis [page 158]
SAP HANA cockpit SP 08 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 160]
SAP HANA cockpit SP 08 introduces new features for user management and security administration.
Backup and Recovery [page 161]
SAP HANA cockpit SP 08 introduces new and changed features for backup and recovery.
SAP HANA Database Explorer [page 161]
SAP HANA cockpit SP 08 introduces a new version of the SAP HANA database explorer with new and
changed features.
6.4.1.3.1 Administration and Monitoring
SAP HANA cockpit SP 08 introduces new features for administration and monitoring.
Table Distribution (Changed)
When generating a Table Redistribution Plan, you can now view and analyze changes in KPIs. The landscape
optimization targets are now congurable, as are outcomes, weights, order and other advanced options.
Furthermore, when viewing Table Distribution, you can display table content, meta data, access statistics or
runtime data. You can also export as a CSV.
Table Placement Editor (New)
You can now add or edit table placement rules, and manage table placement rule locations.
156
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Workload Classes (Changed)
There have been several enhancements to the Workload Classes application:
On databases running SAP HANA 2.0 SPS 03 or later, you can congure a query timeout as part of the
workload class.
When importing workload classes a message dialog keeps you informed on the number that have
imported, skipped or overwritten.
You can now use relative or absolute values for the statement thread limit and statement memory limit.
Memory Analysis (Changed)
You can now lter the display of tables using the Chart Value, Show Top (number), Filter by Schema, and Time
Range lter options.
Access to SAP HANA Add-On Capabilities (Changed)
SAP HANA capabilities previously accessible as SAP HANA Options in the Filter by Area drop-down menu in the
System Overview now have their own tiles in the System Overview. (These tiles are visible and available if the
capabilities have been installed on a registered resource.) These SAP HANA add-on capabilities include:
SAP HANA accelerator for SAP Adaptive Server Enterprise
SAP HANA dynamic tiering
SAP HANA remote data sync
SAP HANA smart data access
SAP HANA streaming analytics
Password Reset (New)
Cockpit users can now reset their password by accessing the Me Area.
Navigation Enhancements (New)
The SAP HANA cockpit has several enhancements to make it easier to navigate:
Using a drop-down menu below an application title, you can now navigate laterally to other applications
without having to return either to the home screen or the System Overview.
Using the Me Area, you can quickly access your Recent Activity and Frequently Used applications.
You can enable and disable the tracking of this history, as well a clear it, using the Settings dialog.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 157
You can easily navigate from Cockpit Manager to the cockpit by using the new, dedicated link.
Global Collection Settings Override (New)
For availability, performance, capacity, and alerts (APCA) and Feature collections, you can use the Cockpit
Manager to manage global settings, or you can edit a registered resource and override the global settings for
that particular resource.
Log Viewing (New)
You can now nd and read entries in the cockpit's operational logs. View the logs to troubleshoot problems like
missing monitoring data on cockpit pages, resource registration failure, and connection timeouts.
6.4.1.3.2 Performance Monitoring and Analysis
SAP HANA cockpit SP 08 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New and Changed)
Capture and Replay oers the following new and changed functionalities:
On the Capture Conguration page, turn on the Abstract SQL Plan to capture abstract SQL plans on the
source system and to export them to the le system. The abstract SQL plans are generated by the SQL
Plan Stability.
On the Capture Conguration page, turn on the SQL Input Parameters option to see the parameter values
in the replay report. To do so, activate the SQL Input Parameters option by turning on the Collect Workload
Details.
From the Capture Management page, you can now open the workload analyzer by clicking any of the
displayed captures. You can load the capture from this page by clicking Start in the Workload Analysis
column or you can load the capture after opening the Workload Analysis page using the Load button on the
top right.
When you start the backup from the Capture Monitor page, you can check any details about the backup
by clicking the drop-down arrow next to Capture Monitor and opening the started backup from the Related
Apps section.
From the Replay Management page, you can now open the Replay List tab to see the status of the started
replays. For more information on each replay, open the Details link. If you don’t want to see this information
on your Replay List anymore, use the button on the top right to close it.
From the Replay Management page, you can now stop a started replay using the Stop button in the Replay
Status column even if the replay is in progress. The status changes then to Stopped.
158
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
On the Replay Management page, you can now directly start the preprocess from the Preprocess Status
column in the Replay Candidate tab. If the status is not available, you can open the Details link to
understand why. If the status is Not Preprocessed, click Start to preprocess your captured workload le.
On the Replay Report, you can lter the slower statements by elapsed time, CPU time, and execution time
using the drop-down button in the Slower Statement section.
The Replay Report oers now several new functionalities. For example, you can sort the displayed
statements by clicking directly the column header. You can sort them in ascending or descending order or
you can lter the list.
Performance Monitoring (New and Changed)
The performance monitoring applications oer the following new and changed functionalities:
The Statements Monitor has been consolidated with SQL Plan Cache, and Expensive Trace Monitor into one
page under Monitor Statements.
The SQL Plan Cache view on the Monitor Statements page now has the following improvements:
It is now possible to congure the SQL plan cache size
You can clear all plan cache
You can navigate to the SQL Analyzer
You can now save SQL plans within the SAP HANA database as PLV les under SAP HANA trace folder,
and download the les to your hard drive.
The Performance Monitor has been enhanced with the following new features:
You can now choose from predened KPI preset views and dene custom views on the Performance
Monitor page.
You can now do remote imports of nameserver history trace.
SQL Analyzer (New and Changed)
SQL Analyzer has the following new and improved functionalities:
You can now view details on the query compilation process in the Compilation Summary section of the SQL
Analyzer.
Recommendations on how to improve the SQL performance are now provided in the overview, with more
details given in the Recommendations section of the SQL Analyzer.
You can delete PLV les from the SAP HANA trace folder on the Manage Saved Plans page.
Plan Stability supports the following new functionalities:
Manual location update for abstract SQL plans
Manual migration of abstract SQL plans to the latest SAP HANA database.
Analyzing SQL and Saving Plans
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 159
Workload Analyzer (New and Changed)
Workload Analyzer oers the following new and improved functionalities:
The Workload Analyzer does not have a dedicated tile in the SAP HANA cockpit anymore, but can now be
accessed through the CPU Usage, Disk Usage, Memory Usage, or SQL Statements tiles for thread-based
workload analysis, and through the Capture Management page for analysis of captured workloads.
The captured workload analysis can be accessed from the thread-based Workload Analyzer page by
selecting the highlighted captured workloads in the load chart on the top of the page.
6.4.1.3.3 User Management and Security Administration
SAP HANA cockpit SP 08 introduces new features for user management and security administration.
User and Role Management (New and Changed)
SAP HDI roles can be granted to users through either the execution of the
GRANT_CONTAINER_SCHEMA_ROLES procedure of the container or the container group's API schema, or
the execution of the GRANT SQL statement. If you are authorized for both granting mechanisms, you can
now choose which one to use when assigning SAP HDI roles in the Assign Roles app.
The Assign Roles app has been improved so that you can now navigate directly from assigned roles to the
role denition in the Manage Roles app.
It is now possible to create the JWT identity providers required for single sign-on using JSON Web Tokens
(JWT) using the cockpit. To create identity providers, on the Overview page, choose the link Manage JWT
identity providers under Security Related Links.
In the Manage User app, you can now see the following additional information:
The last time the user logged on
If deactivated, the time of deactivation
Auditing (Changed)
On the Audit Trail tab of the Auditing app, you can now also view audit entries written by the audit log
service of the XS advanced run-time environment.
A wizard is now available in the Auditing app to guide you through the process of creating an audit policy. In
addition, when you view an audit policy, you can see the audit entries that have been written for this policy,
if the audit trail is a database table.
160
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Encryption (Changed)
In the Data Encryption Conguration app, you can now see the encryption algorithm used for each of the
encryption services.
6.4.1.3.4 Backup and Recovery
SAP HANA cockpit SP 08 introduces new and changed features for backup and recovery.
Scheduling Backup
With SAP HANA cockpit SP 08, the functionality for scheduling backups has been enhanced.
You can schedule backups of tenant databases from the system database.
You can also schedule backups on a monthly basis.
To schedule system-wide backups (through the system database for a tenant database), you require a
minimum SAP HANA database revision.
For more information, see SAP Note 2699762 (Scheduling System-wide Backups with SAP HANA Cockpit).
SAP Note 2699762
6.4.1.3.5 SAP HANA Database Explorer
SAP HANA cockpit SP 08 introduces a new version of the SAP HANA database explorer with new and changed
features.
SQL Console
Enhancement
The content of your SQL console is now saved even after the browser is closed.
Additionally, the SQL console saves 30 seconds after your last keystroke, and when
you perform the following actions:
When you use any of the Run menu options.
When your console is connected to a database.
When you close your console.
All saved SQL consoles are re-opened with their content (but not result sets) when you
next open database explorer.
SQLScript Code
Coverage
The Analyze menu of the SQL console now includes the Report Code Coverage option,
which gathers position (line, column, start, end) coverage information for SQLScript
procedures, functions, and anonymous blocks.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 161
Change to viewing
data in the SQL
console or table Data
Preview
Previously, you double-clicked on a table cell in either the SQL console or table
data preview to open the view dialog. Now, you right-click the cell and click View
data.
The new Hide/Show Columns icon () allows you to specify which type of data to
download: hidden columns, ltered rows, or both. If you have added rows or edited
cells in the Data Preview, but not saved them, then those changes are included
in the downloaded le, regardless of whether or not you selected to show or hide
them.
View Execution Plans
for SQL Statements
and Procedures
You can now view the execution plan for a SQL statement or procedure by entering the
SQL in the SQL console and clicking Analyze Explain Plan .
Import Data
Enhancements
Previously, if you tried to create a new table during import and the data could not be
inserted, then the table was not created. Now, the new table is created regardless of
whether or not the data is successfully inserted.
SQL Analyzer
The SQL analyzer oers the following new functionality:
You can now view details on the query compilation process in the Compilation
Summary section.
Recommendations on how to improve the performance of SQL-related operations
are now provided in the overview, with more details given in the Recommendations
section.
Related Information
SAP HANA Database Explorer
6.4.1.4 SAP HANA Cockpit SP 07 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 07.
Installation and Update [page 163]
SAP HANA cockpit SP 07 introduces new features for installation and update.
Administration and Monitoring [page 163]
SAP HANA cockpit SP 07 introduces new features for administration and monitoring.
Performance Monitoring and Analysis [page 165]
SAP HANA cockpit SP 07 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 166]
SAP HANA cockpit SP 07 introduces new features for user management.
Backup and Recovery [page 167]
SAP HANA cockpit SP 07 introduces new and changed features for backup and recovery.
162
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
SAP HANA Database Explorer [page 167]
SAP HANA cockpit SP 07 introduces a new version of the SAP HANA database explorer with new and
changed features.
6.4.1.4.1 Installation and Update
SAP HANA cockpit SP 07 introduces new features for installation and update.
Installation (Changed)
SAP HANA cockpit can be installed in an existing SAP HANA system.
6.4.1.4.2 Administration and Monitoring
SAP HANA cockpit SP 07 introduces new features for administration and monitoring.
SAP HANA Cockpit User Interface (Changed)
The user interface for the SAP HANA cockpit has been redesigned using SAP Fiori Design Guidelines. For both
the landscape page and the overview page, you can customize the order of tiles. For the overview page, you can
also specify which tiles to display and which tiles to hide.
Resource Directory and Aggregate Health (Changed)
The Aggregate Health Monitor available in previous versions of SAP HANA cockpit 2.0 is no longer available.
Instead, its functionality has been added to the Resource Directory. In the enhanced Resource Directory, you
can monitor resource status, and availability, performance and capacity alert counts. You can also display
resources alphabetically or group them by system. When you highlight a system database, you have the option
to open the Manage Databases application.
Viewing System Databases (Changed)
In previous versions of SAP HANA cockpit 2.0, drilling down to the overview page might display information for
both a system database and its corresponding tenant databases. Now, each resource is displayed separately:
selecting a system database in the Resource Directory displays the overview page for the system database only;
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 163
similarly, selecting a tenant database displays the overview page for the tenant only. Despite the new pathways
for monitoring system and tenant databases, you still manage databases through the system database.
Managing Restricted Features (Changed)
The user interface of the Manage Restricted Features application has been enhanced. Also, you can now copy
restricted features.
Early Watch Alerts (New)
Cockpit users with S-User authorization can now select the Early Watch Alert tile to launch the SAP EarlyWatch
Alert (EWA) Solution Finder in the SAP ONE Support Launchpad.
Table Distribution (Changed)
There have been enhancements to how you view Table Distribution and Redistribution History. Furthermore,
when generating a Table Redistribution Plan, you can now use the Plan Steps and Analysis tabs before deciding
to execute the plan.
System Health (Changed)
The user interface for System Health has been enhanced. When you select on a chart, instead of navigating
directly to the Performance Monitor, Memory Analysis or Workload Analysis), a popover appears that shows an
expanded view of the chart, and gives you choices as to what to view.
Workload Classes (Changed)
The user interface for the Workload Classes application has been enhanced so that it is now more intuitive.
Licensing (Changed)
On the Licensing page, the memory usage of your SAP HANA license is now visualized on a chart.
164
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Conguration Templates (New)
A new application, Conguration Templates, lets you create named sets of conguration parameters and apply
them to your databases. All cockpit users can apply templates; to create and manage them, you need a new
user role, Cockpit Template Administrator.
Cockpit APIs (Changed)
The cockpit now supports both POST and GET APIs for managing resources, resource groups, and cockpit
users using external programs.
User Notications and Session Monitoring (New)
With Active Sessions, a new feature in the Cockpit Manager, administrators can monitor browser sessions and
send pop-up notications to logged-in cockpit users.
6.4.1.4.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 07 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New and Enhanced)
Capture and Replay oers the following new functionalities:
After setting the request rate on the Replay Conguration page, you can see it also on the Replay Monitor
page in the Target System Information section, as well as on the Replay Report in the Replay Information
section.
You can change the tolerance ratio entering a new value on the Comparison Report in the Performance
Comparison section or on the Performance Comparison tab.
On the Replay Conguration page, you can enter the port number in the Target System Information section.
On the Overview page in the Result Comparison and Performance Comparison sections, you can see new
categories such as SQL Errors, Non-SQL Errors, and Verication Skipped for a better error analysis.
On the Capture Conguration page you can use the New Backup Settings link to select between Backint or
le-based backups, to congure the backup destination, or to enter parameters for the Backint backup.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 165
SQL Analyzer (New and Changed)
SQL Analyzer oers the following new and changed functionalities:
You can now save SQL plans within the SAP HANA database, load previously saved plans into the SQL
analyzer, and download saved SQL plans as PLV les to your hard drive.
The Overview tab of the SQL analyzer is enhanced by graphic views of the SQL time, dominant operators,
and statistics. You can navigate to the Operators section below by selecting Open Operators and see the
Tables in Use section below by clicking on the Tables in Use eld in the Statistics tile.
The Table Accesses section is now enhanced by the following columns that can be added in the settings
menu: Operator Id, Operator Name, Details.
Workload Analyzer (New and Changed)
Workload Analyzer based on thread sampling oers the following new and changed functionalitites:
Background Jobs and Timeline are now in separate categories.
You can now navigate to the SQL analyzer tool by selecting an entry on the chart in the Top SQL Statements
section and clicking Open in SQL Analyzer.
Workload Analyzer based on engine instrumentation oers the following new and changed functionalities:
You can now access the workload analyzer based on engine instrumentation through the Capture
Management page of the capture and replay tool.
A Timeline view displaying a detailed timeline chart and an accompanying statements table is now
available.
6.4.1.4.4 User Management and Security Administration
SAP HANA cockpit SP 07 introduces new features for user management.
User Groups (New)
It is now possible to create user groups. If required, you can also congure a group-specic password policy.
To access the User Groups page, on the Overview page, choose the link Manage user groups on the User & Role
Management tile.
The Users page has also been enhanced so you can add a user to an existing user group.
166
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
User Authentication (Changed)
On the Users page, you can now congure users to be authenticated by a password stored in an LDAP directory
server instead of a password stored locally in the SAP HANA database.
Auditing (Changed)
On the Auditing page, you can now generate the SQL create statements of multiple audit policies at once.
6.4.1.4.5 Backup and Recovery
SAP HANA cockpit SP 07 introduces new and changed features for backup and recovery.
Housekeeping
With SAP HANA cockpit SP 07, you can manually delete backup generations or individual full backups
(complete data backups or data snapshots).
Retention Policy
With SAP HANA cockpit SP 07, you can congure settings for retention of backup generations.
Note
The functionality for conguring a retention policy is only supported from SAP HANA SPS03. In earlier SAP
HANA releases, this functionality is not available.
6.4.1.4.6 SAP HANA Database Explorer
SAP HANA cockpit SP 07 introduces a new version of the SAP HANA database explorer with new and changed
features.
Remote Sources
The user interface of the remote source editor has been updated to improve search
performance and support remote sources for SAP HANA smart data integration. For more
information about using the new remote source editor, see Create a Remote Source.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 167
Catalog
Enhancements
The catalog browser tree now shows the following new object types to support SAP HANA
smart data integration:
Data Provisioning
Agents
Monitor the basic system information of an agent (such as CPU,
memory, timestamps) and the time it last connected with the Data
Provisioning server.
Remote Sources
(enhancement)
Clicking on the Remote Sources catalog object now also shows
remote sources for smart data integration in the remote sources
item list,
Remote
Subscriptions
Monitor basic information for your remote subscriptions, such
as the schema in the remote source, the number of messages
received and applied by the Data Provisioning server, and the
times the last message was received and applied.
Tasks View information about your data provisioning tasks, such as the
realtime design time object, the create time and the memory size.
For more information about smart data integration, visit the SAP HANA Smart Data
Integration and SAP HANA Smart Data Quality guide.
Importing Data
Use the new Import Data wizard to import data from an Excel or CSV le into a new or
existing table. See Import Data Into a New or Existing Table.
SQL Analyzer
You can now save SQL plans within the SAP HANA database, and download saved SQL
plans as PLV les to your hard drive. See: Analyzing SQL and Saving Plans.
6.4.2SAP HANA System Administration (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the administration of SAP HANA.
Tenant Database Management (New and Changed)
Rename Tenants (New)
Tenant databases can be renamed during a system rename using the SAP HANA database lifecycle manager
with the parameter tenantmap.
tenantmap
Fallback Snapshots for Tenant Databases (Changed)
A fallback snapshot can now also be created if the tenant database is the primary database in a system
replication scenario.
Create a Fallback Snapshot
168
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Network (New)
IPv6 Support (New)
You can now enable IPv6 and run SAP HANA in a dual-stack environment as well as in an IPv6-only
environment.
Conguration of SAP HANA in an IPv6 Environment
Workload Management (Changed)
Workload Classes (Changed)
Two new properties have been introduced for workload classes:
WRITE TRANSACTION LIFETIME - used to limit the lifetime of long-running uncommitted write
transactions
IDLE CURSOR LIFETIME - used to set a time value in minutes to limit the lifetime of long-lived cursors
Both parameters have corresponding ini le conguration parameters which can be used to set default values
which apply if a workload class value is not set.
A workload_class hint is already available to manage workload classes at run-time and more control of how
this is applied is available through the new conguration parameter allow_more_resources_by_hint.
Managing Workload with Workload Classes
Workload Class Mappings (Changed)
The following new mapping properties have been introduced for workload classes:
USERGROUP NAME
OBJECT NAME
SCHEMA NAME
XS APPLICATION USER NAME
Managing Workload with Workload Classes
Controlling CPU Consumption (Changed)
In the area of managing CPU Consumption, on a scale-out system you can now bind CPUs to specic NUMA
nodes on each indexserver. You can do this either for dierent tenants of a multi-tenant database on the same
host or for multiple indexservers of the same tenant on the same host.
In both cases you use the CREATE/ALTER DATABASE statement with an AT LOCATION clause which has a host
and port number as a parameter. A conguration parameter value is required to identify the specic tenant and
the CPU cores to bind.
Apply NUMA Node Anity Settings
Additionally, SQL statements are available to apply NUMA location preferences for specic database objects
(tables, columns or partitions). This can be done using either the CREATE TABLE or ALTER TABLE statements
with a NUMA NODE clause and the preferred node number(s) as parameters.
Applying NUMA Location Preferences to Tables
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 169
Memory Management (New and Changed)
Global Allocation Limit (Changed)
The global allocation limit value can now be dened either as a xed value in MB or as a percentage of the
available main memory size. If dened as a percentage the precise value automatically adjusts if the size of the
container where the system runs is changed.
Allocated Memory Pools and Allocation Limits
Memory Allocator Statistics (Changed)
Detailed information about memory consumption can be found by looking into allocator statistics.
To limit the amount of memory consumed by these statistics two conguration parameters
(pool_statistics_striping and composite_statistics_striping) are now available to manage the
collection of these statistics.
Memory Allocator Statistics
SAP HANA Fast Restart Option (New)
The SAP HANA Fast Restart option makes it possible to save and reuse MAIN data fragments after an SAP
HANA service restart so that MAIN data can be quickly reloaded into memory without the need to read the data
from the persistent storage. This provides the benet of greatly accelerated start-up times and a minimization
of system downtimes.
This feature leverages the SAP HANA Persistent Memory implementation but in contrast to Persistent Memory,
which works with a DAX-enabled le system, the Fast Restart option stores MAIN data fragments in tmpfs le
systems with content in DRAM. This is eective in cases where the operating system is not restarted.
SAP HANA Fast Restart Option
Housekeeping (Changed)
Row Store Reorganization (Changed)
New functionality has been added to the stored procedure REORGANIZE_ROWSTORE() which now distributes
the command to all running nodes and can be applied to specic tables, schemas and segments. Additionally,
the table locking mechanism used by the procedure has been changed to eliminate the need for exclusive locks
so that tables can be updated during reorganization.
Row Store Reorganization
Table Consistency Check (Changed)
Results of all consistency checks, whether executed manually or scheduled in the statistics service, are
available in two monitoring views:
M_CONSISTENCY_CHECK_HISTORY (high level information)
M_CONSISTENCY_CHECK_HISTORY_ERRORS (gives details of all errors found within each check run)
Options are available to run housekeeping procedures on these tables to remove old data.
Table Consistency Check
170
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Conguration Framework (New)
All public conguration parameters are now dened in table CONFIGURATION_PARAMETER_PROPERTIES.
The denition includes basic properties such as data type, unit, a default value, and a ag to indicate if a
system restart is required before a changed value becomes eective.
Changes to parameter values are validated against the denition so that, if required, invalid values can be
trapped and a warning or error message triggered. Alert checkers are also used to detect if any parameters are
set to an unsupported value and appropriate warnings are displayed in the administration cockpit.
Conguring SAP HANA System Properties (INI Files)
SQL Plan Stability (Changed)
Plan Stability has been enhanced so that you can use ltering, either on the basis of user name or by workload
class property, to limit the capture process to specic targets. Filtering by user name is done at run time as the
capture process is initiated and ltering by workload class property can be done by setting lter values for each
property in advance; they can be removed when no longer required.
Abstract SQL plans can now be enabled, disabled or removed from the ABSTRACT_SQL_PLANS table
and if a plan is invalid for some reason, the reason is now captured in the NOTES column of the
ABSTRACT_SQL_PLANS table.
SQL Plan Stability
Table Management (New and Changed)
Application-Time Period Tables (New)
Application-Time Period tables have now been introduced in addition to System-Versioned Tables to extend
the functionality available to manage historical data. Application-Time Period Tables capture the time in which
a record is valid in the business world rather than on the basis of the time it was entered in the database.
This allows you to manage and manipulate historical business data based on application-specic time periods
which are independent of system time-stamps. Bi-temporal tables which store values for both system time and
application time are also possible.
Application-Time Period Tables
Partitioning (Changed)
A number of changes have been made in the area of partitioning:
For Round-Robin and RoundRobin-Hash Partitioning, if you insert values into existing partitions the
updates are now validated to ensure that the data remains consistent with the partitioning denition.
TIMESTAMP values using hours are now supported for balanced partitioning
Table Partitioning
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 171
The following changes apply specically to heterogeneous partitioning:
Placement of partitions using AT LOCATION is now supported for heterogeneous second-level partitions
Range-Hash partitioning is now supported if all partitions at the second level are based on the same
columns
Dynamic Range Partitioning, which automatically maintains the others partition, can now also be used with
heterogeneous partitioning.
Table Placement grouping properties for heterogeneous partitioning have been added and system
views TABLE_PARTITIONS and M_TABLE_PARTITIONS have been enhanced with NODE_ID and
PARENT_NODE_ID values so that the hierarchical relationships between heterogeneous partitions can be
seen.
Heterogeneous Partitioning
Table Replication (Changed)
Sub-table replication has been introduced which makes it possible to replicate just a selected set of columns
of a table to a replica instead of the complete table. You can therefore streamline the replication operation in
terms of memory used and performance by replicating only the specic columns which are required by users
who are querying the table.
Asymmetric Replica Tables are now supported in order to provide exibility in how replica tables are created.
It is now possible to replicate partitioned tables in such a way that the replica has a dierent partitioning
specication to the source table. You can, for example, partition a table at the rst level by ranges on the basis
of a primary key value and replicate the partitions to new replica tables which use hash partitioning on the basis
of a dierent value. The asymmetric replica tables and partitions are given unique names so that queries can
then be specically targeted to the correct replicated data source.
Table Replication
Table Placement and Table Reorganization (Changed)
Advice about the recommended capacity of warm data which can be stored on an extension node has been
revised. Previously, the sizing guidelines for the data capacity of the extension node was a 1:1 relationship equal
to the size of the installed RAM. In fact, the data capacity can be higher than this, possibly up to four times the
RAM size, as long as the sizing is appropriate to the querying demands of users, the data model design, and the
available memory so that the extension node is not constantly overloaded.
Extension Node
Tables can be pinned to nodes so that during table reorganization the table is not moved. You can do this using
the CREATE/ALTER table statements with the NOT MOVABLE clause.
New options have been introduced when running Table Reorganization from the command line:
to invoke the group advisor feature
to prioritize reorganization using a 'TOP' option so that it is only applied to a select number of tables
to include a check on table sizes to detect tables approaching the maximum size limit of 2 Billion records
The check on table size can be used to automatically partition tables which are approaching the maximum size.
The feature is enabled by default but can be disabled by means of a conguration parameter.
Table Redistribution Commands
172
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Statistics Server Alerts (Changed)
The following new alerts have been introduced:
ID Name Description
111 Replication status of replication log Check whether the status of replication log is disabled.
112 Missing STONITH with shared storage Check whether a STONITH provider is congured in a scale-
out system with shared basepaths.
113 Open le count Determines what percentage of total open le handles are in
use.
114 Active async IO count Determines what percentage of total asynchronous input/
outputrequests are in use.
115 Timezone environment variable verication Determines if the timezone environment variable TZ can be
interpreted.
116 Transparent huge pages status Determines if Transparent Huge Pages (THP) are activated.
118 Port ephemeral max count Checks for free local ports
119 Required local SAP HANA port ranges Checks for local ports which are required but which have
not beenreserved.
129 Check trusted certicate expiration date Determines if there are any trusted certicates that will
expire soon or have already expired.
130 Check own certicate expiration date Determines if there are any own or chained certicates that
will expire soon or havealready expired.
131 Session requests queued by admission
control
Determines the number of session requests waiting in the
admission control queue.
132 Session requests rejected by admission
control
Determines the number of session requests newly rejected
by admission control.
135 Checks conguration for SAP HANA SLD
Data Supplier
Required for system replication to send landscape data
to the LandscapeManagement Database via the System
Landscape Directory (SLD).
136 Unsupported Parameter Values Set Checks if conguration parameters are set to an
unsupported value.
137 Restart Required for Conguration Change Check if a restart is required for a conguration change to
become eective.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 173
The following alerts have been changed or deprecated:
ID Name Description
1 Host physical memory usage Alert 1 not active in HANA 2.0
29 Size of delta storage of column-store tables Checking functionality improved. Thresholds changed.
39 Long-running statements Checking functionality improved.
42 Long-running / idling cursors Checking functionality improved. Name changed.
73, 74 Rowstore version space / Metadata version
space
Alerts 73 and 74 not active in HANA 2.0.
Alerts Reference
6.4.3SAP HANA High Availability (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA high availability.
Support of Fallback Snapshots (New)
Fallback snapshots are now supported in a SAP HANA system replication conguration. Existing fallback
snapshots on the secondary system are still available after takeover and can be used to reset the system after
switching the systems.
Create a Fallback Snapshot
Takeover with handshake (New)
The new takeover option –suspendPrimary can be used to ensure that the secondary is fully in sync with the
primary before the takeover is executed.
Takeover with Handshake
Automatic re-register of secondary sites (New)
Secondary systems can be congured to automatically re-register to a new source system when the original
source system in a multitarget system replication becomes unavailable.
Disaster Recovery Scenarios for Multitarget System Replication
174
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Time travel extension (Changed)
You can now use the secondary time travel to read older data from the read-enabled secondary system while
the secondary keeps replicating. You can also stepwise replay the log and access the data after each replay
step.
Execute Secondary Time Travel While Replication Continues
Online registration of secondary system (Changed)
It is now possible to assign a secondary system to a primary system without stopping the secondary system
beforehand.
SAP HANA Multitarget System Replication
SYS_DATABASES views as secondary proxy views (Changed)
SYS_DATABASES_SR_SITE <secondary_site_name> is a second proxy schema containing proxy views,which
can be queried to get information from the corresponding view in the SYS_DATABASES schema on the
secondary system. These proxy views simplify the monitoring of secondary systems from the primary system.
Monitoring Secondary Systems
Sessions recovery after a restart (New)
It is now possible to recover and restore the current session's state and the physical connection to the new
system after a restart. The seamless recovery works exactly as in the invisible takeover scenario.
Invisible Takeover and Restart
Multitarget system replication and Active/Active (New)
In a multitarget system replication setup, you can now congure multiple secondaries as Active/Active (read
enabled). Only one of these secondaries can be accessed via hint-based statement routing; the others must be
accessed via direct connection.
SAP HANA Multitarget System Replication
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 175
Comment option for takeover and secondary time travel (New)
You can now use the --comment option to add a reason for the takeover or for secondary time travel.
This comment is displayed in the M_SYSTEM_REPLICATION_TAKEOVER_HISTORY monitoring view in the
COMMENTS column.
Perform a Takeover with hdbnsutil
6.4.4SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA backup and recovery.
Data Snapshots (Changed)
SAP HANA data snapshots now support multiple tenant databases in one SAP HANA system.
To create a data snapshot of an SAP HANA database system with one or more tenant databases, you use SQL
through the system database.
Using SAP HANA cockpit and storage system tools, you can use a data snapshot to recover an SAP HANA
system with all its tenant databases.
After you have successfully recovered the system database from a data snapshot, you need to recover each
tenant databases separately from the same data snapshot.
Recover SAP HANA From a Data Snapshot
Backup and Recovery Trace Files (New)
The trace les for backup and recovery, backup.log and backint.log, can now be truncated automatically. This
prevents their size from increasing excessively. In previous SAP HANA releases, it was necessary to delete the
les manually if they were no longer needed.
backup.log and backint.log can grow as new data is written. If the trace les become very large, it can take time
to load and transfer them. However, their increased size does not impact database performance.
Note
Automatic truncation of backup.log and backint.log is only supported by SAP HANA cockpit.
Diagnosis Files for Backup and Recovery
176
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Additional Option to Back up and Restore SSFS (New)
There is a new SQL statement as an alternative method to back up the SSFS: BACKUP ENCRYPTION ROOT
KEYS
To restore an SSFS, you can use: RECOVER ENCRYPTION ROOT KEYS
BACKUP ENCRYPTION ROOT KEYS and RECOVER ENCRYPTION ROOT KEYS are executed through the system
database.
To backup and restore the SSFS, you require the system privileges DATABASE ADMIN for tenant databases, and
BACKUP OPERATOR or BACKUP ADMIN for a system database.
Note
SSFS backup is not recorded in the backup catalog, and is not managed by backup lifecycle management.
System Privileges (New)
There are new ne-grained privileges that can be assigned for specic database administration tasks as
alternatives for the existing system privilege DATABASE ADMIN.
New System Privilege...
Use to...
DATABASE BACKUP OPERATOR
Using either SAP HANA cockpit or SQL:
Back up a tenant database through the system data-
base.
Schedule a data backup of a tenant database.
DATABASE BACKUP ADMIN
Using either SAP HANA cockpit or SQL:
Back up a tenant database through the system data-
base.
Schedule a data backup of a tenant database.
Perform housekeeping operations on backups.
Change the backup conguration settings.
DATABASE RECOVERY OPERATOR
Using either SAP HANA cockpit or SQL:
Recover a tenant database through the system database.
Authorizations Needed for Backup and Recovery
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 177
6.4.5SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA smart data access.
Customize Remote Source Properties (Changed)
You can customize properties, capabilities, functions, and data types on remote sources to address
diering behaviors between SAP HANA and remote sources. Previously, customizations were stored in the
properties_<adapter_name>.ini le. Now, these values are stored in the SAP HANA database.
Customizing the Behavior of a Remote Source
Create and Drop Remote Virtual Tables (Changed)
You can create a table on the remote source and a corresponding virtual table in the local source using a single
SQL statement. The remote table no longer needs to exist rst. Similarly, you can also drop the table on the
remote source when dropping the local virtual table.
Create a Virtual Table
Connecting to a Remote Source As a Restricted User (New)
You can congure the restricted user in a SAP HANA remote source to support execution of binary transfer
related procedures.
Connect to a Remote Source As a Restricted User
6.4.6SAP HANA Native Storage Extension (New)
SAP HANA Platform 2.0 SPS 04 introduces native storage extension, a new feature that provides a general-
purpose, built-in warm data store in SAP HANA to manage less-frequently accessed data without fully loading
it into memory.
As data grows, unbounded, the demands and complexities of enterprise information management systems
require more storage and processing power to scale up. But limited IT budgets mean businesses must devise
a data management strategy that both satises user requirements for data accessibility and performance, and
observes cost constraints.
The value of data tends to change over time. Aged data becomes less interesting and is less frequently
accessed, and the largest percentage of active reporting and analytics takes place against the most current
operational data available. This makes managing and storing older data in a cost-eective manner key to
decoupling data growth from expensive hardware growth.
178
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
A native SAP HANA feature, native storage extension is a "warm" data solution that provides improved cost-to-
performance ratio, while complementing other warm data tiering solutions such as SAP HANA Extension Node
and SAP HANA dynamic tiering.
Multi-Temperature Data Management in SAP HANA (New)
Hot data Data tiering ensures that your mission-critical data — classied by SAP as "hot" data — is located
on the highest performance (and highest TCO) storage, the SAP HANA in-memory database. Hot
data is used to store mission-critical data for real-time processing and analytics. It is retained
continuously in SAP HANA memory for fast performance.
Cold
data
Rarely accessed or less active "cold" data can be managed separately from the SAP HANA
database and relegated to slower and less expensive disk, or Hadoop or cloud storage media.
Cold data is used to store largely read-only data, with very infrequent access requirements. You can
access cold data from SAP HANA using SAP HANA's data federation capabilities.
Warm
data
Between hot and cold is "warm" data — which is less frequently accessed than hot data and has
relaxed performance constraints. Warm data need not reside continuously in SAP HANA memory,
but is still managed as a unied part of the SAP HANA database — transactionally consistent with
hot data, and participating in SAP HANA backup and system replication operations, and is stored
in lower cost disk-backed columnar stores within SAP HANA. Warm data is primarily used to store
mostly read-only data that need not be accessed frequently.
As an SAP HANA feature, native storage extension oers the benet of supporting any SAP HANA application.
SAP HANA Native Storage Extension.
6.4.7SAP HANA Deployment Infrastructure Administration
(New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
For SAP HANA Platform 2.0 SPS 04, SAP HDI supports the development and deployment of applications to
the SAP HANA extended application services (XS) advanced model platform. This section contains details of
changes and additions to the following tools and features provided to help with the administration of HDI:
Tip
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 179
SAP HANA Deployment Infrastructure (New and Changed)
Updates to procedures in the SAP HDI API for HDI container administration and management (New and
changed):
_SYS_DI.DROP_CONTAINER (changed)
_SYS_DI.EXPORT_CONTAINER_FOR_COPY (changed)
_SYS_DI.EXPORT_CONTAINER_FOR_SUPPORT (changed)
_SYS_DI.IMPORT_CONTAINER_FOR_COPY (changed)
_SYS_DI.IMPORT_CONTAINER_FOR_SUPPORT (changed)
<container>#DI.EXPORT_CONTAINER_FOR_COPY (new)
<container>#DI.IMPORT_CONTAINER_FOR_COPY (new)
<container>#DI.MAKE (changed)
<container>#DI.MAKE_ASYNC (changed)
Update to the SAP HDI administration parameters to congure the import and export of tables and validate
virtual tables (New):
make.validate_virtual_tables (new)
enable_drop_enforcer (new)
export_container_use_binary_export (new)
import_container_use_loopback_remote_source (new)
validate_virtual_tables (new)
Extended support for existing XS advanced design-time artifacts and their associated plug-ins (Changed)
Support for build plug-in types in XS advanced (New):
Migration table (.hdbmigrationtable)
Transforms a design-time migration table into a table database object
Application time-period table (.hdbapplicationtime)
Transforms a design-time application time-period table into a database table object with application-
time period
Updates to the HDI clients for the Java and JavaScript run-time environments in XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
Updates to the HDI deployment tools for XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content
to SAP HDI containers
180
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Administrator Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for the administration
and maintenance of SAP HDI:
SAP HANA Administration Guide (Changed)
Includes updates and improvements to the following high-level areas related to SAP HDI:
The SAP HANA Deployment Infrastructure Administration section
SAP HANA Deployment Infrastructure (HDI) Reference (New)
This new guide describes the tasks required to set up, maintain, grant access to, and use the SAP
HANA Deployment Infrastructure (HDI), for example, for content development. It also describes the roles
required to provide access to the HDI at the various levels and explains how the roles t together to provide
a secure deployment infrastructure. For more information, see SAP HANA Deployment Infrastructure (HDI)
Reference in Related Information below.
Related Information
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Deployment Infrastructure Development (New and Changed) [page 185]
6.4.8SAP HANA Application Run-Time Services (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the application run-time services in
SAP HANA.
The following changes and additions are included in SAP HANA 2.0 SPS 04 to enable the management of the
XS advanced run-time component:
Included support for Java 11 applications (New)
Included support for Node.js 10 applications (New)
Included support for Open Service Broker API 2.12 (New)
Improved staging performance (Changed)
Improved service start-up performance (Changed)
Introduced additional platform role collections that enable read-only access to the XS advanced controller
API and resources for platform administration and audits (New)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 181
Note
For more information about security-related changes and additions, see SAP HANA Security Guide in
Related Information below.
The XS advanced command-line interface (CLI) now provides support for the following components and
actions (New and changed):
Open application URLs directly from the command-line console with the new XS CLI command xs
open (New)
Display the application run time that an application is using with the (improved) commands xs
runtime and xs app (Changed)
The XSA command-line interface (CLI) now provides support for the following components and actions:
Back up and recover individual le-system service instances with the improved command XSA
backup-fss (Changed)
Ensure the connectivity of all XS advanced technical-database users with the XSA command unlock-
technical-users (New)
Renew the password of all technical-database users required by XS advanced system services with the
XSA command renew-passwords-of-technical-users (New)
Introduced congurable parameters that control the behavior of the Job Scheduler service. For more
information about the parameters, see Scheduling Jobs in XS Advanced in the SAP HANA Administration
Guide (Changed).
The following changes and additions to the XS advanced run-time component were rst made available in SAP
HANA 2.0 extended application services, advanced model SPS 03 feature revision 1, which is included in SAP
HANA 2.0 SPS 04:
Tip
For more information about the XS advanced SPS 03 feature revision 1, see SAP Note 2691905 in
Related Information below.
Support authentication methods such as X.509 client certicate authentication and SPNEGO
Support the installation of XS advanced into a tenant database
Note
Requires at least SAP HANA 2.0 SPS02 rev 24.07, SAP HANA 2.0 SPS03 rev 34.
Send applications logs to external syslog servers
Enable inspection of the contents of the XS advanced blob store
Support http-based application health checks
Enhanced alerts concerning application crashes
Support PSE les when uploading certicates by means of the command "xs set-certificate"
Support the changing of passwords for XS advanced platform users during login, for example, with the xs
cli using the command "xs login"
Improved updates to environment variable groups by means of the xs cli commands "xs update-
running-environment-variable-group" and "xs update-staging-environment-variable-
group"
Display more information about services and service keys when using the "xs system-info" command
182
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Enable the creation of XS advanced SAP HANA users by means of the the xs cli command "xs create-
user"
Support symbolic links when uploading applications to the XS Controller
Support XS advanced running in an IPv6 environment
Improved performance when fetching application logs
Improved performance when stopping applications during shutdown of the XS advanced execution agent
It is possible to assign XS Controller roles (for example, “space developer”) to SAML IdP users with the XS
CLI commands "xs set-org-role" and "xs set-space-role" and specifying the corresponding IdP
with the option "--origin"
Adapt service instances created by additionally installed service brokers (for example, Job Scheduler
services) automatically after changing the XS advanced default domain
Administrator Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for the administration
and maintenance of the XS advanced platform:
SAP HANA Administration Guide (Changed)
Includes updates and improvements to the following high-level areas related to SAP HANA XS advanced:
The Maintaining the SAP HANA XS Advanced Model Run Time section (New and changed)
SAP HANA Deployment Infrastructure (HDI) Reference (New)
This new guide describes the tasks required to set up, maintain, grant access to, and use the SAP HANA
Deployment Infrastructure (HDI), for example, for content development in the context of XS advanced. It
also describes the things to take into consideration when setting up a secure deployment infrastructure for
XS advanced. For more information, see Related Information below.
SAP HANA Security Guide (New and Changed)
Includes updates and improvements (amongst others) to the following high-level areas related to SAP
HANA XS advanced:
The Predened XS Advanced Users section (Changed)
The Scopes, Attributes, and Role Collections section (Changed)
The User Groups for XS Advanced Technical Users section (New and changed)
SAP HANA Deployment Infrastructure (HDI) Reference (New)
This new guide describes the tasks required to set up, maintain, grant access to, and use the SAP HANA
Deployment Infrastructure (HDI), for example, for content development and deployment. It also describes
the roles required to provide access to the HDI at the various levels and explains how the roles t together
to provide a secure deployment infrastructure. For more information, see Related Information below.
Related Information
SAP HANA XS Advanced Development (New and Changed) [page 186]
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Security Guide
SAP Note 2691905
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 183
6.5 Development
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for development.
SAP Web IDE for SAP HANA (New and Changed) [page 184]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Deployment Infrastructure Development (New and Changed) [page 185]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
SAP HANA XS Advanced Development (New and Changed) [page 186]
For SAP HANA Platform 2.0 SPS 04, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
Text Search (New and Changed) [page 190]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for text search.
Hierarchy Functions (New and Changed) [page 193]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the hierarchy functions:
SAP HANA Intercative Education (SHINE) (New and Changed) [page 194]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Interactive
Education (SHINE)
SAP HANA External Machine Learning Library (New and Changed) [page 194]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the External Machine
Learning Library (EML).
6.5.1SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
What's New in SAP HANA Platform 2.0 SPS 04
184
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.5.2SAP HANA Deployment Infrastructure Development
(New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Deployment
Infrastructure (HDI).
For SAP HANA Platform 2.0 SPS 04, SAP HDI supports the development and deployment of applications to
the SAP HANA extended application services (XS) advanced model platform. This section contains details of
changes and additions to the following tools and features provided to help with the administration of HDI:
SAP HANA Deployment Infrastructure (New and Changed)
Extended support for existing XS advanced design-time artifacts and their associated plug-ins (Changed)
Provided support for additional build plug-in types in XS advanced (New):
Migration table (.hdbmigrationtable)
Transforms a design-time migration table into a table database object
Application time-period table (.hdbapplicationtime)
Transforms a design-time application time-period table into a database table object with application-
time period
Provided updates to the HDI clients for the Java and JavaScript run-time environments in XS advanced
(Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi
A Node.js-based client library for SAP HDI
sap-java-hdi
A Java-based client library for SAP HDI
Updates to the HDI deployment tools for XS advanced (Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi-deploy
The Node.js based application is based on HDI's SQL interface and enables the deployment of content
to SAP HDI containers
@sap/hdi-dynamic-deploy
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Note
For more information about SAP HDI, see The SAP HANA Deployment Infrastructure (HDI) Reference in
Related Information below.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 185
Developer Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for HDI content
developers:
SAP HANA Developer Information Map (Changed)
Extended and improved links, descriptions, and visual aids to help readers nd information about SAP
HDI quickly and easily
Added graphical maps and interactive tables to help readers navigate to the desired information more
easily and quickly
SAP HANA Deployment Infrastructure (HDI) Reference (New)
This new guide describes the tasks required to set up, maintain, grant access to, and use the SAP HANA
Deployment Infrastructure (HDI). It also describes how to support developers who want to create content
for deployment to HDI containers, for example, using the HDI SQL API or with the tools provided by the XS
advanced model platform. For more information, see Related Information below.
Related Information
SAP HANA Deployment Infrastructure (HDI) Reference
SAP HANA Deployment Infrastructure Administration (New and Changed) [page 179]
6.5.3SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 04, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
This section contains details of changes and additions to the following development-related tools and features
in the XS advanced platform:
Application Run-time Environment (New and Changed)
JavaScript Run-time Environment (New and changed)
Included support for Node.js 10.x applications (New)
Included updates to packages available on the SAP NPM Registry at https://npm.sap.com
(Changed)
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
Java Run-time Environment (Changed)
186
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Included support for Java 11 applications (New)
Python Run-time Environment (Changed)
Provided an updated version of the Python build pack for XS advanced (Changed)
XS_PYTHON contains new versions of the libraries provided for use in the Python run-time
environment in XS advanced (Changed)
Deployment Service (New and Changed)
Service keys and service tags (Changed)
It is also now possible to inject service keys into an application environment (New)
MTA module- and resource-type parameters and attributes (New and changed):
routes (New)
Replaces the following attributes in Cloud Foundry domains(s), host(s), no-hostname
restart-on-env-change (New)
Restart an XS advanced application on update if the environment has changed in one of the
environment variables
health-check-http-endpoint (New)
Dene the URL to use to check an application's availability
deployed-after (New)
Dene the point in the deployment sequence when the specied modules must be deployed
Provided support for the MTA module parameter enable-parallel-deployments (New)
Provided support for additional installation and deployment options in the XS command-line interface
(New and changed)
Note
For more information see MTA Deployment Descriptor Syntax in the SAP HANA Developer Guide for XS
Advanced.
SAP HANA Deployment Infrastructure (New and Changed)
Extended support for existing XS advanced design-time artifacts and their associated build plug-ins
(Changed)
Provided support for additional build plug-in types in XS advanced (New):
Migration table (.hdbmigrationtable) (New)
Transforms a design-time migration table into a migration table database object
Application time-period table (.hdbapplicationtime) (New)
Transforms a design-time, application time-period table into a database table object with application-
time period
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 187
Provided updates to the HDI clients for the Java and JavaScript run-time environments in XS advanced
(Changed):
Tip
For more details, see the CHANGELOG and README les included in the corresponding package.
@sap/hdi (Changed)
A Node.js-based client library for SAP HDI
sap-java-hdi (Changed)
A Java-based client library for SAP HDI
Provided updated versions of the HDI deployment tools for XS advanced (Changed):
@sap/hdi-deploy (Changed)
The Node.js based application which is based on HDI's SQL interface and enables the deployment of
content to SAP HDI containers
@sap/hdi-dynamic-deploy (Changed)
A Node.js-based HTTP server for the deployment of database content to dynamically created SAP HDI
containers
Core Data and Services (New)
The XS advanced platform now supports Core Data and Services (CD & S), which are used in the
Application Programming Model for SAP Cloud Platform (New)
XS Advanced Services (New and Changed)
The following new or updated services are available:
XS advanced now provides support for the Open Service Broker API 2.12 (New)
XS Command Line Interface (New)
Open application URLs directly from the command-line console with the new XS CLI command xs open
(New)
Display information about the application run time that an application is using with the (improved)
commands xs runtime and xs app (Changed)
Display more information about services and service keys when using the "xs system-info" command
(Changed)
Improve and expand the options for commands used during the administration and maintenance of the XS
advanced platform, for example, user (and user role) and certicate management, environment variables,
and login operations (New and changed)
188
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Note
For more information about the updates to XS CLI for SAP HANA 2.0 SPS 04, see SAP HANA
Application Run-Time Services (New and Changed) in Related Information below.
Developer Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for XS advanced
application developers:
SAP HANA Developer Information Map (New and Changed)
Extended and improved all existing areas with more links, descriptions, and visual aids (Changed)
Added graphical maps and interactive tables in all sections to help locate (and navigate to) the desired
information target more easily and quickly (Changed)
Added a new Analytic Modeling topic to the Information by Task section (New)
SAP HANA Developer Guide for XS Advanced (Changed)
Includes updates and improvements to the following high-level areas:
The tutorials in the Getting Started section (Changed)
The Deployment Descriptors section (Changed)
The Dening the Data Model section (Changed)
The Writing Application Code section (Changed)
The Services section (Changed)
The Security section (Changed)
The Application Router section (Changed)
The HDI Plug-ins Reference section (Changed)
The XS Command-Line Reference section (Changed)
XS Command-Line Reference (New)
This new guide provides a comprehensive list of the commands that are available to help maintain the
SAP HANA XS advanced platform with the xs command-line interface. The information provided includes
a description of how to use the commands and uses examples to show the required syntax. The xs CLI
is intended to help you maintain not only the applications that are deployed to the XS advanced run-time
environment but also the run-time environment itself, for example, the services, domains and certicates,
organizations and spaces, build packs, as well as the users who need access to it.
SAP HANA Deployment Infrastructure (HDI) Reference (New)
This new guide describes the tasks required to set up, maintain, grant access to, and use the SAP
HANA Deployment Infrastructure (HDI), for example, for content development. It also describes the roles
required to provide access to the HDI at the various levels and explains how the roles t together to provide
a secure deployment infrastructure. For more information, see Related Information below.
SAP HANA Security Guide (New and changed)
Includes updates and improvements (amongst others) to the following high-level areas related to SAP
HANA XS advanced:
The Predened XS Advanced Users section (Changed)
The Scopes, Attributes, and Role Collections section (Changed)
The User Groups for XS Advanced Technical Users section (Changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 189
Related Information
SAP HANA Application Run-Time Services (New and Changed) [page 181]
SAP HANA Deployment Infrastructure (HDI) Reference
The SAP HANA XS Command-Line Interface Reference
6.5.4Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for text search.
Built-In Procedure sys.esh_search() and CDS (New and Changed)
Note the following new features for built-in procedure sys.esh_search():
It is now possible to get the API version by calling esh_search() instead of selecting the version number
from SYS.M_FEATURES.
API Version Information
Columns can be dened as lter attributes. This annotation is mainly used by the Enterprise Search
user interface. It is also possible to request columns with @EnterpriseSearch.filteringAttribute
annotation as facet columns.
CDS: Annotation @EnterpriseSearch
sys.esh_config(): Property Annotations
When a search conguration is validated it is now possible to check if a fulltext index exists for a column.
CDS: Annotation @Search
sys.esh_config(): Property Annotations
Whyfound information is not returned anymore for lter conditions.
Separation of User Input and Other Filter Conditions
All columns with @UI annotations are returned as default response columns if no response columns are
dened using the $select parameter.
Added support for VARBINARY columns in query language expressions, to lter search
results by, for example, GUID values ({{id:EQ:FA163E38C6481EE8AADE50EE79D086E4}},
{{id:NE:fa163e38c6481EE8aade50ee79d086e4}}.
Supported SQL Types
You can embed subobjects in other subobjects. It is possible to return these more complex data structures
in the search response. The $metadata output also contains the denition of the subobject structures.
Added support for ABAP NUMC columns.
Interval Facets for NUMC Columns
If a facet is requested for a NUMC column, the facet is now returned as an interval facet, similar to facets
for integer columns.
CDS: Annotation @EnterpriseSearchHana
sys.esh_config(): Property Annotations
Fuzzy Score Functions for NUMC Columns
ABAP NUMC columns can now be treated as integer numbers and score functions (linear, gaussian,
logarithmic) can be used for these columns.
190
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
The annotation @EnterpriseSearchHana.numc is used to identify (N)VARCHAR columns that
contain numeric string values.
If no score functions are dened for a NUMC column, search in this column is done similar to an
alphanumeric search, but with numeric characters only.
Leading zeros are ignored when comparing a search term with the contents of a NUMC column, and the
calculation of fuzzy scores also ignores the leading zeros.
Alphanumeric Search
CDS: Annotation @EnterpriseSearchHana
sys.esh_config(): Property Annotations
Facets for Numeric and NUMC Columns
Added support for annotations needed by the enterprise search UI (@UI and others).
CDS: Annotation @UI
Presentation mode annotations are deprecated because of new @UI annotations:
If no $select parameter is given, all columns with @UI annotations are now returned as default response
columns. This is identical to the former annotation @EnterpriseSearch.presentationMode.
CDS: Annotation @UI
sys.esh_config(): Property Annotations
Limitations for @UI annotations (see $select option): System Query Options
Pass-Through all annotations (@UI and others)
It is now possible to add annoations to search congurations, that are not used by sys.esh_search().
These annotations are only passed-through to the $metadata call and do not have any other impact on
the search results. These annotations are needed to dene the layout of search results in the search UI and
in other frontend applications.
CDS: Example: Using Annotations not Related to Search
sys.esh_config(): Entity Type Annotations, Example: Using Annotations not Related to Search
$metadata: Metadata for Annotations not Related to Search
Optimized snippet information:
In case the @EnterpriseSearch.snippets.maximumLength annotation is used to dene the
maximum length of a snippet, the snippet information now is optimized. The snippet is as long as possible
(within the given maximum length) and contains the best matching tokens. These are calculated based on
the score.
Hide views from default scope of a federated search:
Use the new annotation @EnterpriseSearch.hidden: true to exclude a search view from the default
search scope.
CDS: Annotation @EnterpriseSearch
sys.esh_config(): Entity Type Annotations
The getSuggestion() function can now optionally count the number of anchor objects for each
suggestion value. The getSuggestion() parameter count has to be set to true to enable this feature.
Method 'GetSuggestion' - Suggestion Call
Search for NULL values.
Example: query='x y z AND col1:IS:null'
Supported Features of the Query Language
Added support of SQL type BOOLEAN. BOOLEAN columns can be used as response columns and as facet
columns. The search query language can be used to search or lter for boolean columns.
Examples: query='x y z false', query='x y z isvalid:EQ:true'
Supported Features of the Query Language
Added support of SQL views with parameters. SQL views with parameters can be used as searchable
database objects with parameters (in addition to table functions and join views with constraints).
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 191
Parameter values can be passed to sys.esh_search() at runtime (in addition to the already existing
parameter denition in the search conguration).
Example:
call esh_search('[ "/$all(search_date=''20180108'',search_language=''de'')?
$count=true&$top=10&filter=..." ]', ?);
All session variables are now supported as default values for parameters (in addition to the already existing
predened session variable names).
Entity Type Annotations for Table Functions and SQL Views with Parameters
Multilingual UI texts (e.g. labels) can be stored in the search conguration and are returned in the user's
language as part of the metadata output.
CDS: Dening Multilingual Text
sys.esh_config(): Dening Multilingual Text
$metadata: Multilingual UI Texts
Support of search in classication data (key-value pairs).
Classications are used as a generic way to store a large number of user-dened key-value pairs in a
search model. A key may be any string like 'color', 'weight', 'length', and so on and values may be of
dierent types like strings, numbers or intervals.
Classication Search with Built-In Procedure sys.esh_search()
CDS: CDS Annotations for Classication Search
sys.esh_config(): @Semantics.interval Entity Type Annotations
sys.esh_config(): @GenericPersistency Property Annotations
It is now possible to dene nested subobject structures. Subobjects may now contain other subobjects.
Subobject structures are now also visible in metadata, search results and search requests.
CDS: Annotation @EnterpriseSearchHana, Example: Dening Subobjects Within Subobjects
sys.esh_config(): Subobjects Within Other Subobjects
sys.esh_search(): Subobjects, OData Query Options Supported by Federated Search, Subobjects and
Column Identiers in the Query Language, Annotations in the Search Response
The annotation @EnterpriseSearchHana.identifier can be used to create columns with the same
name in dierent subobjects.
CDS: Annotation @EnterpriseSearchHana
sys.esh_config(): Property Annotations
Fuzzy Search (New)
Fuzzy search supports the following new features:
The new fuzzy search option fuzzySubstringMatch oers and controls a post processing of the score
calculation. fuzzySubstringMatch is available for most similarCalculationModes. Possible values
are fuzzySubstringMatch=on/off/beginning/anywhere.
Option fuzzySubstringMatch
A new fuzzy search option minSearchLengthis available for
similarCalculationMode=searchCompare and similarCalculationMode=flexible. The option
minSearchLength allows to set a threshold for the minimal length of a string (or token for text) for
searching.
Option similarCalculationMode
For the fuzzy search parameter similarCalculationMode the new mode
'similarCalculationMode=flexible' is available. The new mode allows to parametrize how wrong or
192
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
additional characters are inuencing the score. With it come the following new conguration parameters:
lengthTolerance, errorDevaluate, fuzzySubstringMatch.
Option similarCalculationMode exible
6.5.5Hierarchy Functions (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the hierarchy functions:
Hierarchy Generation
HIERARCHY_ROOT_RANK Attribute (New)
The HIERARCHY_ROOT_RANK hierarchy attribute was added. HIERARCHY_ROOT_RANK provides the rank of
the root node of the tree in which the node is located.
Basic Attributes
Exclude Interval Boundaries in HIERARCHY_TEMPORAL (New)
The HIERARCHY_TEMPORAL function oers a new option for <hierarchy_genfunc_validity_spec> to
exclude interval boundaries.
HIERARCHY_TEMPORAL Generator Function
Hierarchy Navigation
Column HIERARCHY_AGGREGATE_TYPE (New)
The HIERARCHY_DESCENDANTS_AGGREGATE function has the new column
HIERARCHY_AGGREGATE_TYPE. The HIERARCHY_AGGREGATE_TYPE value qualies a row either as a normal
node (0), as a subtotal aggregate (1), as a balance aggregate (2), as a not matched aggregate (3), or as a total
aggregate (4).
HIERARCHY_DESCENDANTS_AGGREGATE Navigation Function
Expressions in Hierarchy Aggregation Functions Measure Arguments (New)
Expressions are supported for hierarchy aggregation functions measure arguments.
HIERARCHY_DESCENDANTS_AGGREGATE Navigation Function
HIERARCHY_ANCESTORS_AGGREGATE Navigation Function
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 193
6.5.6SAP HANA Intercative Education (SHINE) (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Interactive Education
(SHINE)
Secure Store (Changed)
A new sample has been added to showcase the usage of secure store procedures from Node.js.
OData v4 support for XS Advanced Java (Changed)
The Java implementation in SHINE based on OData v4 support for XS Advanced Java application has been
removed. The recommended way to build Java applications that use OData v4 is now based on the SAP Cloud
Application Programming Model.
Fiori Launchpad (Changed)
Fiori Launchpad has been enhanced to include a Content Security Policy (CSP) header.
Tests (New)
Tests have been added to showcase how to write tests for tables, views, functions and procedures.
6.5.7SAP HANA External Machine Learning Library (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the External Machine Learning
Library (EML).
PREDICT and PREDICTM (Changed)
New versions of the EML PREDICT and PREDICTM functions, named PREDICT_ANY and PREDICTM_ANY,
can be called through the ANY interface, which allows input tables to be passed with dierent column
194
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
structures. When the SAP HANA Application Function Library (AFL) is installed, the new PREDICT_ANY
and PREDICTM_ANY functions are preinstalled as stored procedures in the _SYS_AFL schema. Wrapper
procedures therefore do not need to be generated to call the new functions. The names of the preinstalled
ANY procedures reect the number of input tables the procedures take, for example, EML_PREDICT,
EML_PREDICT_2, EML_PREDICT_3, and EML_PREDICT_4.
Calling Models with PREDICT
CLOUDHOOK (New)
CLOUDHOOK is an EML function for invoking generic external management functionality using SQLScript. It
allows external services such as SAP Data Hub or external cloud providers to be integrated in EML This is done
through an intermediate CloudHook server, which is positioned between EML and the external services. The
management functionality itself is not directly embedded in EML.
CloudHook
Operating System and Component Versions (Changed)
The minimum versions of SUSE Linux Enterprise Server (SLES) and Red Hat Enterprise Linux (RHEL) that are
supported in EML are as follows:
SLES 12 SP 2
RHEL 7.4
The following component versions now apply:
The recommended TensorFlow version is 1.13.1.
The recommended TensorFlow Serving version is 1.13.0. The minimum version for using dynamic model
management is 1.7, and the minimum version for using transport layer security is 1.11.
The gRPC version now used in EML is 1.14.2.
Components
6.6 Reference
SAP HANA Platform 2.0 SPS 04 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL Reference Guide (New and Changed) [page 196]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA SQL and
System Views Reference
SAP HANA Client Interfaces (New and Changed) [page 218]
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 195
SAP HANA Platform 2.0 SPS 04 introduces new and changed features, as documented in the SAP
HANA Client Interface Programming Reference and the SAP HANA Client Installation and Update
Guide.
SAP HANA SQL Command Network Protocol Reference (Removed) [page 226]
SAP HANA Platform 2.0 SPS 04 does not include the SAP HANA SQL Command Network Protocol
Reference.
SAP HANA Spatial (New and Changed) [page 226]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Spatial.
SAP HANA Graph (New and Changed) [page 230]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Graph.
SAP HANA Predictive Analysis Library (New and Changed) [page 232]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA SQLScript Reference (New and Changed) [page 235]
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA SQLScript
Reference.
6.6.1SAP HANA SQL Reference Guide (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA SQL and System
Views Reference
SQL Statements (New and Changed)
ALTER INDEX
Statement (changed)
Supported INVERTED index types have been extended to include HASH and VALUE.
ALTER SYSTEM {ADD
| REMOVE} ABSTRACT
SQL PLAN FILTER
Statement (new)
Adds or removes lters that determine whether the abstract SQL plan is captured
for a query.
ALTER LIBRARY
Statement (new)
Alters a user-dened SQLScript library.
ALTER PSE Statement
(changed)
Two new options, <add_purpose_object_clause> and
<drop_purpose_object_clause>, allow you to add and remove providers and
hosts from an existing JWT, SAML, and SSL purpose assigned to a PSE.
ALTER REMOTE
SOURCE Statement
(changed)
The new <properties_clause> option allows you to set and unset the properties
of a remote source.
196 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
ALTER SYSTEM {ADD|
REMOVE} STATEMENT
HINT Statement
(changed)
A new option, <statement_hash>, allows you to add or remove statement hints for
a specic statement hash.
ALTER SYSTEM ALTER
DATAVOLUME ADD
PARTITION Statement
(changed)
The new <path> option allows you to specify a location for the new data volume.
The new <site> option allows you to add the data volume partition to a specic
secondary site.
ALTER SYSTEM ALTER
DATAVOLUME DROP
PARTITION Statement
(changed)
The new <site> option allows you to drop the data volume partition from a specic
secondary site.
ALTER SYSTEM
CREATE
RUNTIMEDUMP
Statement (new)
You can create a RUNTIMEDUMP le that contains a subset of sections and proles.
ALTER SYSTEM
CREATE WAITGRAPH
Statement (new)
You can create a WAITGRAPH le that contains thread information about deadlocks.
ALTER SYSTEM
{ENABLE|DISABLE}
STATEMENT HINT
Statement (changed)
A new option, <statement_hash>, allows you to enable or disable statement hints
for a specic statement hash.
ALTER SYSTEM
{ENABLE | DISABLE}
SYSTEM REPLICATION
Statements (new)
Enables or disables a standalone SAP HANA system to serve as an SAP HANA
System Replication (HSR) primary site. These statements are only supported in an
on-premise SAP HANA system.
ALTER SYSTEM CLEAR
AUDIT LOG (changed)
Lets you clear audit log data by audit policy name.
ALTER SYSTEM
{START|STOP}
PERFTRACE
Statement (changed)
The new <root_statement_hash> clause allows you to limit the performance
trace to statements specied by the root statement hash.
ALTER SYSTEM
{START| STOP}
SQLSCRIPT CODE
COVERAGE Statement
(new)
The new ALTER SYSTEM {START | STOP} SQLSCRIPT statement allows you to start
and stop code coverage per session for SQLScript functions and procedures.
ALTER SYSTEM
{ENABLE|DISABLE |
REMOVE} ABSTRACT
SQL PLAN Statements
(changed)
You can now specify one or more SQL plans to perform the action on, instead of
performing the action on all SQL plans.
The statement now supports multiple abstract SQL plans for each SQL statement.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 197
ALTER SYSTEM
{REGISTER |
UNREGISTER}
SYSTEM REPLICATION
SITE Statement (new)
The new ALTER SYSTEM {REGISTER | UNREGISTER} SYSTEM REPLICATION SITE
statement allows you to register or unregister a system replication secondary site.
ALTER TABLE
Statement (changed)
Previously, to convert a primary key or unique constraint to index type INVERTED
INDIVIDUAL, you needed to drop and recreate the index with the new type.
Now, you can convert the index directly using the new ALTER PRIMARY
KEY INVERTED INDIVIDUAL and ALTER CONSTRAINT <constraint> UNIQUE
INVERTED INDIVIDUAL syntax.
The ONLINE [PREFERRED] options allow operations to be performed without
serializing with concurrent DML operations. When an operation does not support
the ONLINE option, the PERFERRED option detects non-support, displays a warning
message, and then executes the operation in table x-lock mode.
ALTER VIEW
Statement (changed)
A new clause, WITH [NO] DDL ONLY, lets you control whether users can users can
query the view or modify the underlying table.
A new clause, <alter_index_clause> allows you to create and modify an index on
a dynamic result cache.
A new clause <alter_view_access_modes> lets you set the access mode of a
view without recompiling the view query or propagating recompilations of dependent
view.
CALL Statement
(changed)
You can now call a SQLScript library member procedure directly using the CALL
statement.
CREATE/ALTER/
DROP AUDIT POLICY
Statement (changed)
You can now set a retention period on an audit policy.
Based on a subset of the audit actions, you can create, alter, and drop audit policies
on SYSTEMDB for a specic tenant.
CREATE/ALTER
FUNCTION Statement
(changed)
A new clause, <variable_cache_clause>, allows you to specify whether to cache
intermediate variables for a SQLScript procedure when desirable for computations
in systems where storage and computation nodes are separate.
CREATE/ALTER JWT
PROVIDER Statement
(changed)
You can now congure per JWT provider whether the identities check by the provider
is case sensitive.
CREATE/ALTER
PROCEDURE
Statement (changed)
A new clause, AUTOCOMMIT DDL, species whether to automatically commit DDL
statements in SQLScript procedures.
A new clause, <variable_cache_clause>, allows you to specify whether to cache
intermediate variables for a SQLScript procedure when desirable for computations
in systems where storage and computation nodes are separate.
Use the new AUTO keyword in a variable declaration to declare a variable without
explicitly setting its data type.
198 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Support for the dening the table type at DDL time (<any_table_type> option)
has been added for SQLScript procedures.
SQLScript procedures now support read-only dynamic SQL calls.
SQLScript procedures now support the CONTINUE exception handler.
CREATE/ALTER SAML
PROVIDER (changed)
You can now congure per SAML provider whether the identities check by the
provider is case sensitive.
CREATE/ALTER
TABLE Statement
(changed)
You can now control whether a table can be moved to another location using the new
[NOT] MOVABLE clause (CREATE TABLE) and SET [NOT] MOVABLE clause (ALTER
TABLE).
You can now create replicas that have a subset of the columns from the source table.
You can now create replicas that have partitions.
A new <constraint_check_time> option when creating foreign key references
allows you to specify when to check constraints.
A new NUMA preferences clause (<numa_node_preferences>) allows you to
specify NUMA node preferences at the table, column, and range partition level.
The new WITH DEFAULT FILTER option has been added to the
<with_association_definition> clause. WITH DEFAULT FILTER allows you to
set a default predicate to lter column values.
Support for the built-in HOUR function has been added when creating and altering
partitions using TIMESTAMP columns on non heterogeneous partitioned tables.
You can create heterogeneous range-hash partitioned tables.
You can assign specic locations and group options to rst- and second-level
heterogeneous partitions.
Non-deterministic functions are now allowed for columns dened as GENERATED
ALWAYS.
When partitioning an existing table or converting an existing single-level range or
hash partition table, the ONLINE option prevents DML from being blocked while the
DDL is executing.
CREATE/ALTER VIEW
Statement (changed)
The AVG aggregation type is now supported for static caches.
CREATE VIRTUAL
TABLE Statement
(changed)
A remote table no longer needs to exist before you can create a virtual table
referencing it. You can now create a table on the remote source and a corresponding
virtual table in the local source using a single SQL statement.
CREATE/ALTER
WORKLOAD CLASS
Statement (changed)
Two new properties, WRITE TRANSACTION LIFETIME and IDLE CURSOR LIFETIME,
allow you to set the number of minutes before the connection to long-running
uncommitted write transactions or long-lived cursors is terminated.
CREATE/ALTER
WORKLOAD MAPPING
Statement (changed)
A new property, USERGROUP NAME, allows you to set a user group name for the
workload mapping.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 199
The new properties SCHEMA NAME and OBJECT NAME allow you to regulate
application function library (AFL) and machine learning resources for workload
mapping.
A new property, XS APPLICATION USER NAME, serves as a "business user" when
connecting to SAP HANA with a database user as a technical user.
CREATE AUDIT
POLICY Statement
(changed)
There are two new backup and recovery audit actions BACKUP DATA and RECOVER
DATA.
CREATE SYNONYM
Statement (changed)
The new OR REPLACE clause allows you to replace the current denition of a
synonym.
CREATE/DROP
TRIGGER Statements
(changed)
A new ONLINE option allows you to create or drop a trigger while there are
concurrent DML and DDL operations occurring; the operation is retried until the
concurrent operations complete.
A new OR REPLACE clause in the CREATE TRIGGER statement allows you to replace
the current denition of a trigger.
Statement-level triggers are now supported on column-store tables in the CREATE
TRIGGER statement.
CREATE/DROP
SCHEMA SYNONYM
Statements (new)
The new CREATE SCHEMA SYNONYM statement creates a synonym for an existing
schema, which can be used when executing the SET SCHEMA statement.
The new DROP SCHEMA SYNONYM statement removes an existing schema
synonym. If you drop a schema that has a synonym referencing it, then the synonym
is also dropped.
CREATE VIEW
Statement (changed)
The new OR REPLACE clause allows you to replace the current denition of a view.
The WITH EXPRESION MACRO clause now allows you to dene an expression macro
by referencing an existing expression macro in the referenced view.
The new WITH DDL ONLY clause prevents users from querying the view or modifying
the underlying table.
CREATE LIBRARY
Statement (changed)
You can now specify OR REPLACE when creating a user-dened SQLScript library.
You can now create SQLScript test libraries using the new SQLSCRIPT TEST
language option.
CREATE PROJECTION
VIEW Statement
(changed)
The new OR REPLACE clause allows you to replace the current denition of a view.
A new clause, WITH [NO] DDL ONLY, lets you control whether users can users can
query the view or modify the underlying table.
DO BEGIN...END
Statement (changed)
Use the new AUTO keyword in a variable declaration to declare a variable without
explicitly setting its data type.
CREATE/ALTER
FUNCTION Statement
(changed)
Use the new AUTO keyword in a variable declaration to declare a variable without
explicitly setting its data type.
200 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
CREATE USERS
Statement (changed)
The <authentication_options> clause is now optional when creating a new
user.
DROP JWT PROVIDER
Statement (changed)
The new CASCADE option is required to remove a JWT purpose when it is referenced
by the PSE's purpose object.
DROP SAML
PROVIDER Statement
(changed)
The new CASCADE option is required to remove a SAML purpose when it is
referenced by the PSE's purpose object.
DROP SCHEMA
Statement (changed)
The DROP SCHEMA statement now accepts schema synonyms for the
<schema_name> syntax element.
DROP TABLE
Statement (changed)
When dropping a virtual table, you can now also drop the associated table on the
remote source.
EXPORT Statement
(changed)
The LOCATION column of #EXPORT_RESULT has changed from VARCHAR(32) to a
VARCHAR(75).
The new TRACE clause writes execution information to the specied trace le when
exporting data.
The STATISTICS ONLY clause has been enhanced to allow ltered export of system
statistics, user-dened statistics, or both, with or without the underlying data
source.
The new HAVING and DEPENDENCY clauses allow you to export a subset of data for
a specied object type.
A new column, DATABASE_NAME, has been added to
<current_schema>.#EXPORT_RESULT. In addition, the length of the
SCHEMA_NAME and OBJECT_NAME columns has been increased.
The new PERSISTENT MEMORY clause let's you export a table's persistent memory
data.
EXPORT INTO
Statement (new)
Allows you to export the data from a table or view into a CSV le.
GRANT Statement
(changed)
The new AUDIT READ system privilege has been added, which allows read-only
access to the AUDIT_LOG, XSA_AUDIT_LOG, and ALL_AUDIT_LOG system views.
The new CREATE OBJECT STRUCTURED PRIVILEGE system privilege allows
creation of structured privilege commands on the object even if the user does not
need to have the CREATE STRUCTURED PRIVILEGE.
The new REMOTE TABLE ADMIN object privilege allows you to create tables on a
remote source.
The new DATABASE AUDIT ADMIN system privilege allows you to create an audit
policy on SYSTEMDB for a specic tenant.
IMPORT Statement
(changed)
The new TRACE clause writes execution information to the specied trace le when
importing data.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 201
The new HAVING and DEPENDENCY clauses allow you to import a subset of data for
a specied object type.
The new IGNORE NUMA NODE options allow you to ignore Numa node preferences
present in the import data.
A new column, DATABASE_NAME, has been added to
<current_schema>.#IMPORT_RESULT. The length of the SCHEMA_NAME and
OBJECT_NAME columns has been increased.
A new <format_option>, SAP TIMEZONE_DATASET, allows you to import .dat
les.
The new PERSISTENT MEMORY clause lets you import back the persistent memory
data that was exported.
IMPORT FROM
Statement (changed)
Named pipes (FIFO) are now supported for <file_path>.
Support for auto data type promotion when importing exible tables has been
added. See the IMPORT FROM statement for an example of how this works.
You can now specify special characters such as '\Uhhhhhhhh', '\uhhhh', '\xhh',
'\nnn' for eld delimiters and record delimiter.
IMPORT SCAN
Statement (changed)
A new column, DATABASE_NAME, has been added to
<current_schema>.#IMPORT_RESULT. In addition, the length of the
SCHEMA_NAME and OBJECT_NAME columns has been increased.
INSERT Statement
(changed)
Dot notation is now allowed with aliases in an INSERT statement (for example,
<table_alias_name>.<column_name>).
MERGE INTO
Statement (changed)
You can now merge data into a specic partition within a table.
RELEASE SAVEPOINT
Statement (new)
You now can release a named savepoint in the current transaction.
RENAME SCHEMA
Statement (new)
Rename a schema without creating a new schema.
ROLLBACK TO
SAVEPONT Statement
(new)
You can now roll back to a specic savepoint in the current transaction.
SAVEPOINT Statement
(new)
You can now establish savepoints in the current transaction.
SELECT Statement
(changed)
Association ltering capabilities are now available in the FROM clause of a SELECT
statement (see the <association_expression> clause).
You can now apply cardinality options when querying using associations
(<association_cardinality>).
A new OR REPLACE clause allows you to replace the current denition of a syntax)
available for select lists is now also supported in the FROM clause.
When using SELECT … INTO syntax, you can now select into an array variable.
202 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
A new collation clause allows you to specify the collation to use when ordering
results using the ORDER BY clause.
The SELECT statement now supports LATERAL joins.
SET PSE Statement
(changed)
A new option, <purpose_object_list>, allows you to assign providers and hosts
to a SAML, JWT, or SSL purpose.
SET SCHEMA
Statement (changed)
The SET SCHEMA statement now accepts schema synonyms for the
<schema_name> syntax element.
SET TRANSACTION
Statement (changed)
A new clause, DDL { ON | OFF }, allows you to turn DDL on or o for the session.
UNLOAD Statement
(changed)
The new PERSISTENT MEMORY clause let's you control whether to delete or retain
persistent memory as part of unloading a table.
UPSERT Statement
(changed)
You can now upsert data into a specic partition within a table.
SQL Functions (New and Changed)
ALLOW_PRECISION_LOSS
Function (new)
Allows loss of precision when aggregating decimal values using an
aggregation expression.
CONVERT_CURRENCY Function
(changed)
The new DATABASE parameter allows the tables used for the currency
conversion to reside on a dierent tenant. Previously, to convert a
unique index, unique constraint, or primary key to index type INVERTED
INDIVIDUAL, you needed to drop and recreate the index with the new
type. Now, you can convert the index directly using the ALTER INDEX
UNIQUE INVERTED INDIVIDUAL syntax.
CONVERT_UNIT Function
(changed)
The new DATABASE parameter allows the tables used for the unit
conversion to reside on a dierent tenant.
COUNT Function (changed)
The COUNT function can now be used as a window function.
CURRENT_CONNECTION Function
(changed)
The result type of the CURRENT_CONNECTION function has changed
from BIGINT to INTEGER.
CURRENT_SITE_ID Function (new)
Returns the ID of the site that is calling the function. This function is
primarily for use in SAP HANA System Replication (HSR).
CURRENT_USER_ID Function
(new)
Returns the user ID for the current statement context.
HEXTONUM Function (new)
Converts a hexadecimal value to a BIGINT string value.
NUMTOHEX Function (new)
Converts a numeric value to a hexadecimal value.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 203
TO_BLOB Function (changed)
This function now supports CLOB and NCLOB values as input.
LIKE Function (changed)
Previously, if any of the input parameters were NULL, the function
returned FALSE. Now, the function returns UNKNOWN.
LIKE_REGEXPR Function (changed)
Previously, if any of the input parameters were NULL, the function
returned FALSE. Now, the function returns UNKNOWN.
LOCALTOUTC Function (changed)
The <timezone> and <timezone_databaset> parameters are now
optional.
UTCTOLOCAL Function (changed)
The <timezone> and <timezone_databaset> parameters are now
optional.
System Views (New and Changed)
ABSTRACT_SQL_PLANS System View (changed)
The ABSTRACT_SQL_PLAN_ID column now
species a unique identier for each abstract
SQL plan entry instead of for the abstract SQL
plan.
Several new columns have been added to this
view:
The CAPTURE_TIME and CAPTURE USER
columns specify the timestamp and ID of the
user who captured the stored abstract SQL
plan.
The STATEMENT_HASH column species
the MD5 hash value for the
STATEMENT_STRING column.
The QUERY_ID column species the abstract
SQL query ID.
The VOLUME_ID column species the query
compilation location volume ID.
The RELATED_OBJECTS column species
information embedded in the
ABSTRACT_SQL_PLAN.
The ABSTRACT_SQL_PLAN_VERSION
column species mitigation information
embedded in the ABSTRACT_SQL_PLAN.
The DETAILS column species additional
information on the abstract SQL plan
including invalidation reasons.
204
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
APPLICATION_CONNECTION_HISTORY System View
(new)
Provides stored application connection history
information.
ASSOCIATIONS System View (changed)
A new DEFAULT_FILTER column species the
default predicate used to lter column values, if
dened.
AUDIT_ACTIONS System View (changed)
The IS_DATABASE_SUPPORTED column
species whether the audit action can be
added to an audit policy that was created by
an authorized user remotely via the system
database: TRUE/FALSE.
AUDIT_ POLICIES System View (changed)
A new RETENTION_PERIOD column species
the number of days the corresponding audit
entries are retained.
The IS_DATABASE_LOCAL column species
whether the policy was created on the current
database and can be changed from within this
database.
COLLATIONS System View (new)
Provides a list of collations that can be used
when ordering values using an ORDER BY clause
in a query.
CONFIGURATION_PARAMETER_PROPERTIES System
View (new and changed)
This new view displays metadata and properties
of public conguration parameters for SAP
HANA.
The HAS_KEY_INDEX column has been updated.
The new data type is VARCHAR(9) and the
values have changed from TRUE or FALSE to NO,
OPTIONAL, or MANDATORY.
Two new columns have been added:
IS_READ_ONLY and IS_SYSTEM_MANAGED.
The new IS_TEMPLATE column species TRUE
for conguration parameter templates and
FALSE for regular parameters.
The HAS_VALUE_LIST column has been
renamed VALUE_LIST_SEPARATOR and the data
type is now VARCHAR(1). This column species
the element separator character for value lists.
CS_ALL_COLUMNS System View (changed)
The new INTERNAL_COLUMN_ID species the
ID of the internal column.
DYNAMIC_RESULT_CACHE_INDEX_COLUMNS System
View (new)
Provides information about the indexes of
dynamic result caches.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 205
HOST_LONG_RUNNING_STATEMENTS View (changed)
Five new columns have been added to this view:
The RUNTIME column species the runtime,
in seconds, since the last statement
execution.
The APPLICATION_NAME column species
the name of the application.
The APPLICATION_SOURCE column
species that an application can dene
which source le SAP HANA is called from.
The usage is up to the application.
The STATEMENT_HASH column species
the MD5 hash value for the statement string.
The START_MVCC_TIMESTAMP column
species the internal MVCC timestamp of
the transaction start time.
HOST_LONG_IDLE_CURSOR View (changed)
Three new columns have been added to this
view:
The RUNTIME column species the runtime,
in seconds, since the last statement
execution.
The LAST_EXECUTED_TIME column
species the most recent statement
execution time. This timestamp is updated
when opening cursors and executing DML or
DDL, but not when fetching cursor results or
closing cursors.
The STATEMENT_HASH column species
the MD5 hash value for the statement string.
HOST_SERVICE_THREAD_CALLSTACKS View (new)
Fetches active callstacks in 5 minute intervals
and stores the information for the next 42 days.
JWT_PROVIDERS System View (changed) The new IS_CASE_SENSITIVE column species
whether identity checks are case sensitive.
M_ABSTRACT_SQL_PLAN_STATISTICS System View
(new)
Provides SQL query runtime statistics.
M_ABSTRACT_SQL_PLAN_OVERVIEW System View (new)
Provides the status of each Plan Stability
Manager on every index server in SAP HANA.
M_ACTIVE_PROCEDURES System View (changed)
The new
STATEMENT_EXECUTION_MEMORY_SIZE
column species the peak memory used for
executing each statement inside a procedure.
M_ACTIVE_STATEMENTS System View (changed)
The new STATEMENT_HASH column species
the MD5 hash value for the statement string.
206 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
M_BACKUP_CONFIGURATION System View (changed)
The new FILE_ROOTKEY_BACKUP_PATH column
species the directory for le-based rootkey
backups.
M_BACKUP_HISTORY_BROKEN System View (new)
Provides information regarding broken backup
history entries.
M_BUFFER_CACHE_STATISTICS System View (new)
Provides a cache level overview of the
conguration, cache status, and memory usage.
M_BUFFER_CACHE_POOL_STATISTICS System View
(new)
Provides statistics for each buer pool in a
cache.
M_CONFIGURATION_PARAMETER_VALUES System View
(new)
Displays landscape service parameter values.
M_CONSISTENCY_CHECK_HISTORY System View (new)
Provides table run information.
M_CONSISTENCY_CHECK_HISTORY_ERRORS System
View (new)
Lists the errors that were found within a
specied check run.
M_CS_COLUMNS/M_CS_ALL_COLUMNS System View
(changed)
The PERSISTENT_MEMORY_FILE_NAME has
been added to these two views.
M_CS_LOADS System View (changed)
Two new columns have been added:
STATEMENT_ID species the statement ID
and STATEMENT_HASH species the unique
identier for an SQL string.
M_CS_LOB_SPACE_RECLAIMS System View (changed)
The COLLECTION_SCOPE column has been
extended to include entries with the label
TABLES.
M_CS_MVCC System View (changed)
The following new columns have been added:
SPARSE_DTS_BLOCK_COUNT species the
number of DTS blocks that are sparse
timestamp blocks.
SPARSE_DTS_MEMORY_SIZE species the
memory size of the sparse block.
FREE_SPARSE_TS_BLOCK_COUNT
species the number of available sparse
timestamp blocks for successive operations.
VISIBLE_ROWSTATE_STUB_BLOCK_COUNT
species the number of visible stub blocks
present in the MVCC layer associated with
the fragment.
ROWSTATE_STUB_BLOCK_COUNT species
the total number of stub blocks, both visible
and invisible, present in the MVCC layer
associated with the fragment.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 207
FREE_ROWSTATE_BLOCK_COUNT species
the number of free row-state blocks available
for successive operations.
PAGE_CHAIN_ACTIVE_MEMORY_SIZE
species the memory size of the active part
of the MVCC page chain.
M_CS_RECORD_LOCK_STATISTICS System View (new)
Provides column store record lock information.
M_CS_TABLES System View (changed)
The new MEMORY_SIZE_IN_MISC column
species the used memory size, in bytes, for the
internal metadata structures.
M_CS_UNLOADS System View (changed)
The PERSISTENT_MEMORY column has been
added to the view.
M_DATA_VOLUME_PARTITION_STATISTICS System View
(changed)
The new FILES_SIZE column species the size of
the data volume les on the disk.
M_DATA_VOLUME_STATISTICS System View (changed)
The new FILES_SIZE column species the size of
the data volume les on the disk.
M_DISKS System View (changed)
The following columns have been added:
MOUNT_DETAILS species the mount
details as stated in /proc/mount.
MOUNT_SOURCE species the source of the
mount.
MOUNT_PATH species the mount path.
M_DSO_OPERATIONS System View (changed)
The following keys have been added:
PACKAGE_PROCESSING_TIME species the
sum of the processing times for all packages.
PACKAGE_INBOUND_QUEUE_READ_TIME
species the sum of the inbound queue read
times in all packages.
PACKAGE_ACTIVE_DATA_READ_TIME
species the sum of the active data read
times in all packages.
ACTIVE_DATA_READ_RECORD_COUNT
species the total number of active rows
read.
PACKAGE_CALCULATION_TIME species
the sum of the calculation times for the
change log and the new active data.
AVG_CALCULATION_JOB_COUNT species
the active number of jobs per package used
208
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
for the calculation of the change log and the
new active data.
CHANGE_LOG_INSERT_TIME species the
sum of the time spent inserting the change
log records.
ACTIVE_DATA_INSERT_TIME species the
sum of the time spent inserting new active
data records.
ACTIVE_DATA_UPDATE_TIME species the
sum of the time spent updating active data
records.
ACTIVE_DATA_DELETE_TIME species the
time spent deleting active data records.
PACKAGE_COUNT species the total
number of packages.
M_DYNAMIC_RESULT_CACHE System View (changed)
The following columns have been added:
LAST_ACCESS_TIME species the
timestamp of the last cache entry access.
ACCESS_COUNT species the number of
read accesses on the cache entry.
MISS_COUNT species the number of cache
miss read accesses on the cache entry.
MEMORY_SIZE_IN_INDEX species the size,
in bytes, of the memory occupied by the
dynamic result cache entry's index.
M_ES_RESULT_CACHE System View (new)
Provides details about each result that has
been cached. You must have the EXTENDED
STORAGE ADMIN privilege to access this view.
M_EXECUTED_STATEMENTS System View (changed)
Two new columns have been added: CLIENT_IP
species the IP of the client machine and
CLIENT_PID species the client process ID.
M_EXPENSIVE_STATEMENTS System View (changed)
The new SESSION_VARIABLES column species
the statement session variables.
M_FULLTEXT_COLUMN_STATISTICS System View (new)
Tracks the usage of fulltext indexes.
M_HEAP_MEMORY_AREAS System View (new)
Provides memory fragmentation details.
M_HOST_INFORMATION System View (changed)
Several new columns have been added:
NET_PORT_RANGES species the relevant
ports for SAP HANA and is dependent on the
running services.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 209
NET_PORT_UNRESERVED_RANGES
species the relevant ports for SAP HANA
that are not reserved and that are within the
net.ipv4.ip_local_port_range.
NET_PORT_EPHEMERAL_MAX_COUNT
species the number of unreserved ports,
which are in net.ipv4.ip_local_port_range.
M_HOST_NETWORK_STATISTICS System View (behavior
change)
Previously, this view only returned rows when
queried from SystemDB - one row per host
machine. When queried from a tenant database,
no rows were returned. Now the query returns
rows when queried from a tenant database
- one row for each host machine on which
a service process of the respective tenant
database is running. The behavior when queried
from SystemDB is unchanged.
M_HOST_RESOURCE_UTILIZATION System View
(changed)
The new OPEN_FILE_COUNT column species
the number of allocated le handles on the
host and the new ACTIVE_ASYNC_IO_COUNT
column species the number of asynchronous
input and/or output requests on the host.
M_MEMORY_OBJECT_DISPOSITIONS System View
(changed)
Two columns have been added:
SHRINKABLE_OBJECT_COUNT species the
number of shrinkable objects and
SHRINKABLE_OBJECT_SIZE species the size of
the shrinkable objects.
M_MULTIDIMENSIONAL_STATEMENT_STATISTICS
System View (changed)
The following columns have been added:
LAST_REQUEST_QUEUE_COUNT species
the number of jobs waiting in the request
queue.
LAST_EXECUTION_STATUS species the
last execution status of the statement.
LAST_PERFORMANCE_DATA species the
last performance data.
M_PERFTRACE System View (changed)
The new ROOT_STATEMENT_HASH column
shows the root statement hash lter if the
performance trace is limited to a specic
statement.
M_PLE_RUNTIME_OBJECTS System View (new)
Lists all the internal cache objects created to
support the planning sessions, with details about
each one.
210 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
M_PLE_SESSIONS System View (new)
Lists all planning sessions on the system as well
as their status and details.
M_PREPARED_STATEMENTS System View (changed)
The new STATEMENT_HASH column species
the MD5 hash value for the statement string.
M_RS_TABLES System View (changed)
The new SCAN_COUNT column species the
number of table scans.
M_SERVICE_MEMORY System View (changed)
The following new columns have been added:
BLOCKED_MEMORY_LIMIT species the
minimal guaranteed memory for the
process.
FREE_MEMORY_SIZE species the allocated
free memory.
MIN_SEGMENT_SIZE species the minimal
segment size for getting heap memory from
the operating system.
FRAGMENTED_MEMORY_SIZE species the
amount of memory held by SAP HANA
memory management.
VIRTUAL_ADDRESS_SPACE_TOTAL_SIZE
species the total virtual address space for
each process.
VIRTUAL_ADDRESS_SPACE_USED_SIZE
species the used size of the virtual address
space.
M_SERVICE_THREAD_CALLSTACKS System View
(changed)
The new IS_ACTIVE column species whether
the thread is active.
M_SERVICE_THREADS System View (changed)
The new ROOT_STATEMENT_ID column
species the ID of the root
statement being executed and the new
ROOT_STATEMENT_HASH column species the
MD5 hash value for the root statement string.
M_SERVICE_THREAD_SAMPLES System View (changed)
The new ROOT_STATEMENT_ID column
species the ID of the root
statement being executed and the new
ROOT_STATEMENT_HASH column species the
MD5 hash value for the root statement string.
M_SERVICES System View (changed)
The new IS_DATABASE_LOCAL column species
whether or not the service is local to the
database, tenant, or if it belongs to one specic
database.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 211
M_SNAPSHOTS System View (changed)
Two new columns have been added:
REDO_LOG_POSITION species the redo log
position corresponding to the snapshot and
LAST_COMMIT_TIME species the timestamp of
the last commit of the snapshot.
M_SQLSCRIPT_CODE_COVERAGE_OBJECT_DEFINITIONS
System View (new)
Provides denitions for the objects referenced in
SQLScript code coverage results.
M_SQLSCRIPT_CODE_COVERAGE_RESULTS System View
(new)
Provides per-session SQLScript code coverage
results.
M_SQLSCRIPT_PLAN_PROFILER_RESULTS System View
(changed)
The following new columns have been added:
PROCEDURE_DATABASE_NAME species
the database name of outermost procedure.
PROCEDURE_LIBRARY_NAME species the
library name of the outermost procedure.
OPERATOR_STATEMENT_STRING species
the operator string.
OPERATOR_DATABASE_NAME species the
database name of the procedure/function
where the operator is dened.
OPERATOR_SCHEMA_NAME species the
schema name of the procedure/function
where the operator is dened.
OPERATOR_LIBRARY_NAME species the
library name of the procedure/function
where the operator is dened.
OPERATOR_PROCEDURE_NAME species
the name of the procedure/function where
the operator is dened.
OPERATOR_LINE species the SQL line of
the operator.
OPERATOR_COLUMN species the SQL
column of the operator.
OPERATOR_POSITION species the SQL
position of the operator.
USED_MEMORY_SIZE_SELF species the
memory used, in bytes, by the operation
itself, excluding its children.
USED_MEMORY_SIZE_CUMULATIVE
species the total memory used, in bytes, in
the operation itself, including its children.
M_SQLSCRIPT_VARIABLE_CACHE System View (new)
A new clause, <variable_cache_clause>,
allows you to specify whether to cache
intermediate variables for a SQLScript procedure
212 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
when desirable for computations in systems
where storage and computation nodes are
separate.
M_TABLE_PARTITIONS System View (changed)
The new MEMORY_SIZE_IN_PAGE_LOADABLE
column species the total resident paged
memory size of the partition and
the DISK_SIZE_IN_PAGE_LOADABLE column
species the total disk size of page-loadable
storage for the partition.
M_TENANTS System View (Removed)
This view, which was previously empty, is no
longer included in the catalog.
M_SERVICE_THREADS System View (changed)
The new NUMA_NODE_INDEX column species
the last known NUMA node that the thread was
executed on.
M_SERVICE_THREAD_SAMPLES System View (changed)
The new NUMA_NODE_INDEX column species
the last known NUMA node that the thread was
executed on.
M_SYSTEM_DATA_STATISTICS System View (new)
Provides the data statistics that are
automatically generated when querying column
and row store objects that support runtime
statistics.
M_SYSTEM_LIMITS System View (changed)
The depth of joins in a statement is
now limited to 255. This is reected
in the M_SYSTEM_LIMITS system view as
MAXIMUM_DEPTH_OF_JOINS.
M_SYSTEM_REPLICATION_TIMETRAVEL System View
(new)
Provides information about the valid time travel
range for each service on a secondary site.
M_TABLE_LOB_STATISTICS System View (changed)
The new MEMORY_SIZE column species the
size of the LOB pages that are loaded in the
memory and the new MEMORY_PAGE_COUNT
column species the number of LOB pages
loaded in the memory.
M_WORKLOAD_REPLAY_PREPROCESSES System View
(changed)
The data type for the PARAMETERS column has
changed from NVARCHAR(5000) to NCLOB.
OWNERSHIP System View (changed)
The new APPLICATION_NAME column species
the name of the application used for object
creation.
PERSISTANCE_HISTORY System View (new)
Records the database version history.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 213
PSE_PURPOSE_OBJECTS (new)
Provides information about all PSEs, with or
without a purpose, with or without an assigned
purpose object.
REORG_GENERATE_OVERVIEW System View (new)
Tracks automated and administrator calls to the
REORG_GENERATE procedure.
SAML_PROVIDERS System View (changed) The new IS_CASE_SENSITIVE column species
whether identity checks are case sensitive.
STATEMENT_HINTS System View (changed)
The new STATEMENT_HASH column species
the MD5 hash value for the STATEMENT_STRING
column.
TABLE_REPLICAS System View (changed)
The following columns have been added:
SOURCE_TABLE_TYPE
REPLICA_SCHEMA_NAME
REPLICA_TABLE_NAME
REPLICA_TABLE_TYPE
REPLICA_TYPE
HAS_DIFFERENT_PARTITIONS
HAS_DIFFERENT_COLUMNS
TABLES System View (changed)
The new IS_MOVABLE column indicates whether
the table can be moved to another location.
TABLE_PARTITIONS and M_TABLE_PARTITIONS System
Views (changed)
The following columns have been added:
NOTE_ID
PARENT_NODE_ID
GROUP_TYPE
SUBTYPE
GROUP_NAME
M_WORKLOAD_CAPTURES System View (changed)
The data type for the PARAMETERS column has
changed from NVARCHAR(5000) to NCLOB.
WORKLOAD_CLASSES System View (changed)
Two new columns have been added:
WRITE_TRANSACTION_LIFETIME species
the lifetime, in minutes, of the long-
running, uncommitted write transactions and
IDLE_CURSOR_LIFETIME species the lifetime,
in minutes, of long-lived cursors.
WORKLOAD_MAPPINGS System View (changed)
The following columns have been added:
USERGROUP_NAME
SCHEMA_NAME
OBJECT_NAME
214 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
XS_APPLICATION_USER_NAME
XS_APPLICATION_USER_NAME_WILDCARD
Other Changes by Feature Name (New and Changed)
Support for
Collation
Specication in
ORDER BY
Syntax (new)
The ORDER BY clause used in the SELECT statement, as well as many aggregate and
window functions, now support the specication of a collation name to better control
sorting. A list of supported collation types can also be found in the new COLLATIONS
system view.
Support for
Partial Rollback
(AUTOCOMMIT
DDL OFF mode)
(new)
Previously, with SET TRANSACTION AUTOCOMMIT DDL OFF, partial rollback was only
supported if the current transaction did not contain DDL execution. Now, partial rollback is
supported even if the current transaction contains DDL; only the statement that triggered
the rollback is rolled back.
System
Limitation for
Join Depth
(changed)
A new system limitation, MAXIMUM_DEPTH_OF_JOINS, has been added to limit the
maximum depth of joins in a statement and is set to 255.
The MAXIMUM_NUMBER_OF_TABLES_IN_SCHEMA system limitation has been removed.
HINT Details
(changed)
Two new hints have been added: UNFOLD_SCALAR_UDF prefers scalar UDF unfolding and
NO_UNFOLD_SCALAR_UDF avoids scalar UDF unfolding.
The ROUTE_TO and NO_ROUTE_TO hints have been extended to include
<service_type>. ROUTE_TO <service_type> routes the statement to a node related
to a service, such as "indexserver", "cacheserver", and so on. The NO_ROUTE_TO
<service_type> avoids routing the statement to a node related to a service.
The new AGGR_TARGET hint prefers aggregation toward a target.
Three new hints have been added: ESX_DISK_HASH_JOIN, NO_ESX_DISK_HASH_JOIN,
and ESX_PARTITION_HASH_JOIN_BUCKETS(<bucket size>).
Inline
Annotation
Support
(changed)
Previously, you could annotate tables and views only after their creation by using the
ANNOTATE statement. Now, you can also annotate these objects while creating or altering
them by using the new <annotation_settings> syntax in the WITH clause of the DDL
statement.
WITH Clause
Now Supported
in Nested
Subqueries
(changed)
Previously, WITH clauses in nested subqueries were not supported (for example, SELECT
a FROM (WITH w1 AS (SELECT * FROM t1) SELECT a FROM W1);). Now, you can
specify a WITH clause in a nested subquery wherever nested subqueries are supported.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 215
Support for
Anonymized
Views (new)
The following changes allow you to administer anonymized views:
CREATE | ALTER VIEW Statements
(changed)
The new WITH ANONYMIZATION clause
allows you to congure an anonymized view.
REFRESH VIEW Statement (new)
The new REFRESH VIEW statement allows
you to refresh an anonymized view.
M_ANONYMIZATION_VIEWS System View
(new)
Provides runtime information about
anonymized views in the SAP HANA
database.
ANONYMIZATION_VIEWS System View
(new)
Provides information about anonymized
views in the SAP HANA database.
ANONYMIZATION_VIEW_COLUMNS
System View (new)
Provides information about the anonymized
columns in SAP HANA database.
VIEWS System View (changed)
A new column, HAS_ANONYMIZATION,
indicates whether a view has anonymization
parameters dened for it.
Client-side
Encryption
(New and
Changed)
ALTER CLIENTSIDE ENCRYPTION COLUMN
KEY Statement (new)
Adds a new version of a client-side
encryption column key (CEK), or drops all
older versions of a CEK.
ALTER TABLE Statement (changed)
You can add and drop clientside column
encryption keys by version.
CREATE CLIENTSIDE ENCRYPTION COLUMN
KEY (changed)
Clientside encryption now supports the
ARIA-256-CBC block cipher algorithm.
You can add and drop clientside column
encryption keys by version.
GRANT Statement (changed)
The new ALTER CLIENTSIDE
ENCRYPTION KEYPAIR privilege
authorizes a user to add a new version of a
CKP, or drops all older versions of a CKP.
CLIENTSIDE_ENCRYPTION_KEYPAIRS
System View (changed)
The new KEYPAIR_VERSION column
provides version information for CKP.
CLIENTSIDE_ENCRYPTION_COLUMN_KEYS
System View (changed)
Possible values for the
ENCRYPTION_ALGORITHM column now
include ARIA-256-CBC.
The new COLUMN_KEY_VERSION column
provide version information for CEK. The
ALTER_TABLE_IN_PROGRESS column
216 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
indicates whether the CEK is being used
by an ALTER TABLE operation.
TABLE_COLUMNS System View (changed) A new value, ACTIVATING,
has been added to the
CLIENTSIDE_ENCRYPTION_STATUS
column. The value indicates the column
is undergoing re-encryption with the latest
version of the CEK.
Setting Load
Unit for Tables,
Columns, and
Partitions (new)
The following SQL statements and system views have been enhanced to support setting
the unit used to load results in memory:
ALTER INDEX Statement
ALTER TABLE Statement
CREATE TABLE Statement
INDEXES System View
M_CS_ALL_COLUMNS System View
M_CS_COLUMNS System View
M_CS_TABLES System View
PARTITIONED_TABLES System View
TABLE_COLUMNS System View
TABLE_PARTITIONS System View
TABLES System View
Application-
time Period
Tables (new)
The following SQL grammar and system view changes have been made to support
application-time period tables:
CREATE | ALTER TABLE Statements
(changed)
New <application_time_period_spec>
and <bi_temporal_table_spec> clauses.
UPDATE Statement (changed)
New FOR PORTION OF APPLICATION_TIME
clause applies an update to all the records
within the given time period.
SELECT Statement (changed)
New <for_application_time_period>
clause allows you to select records that were
active as of the specied application time
timestamp.
New
TEMPORAL_APPLICATION_TIME_AS_OF
Session Variables
New
TEMPORAL_APPLICATION_TIME_AS_OF
session variable executes queries on an
application-time period table in time travel
mode without having to specify a FOR
APPLICATION_TIME AS OF clause.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 217
TABLES System View (changed)
Changes to the TEMPORAL_TYPE column to
reect application-time period tables.
TEMPORAL_TABLES System View
(changed)
Changes to the PERIOD_NAME column to
reect application-time period tables.
Support for ARRAY Type for SQLScript
Functions and Procedures (changed)
The following SQL grammar and system
views have been changed for this
enhancement:
CREATE | ALTER PROCEDURE
statements
CREATE | ALTER FUNCTION statements
ELEMENT_TYPES system view
6.6.2SAP HANA Client Interfaces (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features, as documented in the SAP HANA Client
Interface Programming Reference and the SAP HANA Client Installation and Update Guide.
Security and Encryption (New and Changed)
Client-side Encryption
DECIMAL Support
(changed)
Client-side encryption DML and DDL operations on tables with encrypted
DECIMAL and DECIMAL(<precision>,<specification>) columns are now
allowed.
New Environment
Variable Scripts for
Conguring Common
Crypto Library (new)
To use SAP Common Crypto Library, use the new hdbclienv.sh or
hdbclienv.bat scripts to set the following environment variables:
SECUDIR
PATH
LD_LIBRARY_PATH
DYLD_LIBRARY_PATH (Mac OS)
HDB_CLIENT_HOME
218 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Machine Learning APIs (New)
Machine Learning APIs
Included in the Client
Installation (new)
The SAP HANA Client installation includes the following machine learning
APIs:
SAP HANA Python Client API for Machine Learning Algorithms.
R Machine Learning API.
Microsoft ADO.NET (New)
Microsoft .NET Core
Support (new)
On Microsoft Windows, the SAP HANA client install now supports Microsoft .NET
Core. Choose the .NET Core option in the SAP HANA client install. This option installs
a new driver (Sap.Data.Hana.Core.v2.1.dll).
Session Variables (New)
DriverVersion Session
Variable (New)
The DriverVersion session variable returns the version of the driver being
used for the connection.
HDBSQL (New)
HDBSQL Options (new)
The new -nochop option species not to remove trailing blanks from a character
output.
JDBC (New and Changed)
JDBC Connection Properties (new)
The following connection properties have been added for JDBC:
The cursorHoldabilityType property controls whether the
cursor for a statement is held or rolled back after the transaction
is committed.
The deferredPrepared property reduces the number of round
trips between the client and the SAP HANA server by not sending a
Prepare request to the server when Connection.prepareStatement()
or Connection.prepareCall() is invoked. Enabling this property helps
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 219
improve performance for applications by reducing the number of
client-server round-trips without changing application logic.
The sslKeyStore property allows you to specify the contents of the
keystore le as a string.
The sslTrustStore property allows you to specify the contents of
the truststore le as a string.
The routeDirectExecute property allows you to convert direct
execute into prepare and execute (routed execute) if the number of
index servers is more than one and if statement routing is enabled.
The maxLazyDroppedStatements property controls the maximum
number of queued statements to be dropped.
JDBC
getPrintLines(java.sql.Statement)
Static Method (new)
The getPrintLines(java.sql.Statement) method allows applications
to access to messages printed from a stored procedure via
SQLSCRIPT_PRINT:PRINT_LINE.
JDBC Static Methods for
Processing Time and CPU and
Memory Usage (new)
The following methods have been added to provide details about
memory usage, CPU time, and processing time:
The getServerCPUTime() method returns the server CPU time for
the result set fetch.
The getServerMemoryUsage() method returns the server
memory usage for the result set fetch.
The getServerProcessingTime() method returns the elapsed
server processing time for the result set fetch.
The getServerCPUTime(java.sql.Statement) method
retrieves the total server CPU processing time.
The getServerMemoryUsage(java.sql.Statement) method
returns memory usage data for a prepared or executed statement.
The getServerProcessingTime(java.sql.Statement)
method returns the elapsed processing time for a prepared or
executed statement.
JDBC API
support for
cursor
holdability
(changed)
Previously, the following objects only support the standard values
(HOLD_CURSORS_OVER_COMMIT and CLOSE CURSORS_AT_COMMIT).
java.sql.Connection.getHoldability()
java.sql.Connection.setHoldability()
java.sql.Connection.createStatement()
java.sql.Connection.prepareStatement()
java.sql.Connection.prepareCall()
java.sql.DatabaseMetaData.supportsResultSetHoldability()
java.sql.DatabaseMetaData.getResultSetHoldability()
java.sql.Statement.getResultSetHoldability()
java.sql.ResultSet.getHoldability()
220 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Now, these objects support the following values that are
specic to SAP HANA: HOLD_CURSORS_OVER_ROLLBACK and
HOLD_CURSORS_OVER_COMMIT_AND_ROLLBACK.
JDBC API Support for Savepoints
(new)
The SAP HANA JDBC driver supports objects from the JDBC standard to
implement support for savepoints.
JDBC Trace Options (new)
The following trace options have been added for JDBC:
TRACE CONNECTIONS ON | OFF
TRACE CLEANERS ON | OFF
TRACE DEBUG ON | OFF
TRACE SHOW PLAINTEXTCSE ON | OFF
Node.js (New)
New Driver
Version
Node 10 is now a supported platform for the node drivers.
Connection
Class Methods
(new)
The following methods have been added:
The abort(Function) method aborts the running database request that is being
executed on the connection.
The setRowSetSize(Integer) method species the size of the row set.
ResultSet
Class Methods
(new)
The following methods have been added:
The getServerCPUTime() method returns the server CPU time for the result set fetch.
The getServerMemoryUsage() method returns the server memory usage for the
result set fetch.
The getServerProcessingTime() method returns the elapsed server processing
time for the result set fetch.
The getValueLength(Integer) method gets the length of a LOB column or a
character string type.
The isNull(Integer) method checks if the specied column is NULL.
Statement
Class Methods
(new)
The following methods have been added:
The getPrintLines() method allows applications to access to messages printed from
a stored procedure via SQLSCRIPT_PRINT:PRINT_LINE.
The getRowStatus() method returns the status array of the most recent batch
execution.
The getServerCPUTime() method retrieves the total server CPU processing time.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 221
The getServerMemoryUsage() method returns memory usage data for a prepared or
executed statement.
The getServerProcessingTime() method returns the elapsed processing time for a
prepared or executed statement.
The isValid() method checks whether the statement is valid.
The setTimeout(Integer) method changes the default timeout for a statement.
ODBC (New)
Tracing Options
for
hdbodbc_cons
(new)
The hdbodbc_cons utility includes new options that allow you to trace connections for a
variety of information.
1. Tracing can now use an internal buer (4 KB) to store trace content before ushing it
to disk (when the buer is full), to reduce disk I/O activity when tracing is enabled.
hdbodbc_cons [config] trace flush on|off
2. You can now restrict tracing to occur only when certain error codes occur, and
only trace a certain number of occurrences. Content is repeatedly buered internally/
overwritten unless one of the error codes are encountered. The most recent content in
the buer is written to the trace le and all of the trace content up to the buer size
that occurs after the error is also written as well. Tracing content then returns to being
buered without being written out to the trace le.
hdbodbc_cons [config] trace only on error <error code
1>[,<error code 2>>,...<error code 1000>] [buffer <buffer
size>] [count <count>]
3. Use trace severity levels to control the amount of data that is written to a trace le.
hdbodbc_cons [config] trace <category> on [level <severity>] |
off
Prepared Statements (New and Changed)
Prepared Statements
Can Now Be Cached
On First Use (new)
Prepared statements can now become candidates for caching on their rst use.
Previously, they would become candidates only after being used twice.
Queued Dropped
Prepared Statements
to Improve
Performance
(changed)
Previously, your index server immediately received a message to close a prepared
statement when your application closes the statement. To improve application
performance, closed prepared statements are now queued by the client driver
and the communication for closing these queued closed statements is deferred
222 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
to when the next request to the index server occurs, or when the queue limit is
reached. The default queue limit is 50. Because of this enhancement, applications
may now appear to have more open prepared statements (for example, in
the M_PREPARED_STATEMENTS system view) until the deferred close has been
completely communicated.
Python (New and Changed)
Cursor Class
Methods
(changed)
The get_resultset_holdability and set_resultset_holdability methods support
the following new values: 2 (CURSOR_HOLD_OVERROLLBACK) and 3
(CURSOR_HOLD_OVER_COMMIT_AND_ROLLBACK).
Legacy Python
Driver Files
Are No Longer
Automatically
Installed (changed)
The following legacy Python driver les are no longer automatically installed with the
client:
/usr/sap/hdbclient/pyhdbcli.so
/usr/sap/hdbclient/hdbcli/__init__.py
/usr/sap/hdbclient/hdbcli/dbapi.py
/usr/sap/hdbclient/hdbcli/resultrow.py
You can still manually install these les by extracting them from thepip/setuptools
package located in /usr/sap/hdbclient/hdbcli-x.x.x.tar.gz.
Cursor Class
Methods (new)
Three new cursor class methods have been added:
The server_cpu_time() method returns the total server CPU processing time.
The server_memory_usage() method returns the server memory usage data.
The server_processing_time() method returns the elapsed server processing
time.
SQLDBC (New)
Connection Properties
(new)
The following properties have been added:
Property Description
communicationTimeout
Aborts communication attempts to the
server after the specied timeout.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 223
Property Description
connDownRollbackError
Setting this property to TRUE species that
if the connection is down, the client rolls
back the most recent application request,
and sends an error to the application con-
taining information about why the connec-
tion is down. The following conditions must
be true:
The session is recoverable in the server
There is a written transaction (uncom-
mitted operation) in the session
The client failed to send the last SQL
statement, OR the last statement was
sent to the server successfully, but both
auto-commit and DDL auto-commit in
the client are o.
By default, this property is set to FALSE.
cursorHoldabilityType
Species whether the cursor for a statement
is held or not after the transaction is com-
mitted or rolled back.
maxLazyDroppedStatements
Controls the maximum number of queued
statements to be dropped. Setting this value
to 0 disables the lazy drop feature and
causes a request to be sent to the server
each time a statement is dropped by the ap-
plication.
packetSizeLimit
Sets the maximum size for a request or reply
packet, in bytes.
routeDirectExecute
Converts direct execute into prepare and
execute (routed execute) if the number of
index servers is more than one and if state-
ment routing is enabled.
Connection Property
Aliases (new)
The following SQLDBC connection properties have been given new aliases:
Property Alias
clientside_encryption_keystore
_password
cseKeyStorePassword
proxy_host proxyHostname
proxy_password proxyPassword
224 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Property Alias
proxy_port proxyPort
proxy_scp_account proxyScpAccount
proxy_userid proxyUserName
The aliases can be used interchangeably with their original property names.
Statement Attributes
(new)
The following statement attributes have been added:
SQL_ATTR_SERVER_CPU_TIME, SQL_ATTR_SERVER_MEMORY_USAGE, and
SQL_ATTR_SERVER_PROCESSING_TIME.
Collect Memory
Consumption Data Using
the SQL_ATTR_SERVER
Attributes (new)
Use SQLGetStmtAttr with the SQL_ATTR_SERVER statement attributes to retrieve
memory consumption data with a SQLBIGINT value.
Force Statement Routing
to a Site for Active/
Active (Read Enabled)
(new)
Applications connecting to an Active/Active enabled system can force the
execution of a specic statement to the secondary site in order to minimize server
processing time.
Multi-level Placement
Support for Partition-
Aware Statement
Routing (new)
The SAP HANA server now supports placing lower level partitions of multi-level
partitioned tables into dierent categories, and the SAP HANA client has been
extended to retrieve more detailed multi-level placement information to determine
the optimal prepared statement execution location.
Tracing Options for
hdbsqldbc_cons (new)
The hdbsqldbc_cons utility includes new options that allow you to trace
connections for a variety of information.
1. Tracing can now use an internal buer (4 KB) to store trace content before
ushing it to disk (when the buer is full), to reduce disk I/O activity when
tracing is enabled.
hdbsqldbc_cons [config] trace flush on|off
2. You can now restrict tracing to occur only when certain error codes occur, and
only trace a certain number of occurrences. Content is repeatedly buered
internally/overwritten unless one of the error codes are encountered. The
most recent content in the buer is written to the trace le and all of the trace
content up to the buer size that occurs after the error is also written as well.
Tracing content then returns to being buered without being written out to the
trace le.
hdbsqldbc_cons [config] trace only on error <error
code 1>[,<error code 2>>,...<error code 1000>] [buffer
<buffer size>] [count <count>]
3. Use trace severity levels to control the amount of data that is written to a trace
le.
hdbsqldbc_cons [config] trace <category> on [level
<severity>] | off
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 225
Miscellaneous Changes (New)
IPv6 Support (new)
SAP HANA clients now support connecting to SAP HANA servers with IPv6 network
addresses. You can also use IPv6 addresses to specify the server's location. For
example, "serverNode=[2001:db8::1a2b]:32013".
Microsoft Windows
Server 2019
Support (new)
Windows Server 2019 is now a supported platform for SQLDBC-based drivers.
2499500
6.6.3SAP HANA SQL Command Network Protocol Reference
(Removed)
SAP HANA Platform 2.0 SPS 04 does not include the SAP HANA SQL Command Network Protocol Reference.
SAP HANA Client Interface Programming Reference Removed
The SAP HANA Client Interface Programming Reference is no longer included in the SAP HANA documentation
set. Comprehensive documentation for the SAP HANA client is available in the SAP HANA Client Installation
and Update Guide for SAP HANA Platform and the SAP HANA Client Interface Programming Reference for SAP
HANA Platform.
6.6.4SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Spatial.
ST_Buer Method (Changed)
ST_Buer now supports the parameter number_of_interpolation_points.
ST_Buer Method
ST_Collect Method (New)
Collects geometries into a single geometry collection or multi-geometry.
ST_Collect Method
226
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
ST_CollectAggr Method (New)
Creates a single geometry collection or multi-geometry containing all geometries of the column.
ST_CollectAggr Method
ST_Rotate Method (New)
Rotates a geometry by a given angle counter-clockwise around the coordinate systems origin or a given center.
ST_Rotate Method
ST_Scale Method (New)
Scales a geometry by the given factor.
ST_Scale Method
ST_Simplify Method (New)
Simplies a geometry via the Douglas-Peucker algorithm.
ST_Simplify Method
Hexagon Clustering (New)
SAP HANA Spatial supports a hexagonal grid-based aggregation. The following methods are available for the
hexagon grid clustering algorithm: ST_ClusterID(), ST_ClusterCell().
Hexagon
ST_ClusterCell Method (New)
Computes the polygon representing the cluster cell of the given point. This method works for the following
cluster algorithm: Hexagon.
ST_ClusterCell Method
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 227
ST_Translate Method (New)
Translates a geometry by given osets.
ST_Translate Method
ST_Translate3D Method (New)
Translates a geometry by given osets.
ST_Translate3D Method
ST_LocateAlong Method (New)
Returns a derived geometry collection value with elements that match the specied measure.
ST_LocateAlong Method
ST_LocateBetween Method (New)
Returns a derived geometry collection value with elements that match the specied range of measures
inclusively.
ST_LocateBetween Method
ST_Force2D Method (New)
Returns the geometry which results from dropping the Z and M coordinates, from the target geometry, if they
exist, retaining only the X and Y components.
ST_Force2D Method
ST_Force3DM Method (New)
Returns the geometry which results from dropping the Z coordinate of the target geometry, if it exists, and
adding an M coordinate if it doesn't exist, setting its value to 0.
ST_Force3DM Method
228
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
ST_Force3DZ Method (New)
Returns the geometry which results from dropping the M coordinate of the target geometry, if it exists, and
adding a Z coordinate if it doesn't exist, setting its value to 0.
ST_Force3DZ Method
ST_Force4D Method (New)
Returns the geometry which results from adding Z and M coordinates, and if any of them don't exist, sets their
value to 0.
ST_Force4D Method
New Algorithm for Distance Calculations (New)
Distance calculations use an algorithm by Karney. This algorithm produces better results than Vincenty's
algorithm, converges faster and works for almost antipodal points.
How Flat-Earth and Round-Earth Representations Work
Zero Tolerance and Exact Computation Paradigm (New)
SAP HANA Spatial does not consider tolerance anymore and performs computation according to the exact
computation paradigm.
Zero Tolerance and Exact Computation Paradigm
Reduced Memory Footprint (Changed)
The in-memory representation of geometries in planar spatial reference systems has been revised and requires
up to 50% less memory.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 229
6.6.5SAP HANA Graph (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for SAP HANA Graph.
GraphScript Extensions
Dynamic Ad-hoc Graphs (New)
GraphScript supports creating graph objects directly from input tables.
Support of Virtual Tables (New)
A graph workspace can be created on a virtual table or on a view that depends on a virtual table.
Support of Multiple Graph Workspaces (New)
GraphScript can use multiple graph workspaces.
Table Content as Input (New)
GraphScript allows tables as input parameters.
Multisets and Sequences Data Types (Changed)
A user can now create and use multisets and sequences of supported SQL types (BOOLEAN, DOUBLE,
INTEGER, TIMESTAMP, NVARCHAR, VARCHAR).
Vertex Degree Functions (New)
The following new functions are provided:
IN_DEGREE(:v): Returns the number of incoming edges of a given vertex.
OUT_DEGREE(:v): Returns the number of outgoing edges of a given vertex.
DEGREE (:v): Returns the total number of incoming and outgoing edges of a given vertex.
The result type (for all the degree functions) is BigInt.
Vertex Adjacent Edge Functions (New)
The following new functions are provided:
IN_EDGES(:v): Returns the incoming edges of a given vertex.
OUT_EDGES(:v): Returns the outgoing edges of a given vertex.
EDGES(:v): Returns all the incoming and outgoing edges of a given vertex.
The result type (for all the vertex incidence functions) is Multiset<Edge>.
Built-in Algorithms (Changed)
The following existing algorithms were enhanced:
The NEIGHBORS algorithm supports also negative distance ranges.
TRAVERSE BFS can now stop a graph traversal from inside a hook function in GraphScript with END
TRAVERSE [ALL].
230
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Algorithms (New)
The following new built-in algorithms are provided:
Top-k Shortest Path
Shortest Path 1-to-All
Strongly Connected Components
Debugging (New)
The debugging feature provides means to detect logical errors in GraphScript procedures, setting breakpoints
and inspecting variables.
openCypher Support
openCypher Subqueries in SQL (New)
openCypher can be used directly in SQL subqueries within the OPENCYPHER_TABLE function.
Aggregation in Pattern Matching (New)
openCypher supports aggregation functions MIN, MAX, SUM, and COUNT in the RETURN clause.
DISTINCT Flag (New)
openCypher RETURN supports the DISTINCT ag.
String Concatenation (New)
openCypher supports string concatenation.
Paths in Pattern Matching (New)
openCypher can return path information in JSON format.
Graph Viewer (Changed)
The search and the map layout for the SAP HANA Graph Viewer were improved.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 231
6.6.6SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the Predictive Analysis Library (PAL).
General and Architectural Changes
State Enabled Prediction in Prediction Function (changed)
PAL can create model with specied state ID. If both model content and state ID is provided to the
prediction function, the corresponding state will be created in addition to the execution of prediction.
More functions that support state-enabled prediction are added:
_SYS_AFL.PAL_SVM_PREDICT
_SYS_AFL.PAL_RANDOM_DECISION_TREES_PREDICT
_SYS_AFL.PAL_DECISION_TREE_PREDICT
_SYS_AFL.PAL_CLUSTER_ASSIGNMENT
_SYS_AFL.PAL_LATENT_DIRICHLET_ALLOCATION_INFERENCE
_SYS_AFL.PAL_BINNING_ASSIGNMENT
_SYS_AFL.PAL_NAIVE_BAYES_PREDICT
_SYS_AFL.PAL_PCA_PROJECT
_SYS_AFL.PAL_MULTILAYER_PERCEPTRON_PREDICTT
_SYS_AFL.PAL_KNN
_SYS_AFL.PAL_FRM_PREDICT
_SYS_AFL.PAL_LINEAR_REGRESSION_PREDICT
_SYS_AFL.PAL_LOGISTIC_REGRESSION_PREDICT
_SYS_AFL.PAL_ALS_PREDICT
_SYS_AFL.PAL_CRF_INFERENCE
_SYS_AFL.PAL_HGBT_PREDICT
State Enabled Real-Time Scoring Functions
Managing Workload of PAL Procedures (changed)
Workload management in SAP HANA allows you to balance and manage all workload types, including
PAL function for optimal throughput and response time. Enhancements include mapping workload class
specication to the use of individual PAL procedures.
Restricting CPU and Memory Usage
Model Comparison (new)
Model comparison functions are integrations of partition, training, testing and measuring. They help user
to compare dierent models with the same dataset.
Model comparison functions are composed of several steps:
1. (Optional) Partition data into training set and testing set
2. Call training functions with training dataset
3. Call predict functions with testing dataset
4. Calculate measurements on testing data
232
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Algorithms that support model comparison include:
Multiple Linear Regression
Support Vector Machine(Regression)
Bi-Variate Geometric Regression
Bi-Variate Natural Logarithmic Regression
Exponential Regression
Polynomial Regression
Model Comparison
New and Changed Algorithms
Conditional Random Field (new)
Conditional random elds (CRFs) are a probabilistic framework for labeling and segmenting structured
data, such as sequences. In PAL, linear-chain CRF can be applied to Named-entity recognition problem.
The named-entity recognition task is, given a sentence, rst to segment which words are part of entity, and
then to classify each entity by type (PERSON, ORGANIZATION, LOCATION, and so on).
Conditional Random Field
Kernel Density (new)
Kernel Density Estimation (KDE) is quite popular in unsupervised learning, feature engineering, and data
modeling. Its concept is analogue with histograms whereas getting rid of its defects. Given this kernel form,
the density estimates at a point within a group of points.
Kernel Density
Change Point Detection (new)
Change-point detection methods aim at detecting multiple abrupt changes such as change in mean,
variance or distribution in an observed time-series data.
Change-Point Detection
Entropy (new)
This function calculates the information entropy of attributes.
Entropy
Hybrid Gradient Boosting Tree (new)
Hybrid gradient boosting tree (HGBT) function supports mixed feature types, that is, both continuous and
categorical, supports both classication and regression tasks, supports loss criteria such as square loss
and logistic loss, supports L1 and L2 regularization, and supports model evaluation and cross-validation.
Normally its execution is faster.
Hybrid Gradient Boosting Tree
T-distributed Stochastic Neighbour Embedding (TSNE) (new)
T-distributed stochastic neighbour embedding (TSNE) is a machine learning algorithm for visualization
as well as dimensionality reduction. The algorithm achieves high quality visualization by adopting
unsupervised learning and non-linear method.
T-distributed Stochastic Neighbour Embedding
Geometry DBSCAN (new)
Geometry DBSCAN is a geometry version of DBSCAN. It only accepts 2-D geometry points as input data.
Geometry DBSCAN
Discretize (new)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 233
Discretize is an enhanced version of binning function which can be applied to table with multiple columns.
It partitions table rows into multiple segments called bins, then apply smoothing methods in each bin of
each column respectively.
Discretize
Missing Value Handling (new)
Missing Value Handling aims to handle missing values in a table. Missing values in each column of
the table can be handled by one of the following imputation types: MODE, MEAN, MEDIAN, ALS,
SPECIFIED_CATEGORICAL_VALUE, SPECIFIED_NUMERICAL_VALUE, DELETE, NONE.
Missing Value Handling
KORD (changed)
Two new measure type parameter values are added:
Condence
Support
K-Optimal Rule Discovery (KORD)
Multi-Class Logistic Regression (changed)
Supports penalty terms, model evaluation and parameter selection.
Multi-Class Logistic Regression
Logistic Regression (with Elastic Net Regularization) (changed)
Supports automatic selection of optimization method.
Logistic Regression (with Elastic Net Regularization)
Area Under Curve (AUC) (changed)
Procedure _SYS_AFL.PAL_ROC_AUC is able to output threshold value.
Area Under Curve (AUC)
Generalised Linear Models (changed)
Supports model evaluation and parameter selection
Generalised Linear Models
KNN (changed)
Categorical features are supported
Regression case is supported
KNN
Agglomerate Hierarchical Clustering (changed)
Added the EXCLUDED_FEATURE parameter.
Agglomerate Hierarchical Clustering
Gaussian Mixture Model (GMM) (changed)
Added the EXCLUDED_FEATURE parameter.
Gaussian Mixture Model (GMM)
Factorized Polynomial Regression Models (changed)
Added the following parameters:
EXCLUDED_FEATURE
USER_EXCLUDED_FEATURE
ITEM_EXCLUDED_FEATURE
Factorized Polynomial Regression Models
234
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
6.6.7SAP HANA SQLScript Reference (New and Changed)
SAP HANA Platform 2.0 SPS 04 introduces new and changed features for the SAP HANA SQLScript Reference.
AUTOCOMMIT DDL Mode Control
A new feature for SQLScript procedures that allows you to specify if a procedure is to be run with autocommit
DDL on or o.
CREATE PROCEDURE
Column STATEMENT_EXECUTION_MEMORY_SIZE in
M_ACTIVE_PROCEDURES
This column shows the peak memory (in bytes) used for executing a statement. It is sum of local peak
memories of multiple servers in case of a distributed execution.
M_ACTIVE_PROCEDURES
EXIT HANDLER for Transactional Exception
You can now declare a transactional exception. The supported error codes are 131, 133, 138.
DECLARE EXIT HANDLER
Anonymous Block Plan Caching
It is now possible to enable caching and HINTs on anonymous blocks, in order to control their compilation and
execution and to reduce compilation time.
Anonymous Block
Cursor Holdability in SQLScript
Until now, cursor holdability in SQLScript could only be controlled via system conguration. Now it is possible
to use control features for specic objects directly in SQLScript.
Cursor Holdability
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 235
Array Element Output Parameter
Until now, it was only possible to pass a single array element as an input parameter to a procedure, but it was
not to use an array element as an output parameter. Now it is possible to pass a single array element as an
output parameter.
CREATE PROCEDURE
EXEC
SELECT INTO with DEFAULT Values
SQLScript Plan Proler Supports Anonymous Blocks
SQLScript Plan Proler provides a simple and easy way to start the problem analysis of SQLScript procedures.
As it did not support anonymous blocks before, users had to switch to procedures to use the Proler. With
this enhancement, both hint and system commands can be used to enable the SQLScript Plan Proler for
anonymous blocks.
SQLScript Plan Proler
Extension of the ROUTE_TO Hint
Until now, the ROUTE_TO hint accepted only integer arguments as target <volume_id>. The extended
ROUTE_TO hint accepts string arguments as <servicetype>, such as "indexserver", "cacheserver", and so
on.
ROUTE_TO Hint
Table Variable Support for UNNEST
Until now, it was only possible to use UNNEST in SQLScript to combine arrays into a table variable. Now you
can also use table variables as input parameters for UNNEST. Since table variables usually contain more than
one column, it is now possible to specify which columns of the input table variable should be included in the
result.
UNNEST Function
EXPLAIN PLAN for SQLScript Table User-Dened Function (TUDF)
SQLScript now provides more detailed information for the SQLScript TUDF native operator in EXPLAIN PLAN.
EXPLAIN PLAN for Table User-Dened Functions
236
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Auto Type Derivation
It is now possible to declare a variable without explicitly specifying its type and let SQLScript determine the
type automatically.
Auto Type Derivation
SQLScript Code Analyzer Rule for Dynamic SQL
A new rule has been added to SQLScript Code Analyzer to detect dynamic SQL.
SQLScript Code Analyzer
IN Operator in SQLScript
SQLScript now supports the use of IN clauses as conditions in IF or WHILE statements.
IN Operator
SQLScript Code Analyzer Rules for ::ROWCOUNT
The new rules check if the system variable ::ROWCOUNT is used after a SELECT statement or after the use of
dynamic SQL.
SQLScript Code Analyzer
Code Analyzer Suppressions
Due to the nature of a static code analysis, the SQLScript Code Analyzer may produce false positives. To avoid
confusion when analyzing large procedures with many ndings and potentially many false positives, the Code
Analyzer oers a way to manually suppress these false positives by means of SQLScript Pragmas.
SQLScript Code Analyzer
Pragmas
With pragmas SQLScript oers a new way for providing meta information. Pragmas are clearly distinct syntax
elements that function like comments, but while comments provide information to the reader of the code,
pragmas provide information to the compiler and the code analyzer. Pragmas only aect statements and
declarations and can be used to annotate SQLScript code.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 237
SQLScript Pragmas
UDL Member Procedure Call Without SQLScript Artifacts
It is now possible to call user-dened library member procedures without the use of SQLScript objects.
UDL Member Procedure Call Without SQLScript Artifacts
SQL in SQLScript Scalar Expressions
SQLScript now supports SELECT as an SQL query within scalar expressions.
SQL in Scalar Expressions
Read-Only Dynamic SQL
It is now possible to mark DSQL statements as read-only.
EXEC
EXECUTE IMMEDIATE
Support of ANY TABLE TYPE Parameter
The ANY TABLE TYPE parameter is a table parameter whose type is dened as a wildcard and is later
determined during query compilation.
Any Table Type Parameter
SQL Embedded SQLScript Function
SQLScript allows a table function to be embedded inside an SQL query without the creation of any additional
metadata. The HANA SQL query now accepts SQL FUNCTION block as a table that can embed imperative
SQLScript logic inside a single query.
SQL Embedded Function
238
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
Support of PARALLEL EXECUTION Block for Row Tables, Foreign Keys and
Triggers
Until now, the use of PARALLEL EXECUTION blocks was limited when using triggers, foreign keys and row
tables. All of them are now supported within PARALLEL EXECUTION blocks.
Explicit Parallel Execution
Recursive SQLScript
SQLScript now supports recursive programming logic.
Recursive SQLScript Logic
CONTINUE HANDLER in SQLScript
It is now possible to continue the SQLScript execution from the next statement after the statement that has
returned an error.
DECLARE CONTINUE HANDLER
Extension of SQLScript Plan Proler for Nested Calls
New columns are introduced in the M_SQLSCRIPT_PLAN_PROFILER_RESULTS view for handling of nested
calls.
M_SQLSCRIPT_PLAN_PROFILER_RESULTS View
Library DDL Extension
SQLScript Libraries now can be changed with the ALTER command and can be created with CREATE OR
REPLACE to overwrite existing libraries.
User-Dened Libraries
Sorted Table Variables
Sorted table variables are a special kind of table variables, designed to provide ecient access to their data
records by a dened key. They are suitable for usage in imperative algorithms operating on mass data.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 239
Sorted Table Variables
End-User Test Framework in SQLScript
The already existing mechanism of using libraries in SQLScript has been re-used for the purposes of writing
end-user tests. To specify that a library contains end-user tests, a new language type, SQLSCRIPT TEST,
has been introduced. To ensure a clear separation between productive and test-only coding, libraries of that
language type may not be used in any other function, procedure or library.
End-User Test Framework in SQLScript
EXISTS operator in SQLScript
SQLScript now supports the use of EXISTS clauses as conditions in IF and WHILE statements. Just like in
standard SQL, it evaluates totrue,if a sub-query returns a non-empty result set, and tofalsein any other case.
EXISTS Operator
SQL DML Statements on Table Variables
You can modify the data of SQLScript table variables with SQL DML statements.
SQL DML Statements on Table Variables
Transactional SAVEPOINT
SQLScript now supports transactional savepoints that allow the rollback of a transaction to a predened point.
SAVEPOINT
Extension of SQLScript Plan Proler for Memory Usage
Extension of the monitoring view M_SQLSCRIPT_PLAN_PROFILER_RESULTS. Two new columns that display
memory size used for executing SQL Statements in SQLScript procedures have been introduced.
M_SQLSCRIPT_PLAN_PROFILER_RESULTS View
240
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
::ROWCOUNT System Variable
Up to SAP HANA 2.0 SPS03, the system variable ::ROWCOUNT was updated only after DML statements.
Starting with SAP HANA 2.0 SPS04, the behavior of ::ROWCOUNT changes, it is now also updated for SELECT,
CALL and CREATE TABLE statements. That constitutes an incompatible behavior change, described in the
SQLScript Reference Guide and in SAP Note 2701826 .
::ROWCOUNT
Table Type Parameters in Scalar User-Dened Functions
Scalar UDFs now also accept table type parameters (table variables, physical tables, or views) as input.
CREATE FUNCTION
Array Parameters for Procedures and Functions
You can create procedures and functions with array parameters so that array variables or constant arrays can
be passed to them.
Array Parameters for Procedures and Functions
CREATE PROCEDURE
CREATE FUNCTION
Library Functions and Scalar Variables in SQL
You no longer need to create SQLScript artifacts (procedures, functions, libraries and anonymous blocks) to
access a library member, you can directly consume it in SQL.
Library Member Functions and Variables
Built-in Library SQLSCRIPT_LOGGING
The SQLScript Logging Library provides user-level logging facilities for debugging and monitoring.
Built-In Library SQLSCRIPT_LOGGING
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 04 Features
PUBLIC 241
7 SAP HANA Platform 2.0 SPS 03 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 03.
7.1 Installation and Update
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for installation and update.
SAP HANA Server Installation and Update (New and Changed) [page 242]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the installation and update of
SAP HANA.
7.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the installation and update of SAP
HANA.
XS Advanced Installation Options (New)
Starting from SAP HANA SPS03 (Rev. 34) and the latest version of the XS advanced model component (SAP
EXTENDED APP SERVICES 1), which is described in SAP Note 2542036
, you can choose the location
of the XS advanced platform data during installation, for example, in the (default) System database or in a
specic tenant database.
XS Advanced Database Setup Options
Software Authenticity Verication (New)
Before installation and update of SAP HANA software components, the authenticity and integrity of the
software can be veried with the 'verify_signature' parameter.
Software Authenticity Verication
242
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Resume Update after DU Import Error (Changed)
Previously, if an update failed because of a delivery unit import error, hdbupdrep had to be used to import
delivery units manually. Now, you can rerun the SAP HANA database lifecycle manager to resume the update.
System Information for System Landscape Directory (SLD) Conguration
(New)
The SAP HANA database lifecycle manager (HDBLCM) Web user interface now oers a system information
page with a tab for SLD conguration parameters.
Usability Improvement (Changed)
When conguring the System Landscape Directory (SLD) registration, existing values of the conguration
parameters are listed as default values.
Conguring an SAP HANA System to Connect to the System Landscape Directory (SLD)
Administering Oine Resources (Changed)
The SAP HANA cockpit for oine administration is no longer oered for the administration of oine resources.
With SAP HANA cockpit SP 04, the SAP HANA cockpit includes all capabilities that could formerly be
performed only through the SAP HANA cockpit for oine administration.
7.2 Security
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for security.
SAP HANA Database Security (New and Changed) [page 244]
SAP HANA Platform 2.0 SPS 03 introduces new and changed security-related features for the SAP
HANA database.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 243
7.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed security-related features for the SAP HANA
database.
Data Anonymization (New)
SAP HANA now provides native support for data anonymization. This allows you to gain statistically valid
insights from data containing personal or sensitive information while protecting the privacy of individuals.
Data anonymization capabilities are integrated into SAP HANA calculation views and can be congured using
the calculation view editor of the SAP Web IDE for SAP HANA. Two anonymization methods are supported:
k-anonymity and dierential privacy. Which method provides the most appropriate level of privacy depends on
your data and the potential attack scenarios and attackers.
Access to anonymized views is secured using standard SAP HANA authorization mechanisms.
Shared Business Authorizations in SAP HANA (New)
Authorization objects ” form the basic layer of authorization for ABAP-based SAP applications such as S/4
HANA or SAP Business Warehouse. It possible to create analytic privileges in SAP HANA that reuse these
authorizations.
Shared Business Authorizations in SAP HANA
User Group-Specic Password Policies (New)
You can now congure a customized password policy for user groups. The passwords of users in the group
must adhere to the group-specic password policy if enabled. The password policy congured for the database
applies for those parameters that do not have a group-specic conguration.
Password Policy
User Groups
LDAP-Based Authentication and User Provisioning (New)
Users accessing SAP HANA directly via JDBC/ODBC database clients can now be authenticated against an
LDAP directory server using the user name and password provided by the client.
In addition, by allowing the LDAP provider to create database users in SAP HANA, LDAP-authenticated users
can be automatically provisioned in SAP HANA. Once it is veried that the authenticated user is a member of
244
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
at least one LDAP group mapped to an SAP HANA role, the required database user is automatically created in
SAP HANA and granted the relevant role(s).
LDAP User Authentication
Data Encryption (New and Changed)
Password hash algorithm (Changed)
Database user passwords are now stored in hashed and salted form using PBKDF2 (Password-Based Key
Derivation Function 2). For downward compatibility, they also continue to be hashed using secure hash
algorithm SHA-256.
The SAP HANA implementation of PBKDF2 uses the SHA-256 secure hash algorithm and 15,000 iterations.
Encryption conguration in tenant databases (Changed)
The default status of data-at-rest encryption services in tenant databases (on or o) is no longer inherited
from the system database. It is now controlled in the system database with parameters in the new
database_initial_encryption section of the global.ini conguration le. All encryption services are
o by default.
It is also possible to specify who initially has control over enabling and disabling encryption in tenant
databases: the tenant administrator in the tenant database (default), or the system administrator in the
system database. Responsibility can switched later if necessary.
Encryption Conguration
Client-side data encryption (New)
With client-side data encryption, columns that contain sensitive data, such as credit card numbers or social
security numbers, are encrypted by using an encryption key accessible only by the client. Column data is
encrypted and decrypted on the client.
To use client-side encryption, your interface must meet a number of requirements. These are documented in
the SAP HANA Client Interface Programming Reference.
Numerous new privileges and SQL statements have been added to support client-side encryption. For more
information, see support for client-side encryption in the section SAP HANA SQL and System Views Reference.
Client-Side Data Encryption (SAP HANA Security Guide)
Client-Side Data Encryption (SAP HANA Administration Guide)
SAP HANA SQL Reference Guide (New and Changed) [page 292].
Data Masking (Changed)
In addition to views, you can now also mask data in tables.
SAP HANA Data Masking
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 245
Auditing (Changed)
Auditing for SAP HANA extended application services, advanced model (SAP HANA XS advanced) has
been integrated into the SAP HANA auditing framework. SAP HANA XS advanced audit entries may now be
written to the standard SAP HANA audit targets, database table and syslog.
Audit Trails
A number of new actions can be audited. For more information, see changes to the CREATE AUDIT POLICY
statement in the section SAP HANA SQL and System Views Reference.
SAP HANA SQL Reference Guide (New and Changed) [page 292]
Authorization Enhancements (Changed)
Any user with the system privilege ROLE ADMIN can now revoke catalog roles granted by another user.
A user can now grant all currently available privileges on a schema by granting the ALL PRIVILEGES object
privilege.
SAP HANA Cockpit (New and Changed)
For more information, see the section on SAP HANA cockpit.
SAP HANA Cockpit (New and Changed) [page 249]
7.3 Planning and Design
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for planning and design.
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed) [page 247]
SAP HANA Platform 2.0 SPS03 introduces new and changed features in SAP Enterprise Architecture
Designer, Edition for SAP HANA.
246
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.3.1SAP Enterprise Architecture Designer, Edition for SAP
HANA (New and Changed)
SAP HANA Platform 2.0 SPS03 introduces new and changed features in SAP Enterprise Architecture Designer,
Edition for SAP HANA.
Core Features
Symbol Format
A new format toolbar allows you to change the ll, outline, and font color of symbols.
Open Diagram
A new Open Diagram tool in object property sheets lets you open any of the diagrams in which the object
appears.
Exporting and Importing Models
You can now transfer models from one SAP EA Designer repository to another by exporting and importing
generated zip les.
Analysis Criteria and Heat Map Enhancements
You can now search for and apply analysis criteria to multiple objects at once and change the analysis
values applied to objects on the y when heat map coloring is active.
Capability Coverage
A new Capability Coverage list on the Dependencies tab of application property sheets allows you to add
business capabilities to the list and specify the maturity of the application's coverage of them.
Requirements Management
Requirement Diagrams
New requirement diagrams allow you to visualize the hierarchy and other relationships between all or some
of the requirements from your requirements list.
Information Architecture
CDM to PDM Generation
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 247
You can now generate a conceptual data model (CDM) to a physical data model (PDM). You can generate
multiple PDMs from a single CDM, and regenerate to these PDMs as necessary to push updates from your
CDM.
CDS Extensions
We now provide support for HANA CDS extensions for entities.
Administration
Conguration Enhancements
Custom properties now support URL and Date data types. You can also now modify the values appearing in
drop-down lists for certain properties and add new types of dependencies.
Change List Reassignment
If the creator of a draft change list is unavailable, an administrator can now re-assign the draft changes to
another user.
7.4 Administration
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for administration.
SAP HANA Cockpit (New and Changed) [page 249]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA cockpit with
SAP HANA cockpit support package (SP) 06.
SAP HANA System Administration (New and Changed) [page 266]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the administration of SAP
HANA.
SAP HANA High Availability (New and Changed) [page 269]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA high availability.
SAP HANA Database Backup and Recovery (New and Changed) [page 271]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA backup and
recovery.
SAP HANA XS Advanced Cockpit (New) [page 271]
SAP HANA Platform 2.0 SPS 03 introduces the new and enhanced version of SAP HANA XS Advanced
Administration tool called SAP HANA XS Advanced Cockpit.
SAP HANA Application Run-Time Services (New and Changed) [page 272]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the application run-time
services in SAP HANA.
SAP HANA Smart Data Access (New and Changed) [page 272]
248
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA smart data
access.
7.4.1SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA cockpit with SAP
HANA cockpit support package (SP) 06.
SAP HANA Cockpit SP 06 (New)
SAP HANA cockpit SP 06 is available with SAP HANA Platform 2.0 SPS 03.
SAP HANA Cockpit SP 06 Features [page 250]
About SAP HANA Cockpit SPs
The SAP HANA cockpit is part of the SAP HANA platform 2.0. An SAP HANA cockpit SP is released with every
SAP HANA platform support package stack (SPS), but additional SAP HANA cockpit SPs may be released
between SAP HANA platform SPSs. For more information about the revision and maintenance strategy of the
cockpit, see SAP Note 2433181 .
SAP HANA cockpit SPs are cumulative. This means that a higher SP includes all features and xes available in
earlier SPs.
SAP HANA Cockpit SP Release Note
Included in SAP HANA Platform 2.0
Revision
06
SAP Note 2604594
Included with revision 2.00.030
05
SAP Note 2567836
Not included
04
SAP Note 2513227
Not included
03
SAP Note 2462387
Included with revision 2.00.020
02
SAP Note 2433764
Included with revision 2.00.010
01
SAP Note 2414668
Not included
00
SAP Note 2380291
Included with revision 2.00.000
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 249
Additional Information
Information Link
SAP HANA cockpit documentation https://help.sap.com/viewer/p/SAP_HANA_COCKPIT
SAP HANA cockpit 2.0: Revision and Maintenance Strategy
SAP Note 2433181
SAP HANA cockpit 2.0: Supported operating systems and
Web browsers
SAP Product Availability Matrix for SAP HANA, platform edi-
tion 2.0
SAP HANA database explorer release notes
SAP Note 2373065
Related Information
SAP HANA Cockpit SP 06 Features [page 250]
SAP HANA Cockpit SP 05 Features [page 254]
SAP HANA Cockpit SP 04 Features [page 260]
SAP HANA Cockpit SP 03 Features [page 336]
SAP HANA Cockpit SP 02 Features [page 387]
SAP HANA Cockpit SP 01 Features [page 392]
7.4.1.1 SAP HANA Cockpit SP 06 Features
Administration and Monitoring [page 251]
SAP HANA cockpit SP 06 introduces new and changed features for system administration and
monitoring.
SAP HANA Database Explorer [page 251]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Database
Explorer.
Performance Monitoring and Analysis [page 252]
SAP HANA cockpit SP 06 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 253]
SAP HANA cockpit SP 06 introduces new features for user management and data anonymization.
Backup and Recovery [page 254]
SAP HANA cockpit SP 06 introduces new and changed features for backup and recovery.
250
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.4.1.1.1 Administration and Monitoring
SAP HANA cockpit SP 06 introduces new and changed features for system administration and monitoring.
Memory Analysis (Changed)
In the Memory Analysis application, you can now opt to view a selected service in the Performance Monitor or
the Workload Analyzer.
Table Redistribution (New)
Beginning in SP 06, you can view and save current table distributions, automatically generate an optimized
table distribution, re-run a previously executed plan, or restore a saved plan.
Documentation on Required Privileges (New)
We've added a help topic listing the SAP HANA privileges you need to access applications and tools in the SAP
HANA cockpit.
7.4.1.1.2 SAP HANA Database Explorer
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Database Explorer.
Catalog
Browser
The catalog browser tree now shows the following new object types:
Graph Workspaces
Table Types
Graph
Workspaces
Visualizer
Right-clicking the Graph Workspaces object opens a new editor that shows the properties
of the graph workspace and allows you to apply lters and algorithms to your graph
workspace. For more information about graph workspaces, see the SAP HANA Graph
Reference guide.
Preferences
New
Database
Explorer
Section
Set session-based debug logging by clicking the Enable debug logging
checkbox. A red circle appears at the top of the catalog browser in
the database explorer perspective to indicate that logging is enabled.
Session-based debug logging is useful if you encounter a problem and
need to send session log reports to SAP support.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 251
Delete personal data by clicking Remove all user data.
Data Preview
The Data Preview editor for dimension calculation views and CUBE calculation views now
contains a Hierarchies tab that shows hierarchies and measures details if they are available
for the view. For more information about hierarchies see the SAP HANA Hierarchy Developer
Guide, and for hierarchy function syntax, see the SAP HANA SQL Reference Guide.
For more information about the new Hierarchies tab, see "Preview Calculation View Output"
in the SAP HANA Modeling Guide.
Background
Activities
You can now run a query as a background activity, which is a task that persists even
after the session in which it was created has ended.
A Background Activities Monitor has been created to manage background activities and
to view their progress and results.
You can now run a SQL query on multiple databases by clicking Run Run on
Multiple Databases
. The query runs as a background activity.
SQLScript Code
Analyzer
You can now analyze a procedure or function written in SQLScript to search for patterns
indicating problems in code quality, security or performance. Choose the Analyze SQLScript
Code option from the context menu of a database, schema, procedure, or function.
SQL Debugger
(SAP Web IDE)
The SQL debugger has adopted the common look and feel of the Development
perspective’s Node.js and Java debugger user interface, creating a common user
experience when debugging Node.js, Java, or SQLscript code.
Remote
Sources
You can now create remote sources in the database explorer and create virtual objects from
those remote sources. For more information about how to create and work with remote
sources in database explorer, see the SAP HANA Smart Data Access section in the SAP
HANA Administration Guide.
7.4.1.1.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 06 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New)
Capture and Replay oers the following new functionalities:
When analyzing the comparison report, it is now possible to lter specic statement-related aspects on the
Overview tab using the drop down arrow. In the Dierent Statements block, you can lter the statements by
time or by the number of records that have dierent results. In the Replay Failed Statements block, you can
lter the statements by time or error code.
From a capture-replay comparison report, it is now possible to export replay results and store them outside
the database choosing the arrow on top right. Back on the Replay List you can import a replay on top right.
252
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Performance Monitor (New)
It is now possible to examine the performance of your selected KPIs at dierent time intervals on the
Performance Comparison page.
SQL Analyzer (New and Enhanced)
SQL Analyzer oers the following new and enhanced functionalities:
The Manage plan stability link allows you to ensure the fast performance of queries by capturing query
plans in a source system and reusing them in a target system.
SQLScript V3 is now supported.
The Plan Graph view is enhanced with edge information details.
It is now possible to access SQL plans saved from a previously executed query using the Manage saved
plans link.
Workload Analyzer (Enhanced)
The Workload Analyzer Based on Thread Samples now opens on a chart displaying the most expensive SQL
statements based on lock time.
7.4.1.1.4 User Management and Security Administration
SAP HANA cockpit SP 06 introduces new features for user management and data anonymization.
SAML Identity Provider (New)
It is now possible to create the SAML identity providers required for SAML-based single sign-on. On the
Overview page, choose the link Manage SAML identity providers under Security Related Links .
Data Anonymization Views (New)
To enable analytics on data while still keeping the privacy of individuals, data anonymization capabilities are
integrated into SAP HANA calculation views. You can see a list of all calculation views that have one or more
anonymization node views congured in the SAP HANA cockpit.
On the Overview page, choose the link View anonymization report under Security Related Links.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 253
Conguration of SSO Access to SAP HANA Cockpit (Changed)
You now use SAP HANA XS advanced cockpit to set up SSO access to SAP HANA cockpit.
7.4.1.1.5 Backup and Recovery
SAP HANA cockpit SP 06 introduces new and changed features for backup and recovery.
Recovering Older SAP HANA Releases
SAP HANA cockpit 2.0 SP06 can be used to recover SAP HANA 2.0 and SAP HANA 1.0 databases with Support
Package Stack (SPS) 12.
For more information about compatible database revisions of SAP HANA 1.0, see SAP Note 2616241 (Recovery
of SAP HANA 1.0 with SAP HANA Cockpit 2.0).
Related Information
SAP Note 2616241
7.4.1.2 SAP HANA Cockpit SP 05 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 05.
Administration and Monitoring [page 255]
SAP HANA cockpit SP 05 introduces new and changed features for system administration and
monitoring.
SAP HANA Database Explorer [page 257]
The following features are new or changed for this release of SAP HANA database explorer.
Performance Monitoring and Analysis [page 257]
SAP HANA cockpit SP 05 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 259]
SAP HANA cockpit SP 05 introduces new and changed features for user management and security-
related administration.
High Availability and Scalability [page 259]
SAP HANA cockpit SP 05 introduces new and changed features for high availability and scalability.
Backup and Recovery [page 260]
254
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
SAP HANA cockpit SP 05 introduces new and changed features for backup and recovery.
7.4.1.2.1 Administration and Monitoring
SAP HANA cockpit SP 05 introduces new and changed features for system administration and monitoring.
Cockpit Roles (Changed)
In addition to the existing cockpit roles of Cockpit Administrator, Cockpit Resource Administrator, and Cockpit
User, the SAP HANA cockpit now includes the roles of Cockpit User Administrator and Cockpit Power
User. Each of these roles is permitted access to specic aspects of the cockpit or the Cockpit Manager
administration tool. Multiple roles can be assigned to an individual user. The COCKPIT_ADMIN master user,
created during cockpit installation, has all three administrator roles (Cockpit Administrator, Cockpit Resource
Administrator, and Cockpit User Administrator), and you can use it to congure users and resources during
initial set-up.
Cockpit Settings (Changed)
The Cockpit Manager administration tool now oers additional functionality for sizing collections.
A Cockpit Administrator can now specify the length of time that the cockpit should wait for a connection
before initiating a timeout.
You can specify which, if any, of the auto-generated resource groups should be visible in the cockpit and
the Cockpit Manager. These auto-generated groups (Production, Test, Development) are based on the
system usage type of each resource.
Register Resources (Changed and New)
When registering or editing a resource in the Cockpit Manager, Cockpit Resource Administrators now have
the option of naming the resource with a custom name.
If you import a resource, the Cockpit Manager can now register that resource in an oine state.
You can now register a resource whose statistics server isn't running or is unreachable.
Start or Stop a Resource (Changed)
In the cockpit's System Overview, cockpit users can now start or stop a resource directly from the Overall
Database Status tile (for a single container) or the Overall System Database Status tile (for a system database).
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 255
Memory Analysis (Changed)
Beginning in SP05, you can launch the Dump Viewer (in the SAP Database Explorer) to view trace les
related to out-of-memory events displayed in the Memory Analysis application.
Memory Analysis is now directly accessible from the System Overview.
Monitor Volumes (New)
Using the new Disk Volume Monitor, you can now check disk statistics in order to ensure that there is enough
space on disk for data volumes and log volumes.
Congure System Properties (Changed)
In the Conguration of System Properties application, the ability to update the layers for an existing parameter
has been enhanced with a more interactive dialog oering additional choices.
Workload Classes (Changed and New)
Workload classes can now be imported from another system, and exported in preparation for importing
them into another system.
Two new properties have been added to the dialog for creating workload class mappings: application
component name and application component type.
You can now open the Workload Classes app to set up or modify workload classes from the Expensive
Statements app and the Statements Monitor.
Congure Admission Control (New)
Using the new Workload Admission Control Settings application, you can now manage peak load by applying
processing limits and determining how to handle new requests if a system is close to the point of saturation.
System Health (Changed)
In the System Health application, by selecting specic system health information, you can now drill down to
details on specic KPIs displayed in the Performance Monitor and the Workload Analyzer.
256
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Audit Logging for the Cockpit (New)
You can use the Audit Log to identify log entries for cockpit events that you want to track, such as logins or the
creation and deletion of user accounts.
7.4.1.2.2 SAP HANA Database Explorer
The following features are new or changed for this release of SAP HANA database explorer.
Tracing Enhancements
Kernel Proling
You can now congure tracing for the kernel proler to analyze performance issues with
systems on which third-party software cannot be installed, or for parts of the database
that are not accessible by the performance trace.
Expensive
Statements
Traces
You can now congure tracing for expensive statements whose execution time exceeded
a congured threshold. Right-click your database, click Trace Conguration, and click Edit
on the Expensive Statements Trace tile.
Statement
Library
The new statement library contains default system statements. You can also create user-
dened statements in the SQL console and add them to the statement library.
7.4.1.2.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 05 introduces new and changed features for performance monitoring and analysis.
Capture and Replay (New)
Capture and Replay oers the following new functionalities:
It is now possible to create a full database backup turning on the Create Full Backup setting on the
Congure New Capture page. If you didn’t create a backup when starting the capture, you can also start a
full backup from the Capture Monitor page.
When dealing with statements that have minor runtime dierences, the tolerance ratio can lead to
unexpected results after validating the runtime delta. It is now possible to change this threshold value
during the preprocessing step to avoid unintended and misleading classications in the replay report.
It is now possible to synchronize the replay with an existing database backup on the Replay Conguration
page.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 257
Performance Monitor (new and changed)
Performance Monitor oers the following new and changed functionalities:
It is now possible to dene the monitored time frame by selecting from Presets.
It is now possible to compare the performance of your selected KPIs at dierent times with the
Performance Comparison functionality.
Threads (new and changed)
Threads oers the following new and changed functionalities:
It is now possible to lter threads by host, service, and thread type.
It is now possible to select the sorting parameters of the threads via the Group and Sort option.
Call Stack information is now available for the selected thread.
It is now possible to dene the columns by choosing parameters that will be displayed in the table.
Statements Monitor (changed)
On the Statements Monitor page, it is now possible to set up or modify the workload class of a statement.
Expensive Statements (changed)
On the Expensive Statements page, it is now possible to set up or modify the workload class of a statement.
SQL Analyzer (new and changed)
SQL Analyzer oers the following new and changed functionalities:
It is now possible to see the details of table accesses performed during a processing of a table on the Table
Accesses tab, like oset, processing time, and location. You can also get aggregated information for each
column and choose aggregator functions, lter and sort the results, and customize columns.
It is now possible to re-execute the SQL query with parameter changes.
SQL Analyzer can now be opened through the Statement Hints page.
It is now possible to move to Operator List after selecting the Tables Used tile in Overview.
It is now possible to split the areas between the operators and the timeline chart.
The Plan Graph now displays critical paths.
258
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Workload Analyzer (new)
The Workload Analyzer Based on Thread Samples now opens on a chart displaying top SQL statements by lock
time. You can choose dierent operation periods to be displayed, and choose an entry on the chart to have
more information displayed below along with the full SQL statement. Once a bar is selected, the corresponding
information will be added to the lter on the analysis page. You can navigate to the original analysis page by
clicking Analyze in the footer bar.
7.4.1.2.4 User Management and Security Administration
SAP HANA cockpit SP 05 introduces new and changed features for user management and security-related
administration.
User Management (New and Changed)
It is now possible to assign privileges to users directly using the new Assign Privileges app. Note that it is
still recommended that you assign roles to users instead of granting privileges individually.
You can now navigate from the Users app to both the Assign Privileges and Assign Roles app.
Auditing (Changed)
If the audit trail target is or was a database table, you can now view the audit trail in the Auditing app.
Several options are available for sorting and ltering the audit trail.
7.4.1.2.5 High Availability and Scalability
SAP HANA cockpit SP 05 introduces new and changed features for high availability and scalability.
Reinitializing the Secondary System (New)
You can register again a previously stopped secondary system. You must do this when a full data shipping is
needed or when you want to change the operation mode.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 259
Monitoring the Network for Multiple Hosts (Changed)
It is possible to monitor the network for multiple hosts using the Monitor Network link:
Use the Network Trac tab to understand the role of each host and the size of the sent (Request Size) and
received data (Response Size) between the hosts.
Network Speed Check (Internal Communication)
The list oers an overview of all network channels between the involved hosts starting with the slowest
network connection.
The Measure Network Speed link oers the possibility to measure the network speed between the hosts in
a scale-out SAP HANA database.
Network Speed Check (System Replication Communication)
The list oers an overview of all network channels between the involved hosts in the system replication
conguration.
The Measure Network Speed link oers the possibility to measure the network speed between the hosts in
a system replication conguration.
7.4.1.2.6 Backup and Recovery
SAP HANA cockpit SP 05 introduces new and changed features for backup and recovery.
Backup Conguration
SAP HANA Cockpit now oers a dedicated app for backup conguration. Using this app, you can:
Get an overview of the active backup and recovery conguration settings for each database
Change the default backup and recovery conguration settings for all the tenant databases and the system
database
For more information, see Congure Backups in the SAP HANA Administration Guide (SAP HANA Database
Backup and Recovery).
7.4.1.3 SAP HANA Cockpit SP 04 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 04.
Administration and Monitoring [page 261]
SAP HANA cockpit SP 04 introduces new and changed features for system administration and
monitoring.
SAP HANA Database Explorer [page 263]
SAP HANA cockpit SP 04 introduces new and changed features for SAP HANA database explorer.
Performance Monitoring and Analysis [page 264]
260
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
SAP HANA cockpit SP 04 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 265]
SAP HANA cockpit SP 04 introduces new and changed features for user management and security-
related administration.
High Availability and Scalability [page 265]
SAP HANA cockpit SP 04 introduces new and changed features for high availability and scalability.
7.4.1.3.1 Administration and Monitoring
SAP HANA cockpit SP 04 introduces new and changed features for system administration and monitoring.
Single-Sign On
Along with the option to enable or enforce single-sign on (SSO) for a specic resource (thus removing the need
for providing database user credentials each time you connect to the resource), you can choose to congure
SSO access to the cockpit itself. Doing so means that cockpit users, cockpit resource administrators and the
cockpit administrator need not provide cockpit user credentials in order to access the cockpit or the cockpit
manager.
Administering Oine Resources (Changed)
The SAP HANA cockpit for oine administration is no longer oered for the administration of oine resources.
With SP 04, the SAP HANA cockpit includes all capabilities that could formerly be performed only through the
SAP HANA cockpit for oine administration.
Registering Oine Resources (New)
You can now register a resource with SAP HANA cockpit even when the cockpit is unable to connect to the
resource. Once the resource is registered, you can use the cockpit to start it or update its license.
Collecting Diagnosis Information (New)
To help SAP Support analyze and diagnose problems with your system, you can collect a range of diagnosis
information from your system into a zip le. You can now trigger the collection of diagnosis information from
the SAP HANA cockpit. (This was previously only available through the SAP HANA studio, the SAP HANA
cockpit for oine administration, and by using the command line).
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 261
Workload Classes (Changed)
It is now possible to disable or enable an existing workload class.
Managing Tenant Databases (Changed)
The Manage Databases app now has additional capabilities. For a selected tenant, you can now:
Copy or move a tenant.
Change the SYSTEM password for a tenant from the system database.
Memory Analysis (Changed)
You can now display details about which allocators are consuming the most memory for the host and service,
in the given time period.
Tenant-Specic Licenses (Changed)
As a tenant database administrator, you can now install and delete tenant-specic licenses in your tenant using
the Licensing app.
Cockpit API (New)
SAP HANA cockpit now oers REST APIs that you can use with a third-party tool to register resources, create
users and groups, and add users and resources to groups.
262
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.4.1.3.2 SAP HANA Database Explorer
SAP HANA cockpit SP 04 introduces new and changed features for SAP HANA database explorer.
Catalog Browser Enhancements
New Connection Information
Context Menu Item
When you right-click a database in the catalog browser, you can now click
Connection Information, which allows you to view information about an
existing connection.
New Generate SELECT
statement Context Menu Item
When you right-click on a view or a table, you can now click Generate
SELECT statement which opens the SQL console and generates a SELECT
statement based on the specic view or table.
New Add Filter Button in Object
Denition View for Tables,
Views, or Columns
When you click Open Data Add Filter on a table, view, or column, a
counter is now displayed that shows the number of lters that have been
applied to that object.
SQL Console Enhancements
New Run Statement Option in
the Run Drop-Down Menu
The Run drop-down menu in the SQL console now contains the Run
Statement option, which has the corresponding shortcut key F9. Choosing
this option runs the entire SQL statement, even if it contains more than one
line. The shortcut key for the Analyze SQL option is now Ctrl-Shift-X.
New Option to Continue
Running SQL After Error is
Returned
You can now choose whether to continue or cancel your SQL execution once
an error is returned.
Security Enhancements
Increased Security to Prevent
Collection of Personal Information
Information logged for debugging or diagnostic purposes is subject to
strict standards that prevent the collection of personal information.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 263
7.4.1.3.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 04 introduces new and changed features for performance monitoring and analysis.
Performance Monitor (New)
On the Performance Monitor page, you can now import and export collected data.
Capture and Replay (New)
Capture and Replay oers the following new functionalities:
On the Replay Conguration page in the User Authentication area it is now possible to reset the password
for the database users captured in the source system.
On the Overview tab it is now possible to view an overall comparison of the SQL statements based on
results and runtime information. This overall comparison makes it possible to identify for example the SQL
statements, which have a dierent performance in the execution time, or to identify the reasons why the
replay failed.
Workload Analyzer (New and changed)
On the Workload Analyzer Based on Thread Samples page, the lters adjustable in the header bar now apply to
all charts.
Workload Analyzer Based on Engine Instrumentation oers the following new functionalities:
It is now possible to view and compare information on a traced workload in the Capture Information page
that opens by clicking a desired workload. You can also load the trace from that page.
From the SQL Statements tab on the Workload Analyzer page, you can select a desired workload to analyze
its Plans and Jobs.
It is possible to perform a hierarchical analysis of data by adding Request ID to the dimensions in the SQL
Statements tab on the Workload Analyzer page.
264
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.4.1.3.4 User Management and Security Administration
SAP HANA cockpit SP 04 introduces new and changed features for user management and security-related
administration.
Database User and Role Management (Changed)
If you are implementing user authorization based on LDAP group membership, you can now map LDAP
groups to roles using the Role app. Users congured for LDAP authorization who belong to the specied
group(s) are automatically granted the role in line with your LDAP conguration for SAP HANA.
The Role app now shows the role type. A role can be:
A catalog role
A catalog role with LDAP group mappings
A HDI role, that is role created using the SAP HANA deployment infrastructure (SAP HANA XS
advanced model)
A HDI role with LDAP group mappings
A repository role, that is a role created in the repository of the SAP HANA database (SAP HANA XS
classic model)
Auditing (Changed)
If the audit trail target is a database table, you now delete old audit entries in the Auditing app.
7.4.1.3.5 High Availability and Scalability
SAP HANA cockpit SP 04 introduces new and changed features for high availability and scalability.
Monitoring System Replication (New)
New monitoring features are available for system replication:
On the System Replication Overview in the Log Shipping Backlog Site 1 to 2 tab, the system replication log
shipping backlog for the last 24 hours is shown in a graph. If this backlog exceeds the thresholds set for
alert 104, the graph columns indicate this with a dierent colour.
The replication status tenantcopy is displayed in the Replicated Services tab on the System Replication
Overview when a tenant is being copied or moved in the primary system.
On the System Replication Overview the tables providing information on the replicating services also
display the corresponding tenant database names.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 265
7.4.2SAP HANA System Administration (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the administration of SAP HANA.
Tenant Database Management (New)
Fallback Snapshots for Tenant Databases (New)
You can create a fallback snapshot for a tenant database. It allows you to revert to a particular database state. A
fallback snapshot may be useful if you perform changes to the contents of a database that you may need to roll
back quickly, e.g. if you upgrade to a new version of an application.
Reset to a Fallback Snapshot
Reinitialization of an Unrecoverable System Database (New)
You can reinitialize the system database with information on all tenant databases of the SAP HANA instance
using the command-line tool hdbmdcutil. This may be necessary if the persistency of the system database
has been damaged and cannot be recovered.
SAP Note 2588284
Port Number Change of Tenant (New)
You can change the port number of a tenant database by executing the ALTER DATABASE statement.
ALTER DATABASE Statement (Tenant Database Management)
Persistent Data Storage (New and Changed)
Persistent Memory (New)
Persistent memory (non-volatile RAM, also referred to as Storage Class Memory) is supported in SAP HANA as
a persistent storage type. The persistent storage functions as DRAM memory and is used specically for main
data fragments of the column store. Delta data continues to be stored in DRAM. Usage of this feature can be
congured so that it can be applied independently at four levels: database, table, partition, column.
SAP Note 2618154
SAP HANA Persistent Memory (NVM)
Persistent Memory
Partitioning Data Volumes (New)
Data volumes on the indexserver can be partitioned so that read and write operations can run in parallel with
increased data throughput. The indexserver data volume can be partitioned so that data can be segmented
and distributed over several stripes on the disk to improve performance.
Partitioning Data Volumes
266
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Table Maintenance (New and Changed)
Default Table Type (Changed)
The default table type has been changed in SAP HANA 2.0 SPS 03 to column-type tables. A conguration
parameter is available to override this behavior if necessary.
SAP HANA 2551355
SAP HANA 2.0 SPS 03 Release Note
Heterogeneous Partitioning (New)
Heterogeneous partitioning makes it possible to apply a more exible second-level partition schema to tables
with dierent second-level range specications for each rst level partition. Among other options this feature
also supports locating subpartitions on hosts which support extended storage for dynamic tiering.
Heterogeneous Partitioning
System-Versioned Tables (New)
System-versioned tables have been introduced in SAP HANA SPS 03 and will eventually replace the existing
history tables feature. They support the tracking of changes on column store tables by capturing the validity
period of each record.
System-Versioned Tables
Table Redistribution (Changed)
New conguration options have been introduced to table redistribution to provide a series of weighting
parameters to inuence the priorities of the redistribution. When executed from the command line using
the CALL REORG_GENERATE() command you can include conguration parameter values with the call which
apply only for the current session. In this way you can test redistribution options by repeatedly generating,
reviewing, and optimizing the plan before it is nally executed.
Table Redistribution Commands
Table Consistency Check (Changed)
Several new conguration parameters are available for the Table Consistency Check so that the run-time of the
job can be better managed.
Conguration Parameters for the Table Consistency Check
Workload Management and Engines (New)
Conguration Parameter Tracking (New)
To improve traceability of conguration changes, parameter tracking is now available. This feature maintains a
history of changes to conguration values including details of the time the change was made, the user name,
the current and previous values. Optionally, a reason for each change can be entered in a comment value.
Conguring SAP HANA System Properties (INI Files)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 267
Workload Management (Changed)
In the area of workload management new conguration parameters are available for admission control so that
timeout values can be set for queued jobs, and workload classes also now support a statement timeout value
which can either be set in a workload class or as a conguration parameter.
SQL Plan Stability (New)
SQL Plan Stability is a feature to protect the performance of queries by capturing query plans in a source
system and reusing them in a target system to regenerate the original query plan. The Plan Stability feature
could be used, for example, when upgrading from SAP HANA 1.0 to SAP HANA 2.0 (the feature is also available
for capture purposes in SAP HANA 1.0 SPS 12).
SQL Plan Stability
Processing Engines for Improved Statement Performance (Changed)
New processing engines oering better performance when executing SQL queries continue to be developed
and are being phased in to SAP HANA: the SAP HANA Execution Engine (HEX) and the Extended SQL Executor
(ESX). Conguration parameters are available to disable these engines if necessary; hints for queries are also
available to either avoid or prefer the use of these engines.
Statement Performance Analysis
Embedded Statistics Service (New)
STATISTICS_ALERT_THRESHOLDS_HISTORY (New)
A history of changes made to alert thresholds is now maintained and can be retrieved from this system view:
STATISTICS_ALERT_THRESHOLDS_HISTORY.
STATISTICS_ALERT_THRESHOLDS_HISTORY Table (Embedded Statistics Service)
Alerts (New)
The following new alerts have been introduced:
Alert ID
Description
105 Total open transactions check: monitors the number of open transactions per service.
106 ASYNC replication: checks if local in-memory buer overows.
107 Checks if fallback snapshots are consistent.
108 Fallback snapshots: checks for out of date fallback snapshots.
109 Backup history: checks if the backup history is incomplete or inconsistent.
110 Catalog consistency: an alert is raised if the catalog consistency check detects errors (identies the
number of errors and aected objects).
117 Checks record count of non-partitioned column-store tables (only include tables are checked).
268 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Alert ID Description
127 Checks record count of column-store table partitions (only include tables are checked).
128 Checks for the vulnerability where users may be enabled for LDAP Authentication but SSL is not enabled.
Client-Side Data Encryption (New)
With client-side data encryption, columns that contain sensitive data, such as credit card numbers or social
security numbers, are encrypted by using an encryption key accessible only by the client. Column data is
encrypted and decrypted on the client.
To use client-side encryption, your interface must meet a number of requirements. These are documented in
the SAP HANA Client Interface Programming Reference.
Numerous new privileges and SQL statements have been added to support client-side encryption. For more
information, see support for client-side encryption in the section SAP HANA SQL and System Views Reference.
Client-Side Data Encryption (SAP HANA Security Guide)
Client-Side Data Encryption (SAP HANA Administration Guide)
SAP HANA SQL Reference Guide (New and Changed) [page 292].
SAP HANA HDBSQL Options (New)
The new -strictSeparatorLine option removes the parsing of a single quote, double quote, and BEGIN...END
nesting. Separator line matching is strict and no leading or trailing spaces are allowed. When -c is not used,
the default separator is a semi-colon on its own line.
The new /read interactive option reads commands from the specied batch le.
The new -printoutput option species how output from the SQLScript print library is handled.
7.4.3SAP HANA High Availability (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA high availability.
getTakeoverRecommendation.py (New)
The getTakeoverRecommendation.py script evaluates the status of the primary system and of the system
replication to help decide if a takeover is justied.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 269
Performing a Takeover
Alert ID 106: System Replication Log Shipping Backlog (New)
Alert 106 is raised when the local in-memory buer in the ASYNC replication mode is running full indicating
possible network issues with the connection to the secondary system.
Multitarget System Replication (New)
The primary system can replicate data changes to more than one secondary system.
High Availability for SAP HANA
Invisible Takeover (New)
After an invisible takeover, the client keeps the connections to the primary system and the sessions are
restored to the secondary system.
Invisible Takeover and Restart
Secondary Time Travel (New)
It is now possible to start the secondary system in online mode on a previous point in time. Secondary time
travel can be used to quickly access again data, which was deleted in the original system.
Secondary Time Travel
Host Auto-Failover Parameters (New)
nameserver.ini/[failover]/enable_master_failover
When set to false, the masterize check of the nameserver master candidates is disabled. Furthermore,
adding a new host does not modify the master candidates list.
daemon.ini/[failover]/startup_error_restart_retries
The number of retries if a service fails in the startup procedure.
Host Auto-Failover Parameters
270
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.4.4SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA backup and recovery.
New Features in SAP HANA Cockpit SP05 and SP06
SAP HANA cockpit now oers a dedicated app for backup conguration, and capabilities to recover older SAP
HANA releases.
For more information, see Backup and Recovery [page 260] (SAP HANA cockpit SP 05), Backup and Recovery
[page 254] (SAP HANA cockpit SP 06).
7.4.5SAP HANA XS Advanced Cockpit (New)
SAP HANA Platform 2.0 SPS 03 introduces the new and enhanced version of SAP HANA XS Advanced
Administration tool called SAP HANA XS Advanced Cockpit.
SAP HANA XS Advanced Cockpit (New)
SAP HANA XS Advanced Cockpit provides an user interface that enables you to maintain the XS advanced
run-time environment. It also allows you to congure identity management settings, assign permissions, and
execute actions on applications. At runtime, you can use SAP HANA XS Advanced Cockpit to perform the
following:
Manage Organizations and Spaces
Manage Users
Manage Hosts
Monitor Applications
Congure Trust and Manage Identities
Manage Tenant Databases
Maintaining the XS Advanced Run-time Environment with SAP HANA XS Advanced Cockpit
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 271
7.4.6SAP HANA Application Run-Time Services (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the application run-time services in
SAP HANA.
The following changes are included with SAP HANA 2.0 SPS 03 for the management of the XS advanced
run-time component:
Support for TCP routes at the platform router
XS advanced now provides support for Python application run times
Support the automatic detection of renamed tenants
Support resource quotas for organizations
Support separate platform sizing proles for application-usage and platform-usage scenarios
Provide support for "procfiles", which enables applications to dene custom start commands
Simplify the setup of certicates required for SSL connections between platform components and the SAP
HANA database
Provide stable URL for registered services
The XS command-line interface (CLI) now provides support for the following components and actions:
The management of tenant databases (with the command xs tenant-databases)
The management of application roles and role collections (for example, with the commands xs role-
templates, xs create-role, and xs role-collections)
Viewing information about uploaded domain certicates (with the command xs domain-
certificates)
Providing stable URLs for registered services, by redirecting requests to <API_URL>/go/
<service_name> to the actual application endpoint (with the command xs create-service-url)
The XSA command-line interface (CLI) now provides support for the following components and actions:
Managing the deletion of personal data (with the XSA delete-personal-data command)
System conguration checks (with the new XSA command XSA diagnose )
The backup of the le-system service (with the new XSA commands XSA backup-fss and XSA
recover-fss)
7.4.7SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA smart data access.
Remote Sources (New)
You can create a remote source to a Google BigQuery database.
Google BigQuery ODBC Driver
Create a Google BigQuery Remote Source
272
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Remote Sources (Changed)
Smart data access supports Teradata 15.10 with some functional restrictions.
2600176 - Smart Data Access - Supported Databases and Versions
Virtual Tables Support Spatial Data Types (New)
Virtual tables support the spatial data type, for SAP HANA remote sources only, with some functional
restrictions.
Support for SAP HANA Spatial
Universal ITAB (Changed)
Some behavior has changed since SPS 02.
2514255 - Universal ITAB for SAP HANA Smart Data Access
Optimized Mode for Linked Database (New)
Introduces an optimized mode, which provides better performance and eliminates maintenance.
Using Linked Database
Boolean Data Type (New)
Boolean data type now supported.
Data Type Support
7.5 Development
SAP HANA Platform 2.0 SPS 03 introduces new and changed features as described in the development
documentation.
SAP HANA XS Advanced Development (New and Changed) [page 274]
For SAP HANA Platform 2.0 SPS 03, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 273
SAP Web IDE for SAP HANA (New and Changed) [page 277]
SAP HANA Platform 2.0 SP03 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Spatial (New and Changed) [page 284]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Spatial.
SAP HANA Graph (New and Changed) [page 286]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Graph.
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed) [page 287]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Interactive
Education (SHINE) for XSA.
Text Search and Text Analysis (New and Changed) [page 288]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text search and text analysis.
7.5.1SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 03, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
This section contains details of changes and additions to the following development related tools and features:
Application Migration (New and Changed)
Support for integrated one-view migration, which helps migrate the following views automatically:
Scripted calculation views
Attribute views
Analytic views
Analytic privileges
Extended support for data migration:
Move an SAP HANA database table to an HDI container on the same instance.
Migrate data using virtual tables.
Extend the conguration of the synonym-target-provider for individual objects.
More lter options for migrated object types
Application Run-Time Environment (New)
JavaScript Run-Time Environment
Support for Node.js 8.x
274
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Note
The XS advanced JavaScript run-time environment no longer provides support for Node.js 4.x.
SAP NPM Registry
CHANGELOG
What's New
Python Run-Time Environment
XS advanced model now supports the Python run-time environment with new build packs and libraries
Deployment Service (New and Changed)
Service keys and service tags
It is also now possible to inject service keys into an application environment
MTA module- and resource-type updates
Application router as a service (MTA module type)
Optional MTA resources
TCP routes in XS advanced are now supported
Support for the MTA module parameter enable-ssh
Zero-downtime update of MTAs (with HDI persistence not requiring data migration)
SAP HANA Deployment Infrastructure (New and Changed)
Extended support for existing design-time artifacts and their associated plug-ins, for
example, .hdblibrary (supports SQLScript)
Support for new plug-in types:
System-versioning table (.hdbsystemversioning)
Transforms a design-time, system-versioned table that refers to a current and history table into a
system-versioned table database object.
New administration parameters
Export and Import containers
Core Data Services (New)
Support for multi-store tables (including multi-level partitions)
Support for time-selection partitions
Support for tables in extended storage
Updated data-type compatibility support
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 275
XS Advanced Services (New and Changed)
The following new or updated services are available:
SAP UI5 (new)
Messaging (ActiveMQ) (new)
XS Command Line Interface (New)
Tenant database administration
Role collections (and role assignment) administration
Developer Documentation (New and Changed)
The following additions and changes have been made to the documentation provided for XS advanced
application developers:
SAP HANA Developer Information Map
Extended and improved all existing areas with more links, descriptions, and visual aids
Added graphical maps and interactive tables in all sections to help you locate and navigate to the
desired information target more easily and quickly
Added a new Development Journey section
Added a new Security section to the Information by Scenario section
SAP HANA Developer Guide for XS Advanced
Includes updates and improvements to the following high-level areas:
The tutorials in the Getting Started section
The Deployment Descriptors section
The Dening the Data Model section
The Writing Application Code section
The Services section
The Security section
The Application Router section
The HDI Plug-ins Reference section
The XS Command-Line Reference section
SAP HANA Administration Guide
Includes updates and improvements to the following high-level, XS-advanced-related areas:
The Maintaining the Application Run Time section
The SAP HANA Deployment Infrastructure section (maintaining HDI containers)
276
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.5.2SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SP03 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
SAP Web IDE [page 277]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP Web IDE.
Calculation View Editor (Modeler) [page 279]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the calculation view editor in
SAP Web IDE.
CDS Graphical Editor [page 281]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the CDS graphical editor in
SAP Web IDE.
Annotation Modeler [page 282]
As of version 2.0 SPS 03, SAP Web IDE for SAP HANA includes Annotation Modeler, which was
previously available on SAP HANA Cloud Platform only.
Node.js Development [page 282]
SAP HANA Platform 2.0 SPS03 introduces new and changed features for Node.js development in SAP
Web IDE.
SAP HANA Database Explorer [page 282]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Database
Explorer.
SAP Web IDE Flowgraph Editor [page 283]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Flowgraph Editor.
7.5.2.1 SAP Web IDE
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP Web IDE.
Enhanced Source Control (Git) Capabilites
Executing Commands from the Git History Pane
You can now execute the following commands from the Git History pane:
Tag a commit
Cherry-pick a change
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 277
Revert a commit
Check out a commit
Compare commits
Git Commands from the Git History Pane
Connecting to Git Repositories with Personal Access Tokens
It is now possible to connect to a Git repository on Team Foundation Server (TFS) with a personal access token.
1. In TFS, generate a personal access token, and store it in a text le for future use.
2. In SAP Web IDE, when you connect to a remote repository on TFS, supply this token as the password in the
Authentication dialog box.
Performing Administration Tasks in SAP HANA XS Advanced Cockpit
As of SPS 03, you perform the SAP Web IDE administration tasks in SAP HANA XS Advanced Cockpit, which
replaces the previously available XS Advanced Administration tool.
You can access the cockpit directly from the main menu in SAP Web IDE. Choose Tools SAP HANA XS
Advanced Cockpit
.
The Trust Certicates tool in SAP HANA XS Advanced Cockpit replaces the previously available SAP Web IDE
SSL Certicate Management tool, which is deprecated as of this version.
SAP HANA Cockpit (New and Changed) [page 249]
Multi-Target Application Development
For resources of the org.cloudfoundy.managed-service type that are dened in the MTA descriptor,
the corresponding services are now automatically generated.
The visual MTA editor enhances user experience by providing value selection boxes for various entries.
278
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
7.5.2.2 Calculation View Editor (Modeler)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the calculation view editor in SAP
Web IDE.
Anonymizing Data Using Calculation Views (New)
Users can use the anonymization capabilities in SAP HANA to anonymize calculation view output.
Anonymization methods help gain statistically valid insights from your data while protecting the privacy of
individuals.
Anonymize Data Using Calculation Views
Extracting Semantics (Changed)
Users can extract and copy variables dened in the underlying views to the semantic denition of the target
calculation view.
Extract and Copy Semantics from Underlying Data Sources
Renaming and Refactoring (New and Changed)
Users can rename a calculation view, its output columns, or input parameters and refactor them to retain the
behavior of the impacted objects.
Rename and Refactor Calculation Views
Creating Pruning Conguration Tables (Changed)
Users can use a form-based editor to create a pruning conguration table that helps prune data in union view
nodes.
Create Pruning Conguration Tables
Data Preview (New and Changed)
Enhanced support to preview output of calculation views with hierarchies.
Preview Calculation View Output
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 279
Creating Joins (New and Changed)
Users can create multi joins (creating multiple join denition within a single join view node) and specify the
multi join order and the central table.
Users can create non equi joins.
Create Joins
Create Non Equi Joins
Performing Currency Conversion
Support for banking currency conversion functions.
Support for reverse lookup in currency conversions.
Associate Measures with Currency
Generating Time Data
In addition to generating time data in the SYS_BI schema, users can now create time-related tables in an SAP
HANA Database Module and generate time data . They can use these tables as data sources in a calculation
view to add a time dimension to the view.
Generate Time Data in the _SYS_BI Schema
ORDER BY and Sort the Result Set of Calculation Views
Users can use one or more output columns of a calculation view to ORDER BY and sort the result set of a
calculation view. They can also specify the sort direction.
ORDER BY and Sort the Result Set
Using SAP HANA Hierarchy Functions (New)
Users can model calculation views with the new hierarchy function view nodes that allow them to use
several SAP HANA hierarchy functions in the view denition. The hierarchy functions typically help work with
hierarchical data.
Use Hierarchy Functions
280
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Enhancements to Graph View Nodes (New and Changed)
In addition to the already supported SAP HANA Graph actions, the graph view nodes in calculation views now
also support the action, Shortest Path (One-to-One). This SAP HANA Graph action when executed on a graph
workspace returns the shortest path from the provided start vertex to the provided target vertex.
Supported Graph Actions in Calculation Views
7.5.2.3 CDS Graphical Editor
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the CDS graphical editor in SAP Web
IDE.
Preview Output of CDS Views and Entities (New)
After modeling and activating a CDS view or an entity, you can preview the output data using the SAP Database
Explorer.
Preview Output of CDS Views and Entities
Importing Elements (Changed)
When dening the elements in an entity, you can also do so by importing elements from other catalog tables.
These catalog tables can be available in the same HDI container in which you are creating the entity or a
synonym that points to catalog table in another HDI container.
Create an Entity with the CDS Graphical Editor
Support for Cross Joins (Changed)
When creating a join, in addition to the already supported join types, the tool now also supports cross joins as a
join type.
Supported Join Types
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 281
7.5.2.4 Annotation Modeler
As of version 2.0 SPS 03, SAP Web IDE for SAP HANA includes Annotation Modeler, which was previously
available on SAP HANA Cloud Platform only.
Annotation Modeler is a new feature that provides an intuitive user interface for annotating OData services. It
enables you to build and enhance the user interface of model-based applications in SAP Web IDE. In addition,
you can also override annotations from other sources, such as metadata, by cloning them to your local
annotation les and editing them locally in your SAP Web IDE project.
Annotation Modeler
7.5.2.5 Node.js Development
SAP HANA Platform 2.0 SPS03 introduces new and changed features for Node.js development in SAP Web
IDE.
Debugging Node.js Modules (Changed)
We switched the Node.js version for the debugger in SAP Web IDE. With SAP HANA SPS03 the debugger only
supports Node.js 8.1 or higher.
Run Node.js Modules
7.5.2.6 SAP HANA Database Explorer
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Database Explorer.
Catalog
Browser
The catalog browser tree now shows the following new object types:
Graph Workspaces
Table Types
Graph
Workspaces
Visualizer
Right-clicking the Graph Workspaces object opens a new editor that shows the properties
of the graph workspace and allows you to apply lters and algorithms to your graph
workspace. For more information about graph workspaces, see the SAP HANA Graph
Reference guide.
Preferences
New
Database
Explorer
Section
Set session-based debug logging by clicking the Enable debug logging
checkbox. A red circle appears at the top of the catalog browser in
the database explorer perspective to indicate that logging is enabled.
282 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Session-based debug logging is useful if you encounter a problem and
need to send session log reports to SAP support.
Delete personal data by clicking Remove all user data.
Data Preview
The Data Preview editor for dimension calculation views and CUBE calculation views now
contains a Hierarchies tab that shows hierarchies and measures details if they are available
for the view. For more information about hierarchies see the SAP HANA Hierarchy Developer
Guide, and for hierarchy function syntax, see the SAP HANA SQL Reference Guide.
For more information about the new Hierarchies tab, see "Preview Calculation View Output"
in the SAP HANA Modeling Guide.
Background
Activities
You can now run a query as a background activity, which is a task that persists even
after the session in which it was created has ended.
A Background Activities Monitor has been created to manage background activities and
to view their progress and results.
You can now run a SQL query on multiple databases by clicking Run Run on
Multiple Databases
. The query runs as a background activity.
SQLScript Code
Analyzer
You can now analyze a procedure or function written in SQLScript to search for patterns
indicating problems in code quality, security or performance. Choose the Analyze SQLScript
Code option from the context menu of a database, schema, procedure, or function.
SQL Debugger
(SAP Web IDE)
The SQL debugger has adopted the common look and feel of the Development
perspective’s Node.js and Java debugger user interface, creating a common user
experience when debugging Node.js, Java, or SQLscript code.
Remote
Sources
You can now create remote sources in the database explorer and create virtual objects from
those remote sources. For more information about how to create and work with remote
sources in database explorer, see the SAP HANA Smart Data Access section in the SAP
HANA Administration Guide.
7.5.2.7 SAP Web IDE Flowgraph Editor
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Flowgraph Editor.
Automatically Create Partitions (Changed)
You have an additional choice for partitioning your data. In addition to manually choosing the columns and
selecting the partitioning type (list, range, or column), you can also let the application choose the columns or
you can suggest some columns that you want to use to partition your data. The advantage of automatically
selecting columns is that the application nds the columns to be used for partitioning.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 283
7.5.3SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Spatial.
ST_AddMeasure Method (new)
Returns a derived linestring with added or altered M values.
ST_AddMeasure Method
ST_AddPoint Method (new)
Adds a point to a given linestring.
ST_AddPoint Method
ST_LineInterpolatePoint Method (new)
Returns a point linearly interpolated on a given linestring.
ST_LineInterpolatePoint Method
ST_LineLocatePoint Method (new)
Finds the point on a given linestring that is closest to a given point.
ST_LineLocatePoint Method
ST_LineSubstring Method (new)
Returns a sub-linestring of the given linestring.
ST_LineSubstring Method
ST_MakeLine Method (new)
Creates a linestring from two given points.
284
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
ST_MakeLine Method
ST_AlphaShapeAggr Method (new)
Aggregation function that returns the alpha shape geometry of a set of input geometries, based on a specied
radius value.
ST_AlphaShapeAggr Method
ST_AlphaShapeArea Method (new)
Returns an alpha shape of the input geometry, based on a specied area fraction.
ST_AlphaShapeArea Method
ST_AlphaShapeAreaAggr Method (new)
Aggregation function that returns the alpha shape geometry of a set of input geometries, based on a specied
area fraction.
ST_AlphaShapeAreaAggr Method
ST_AlphaShapeEdge Method (new)
Returns an alpha shape of the input geometry, based on a specied edge fraction.
ST_AlphaShapeEdge Method
ST_AlphaShapeEdgeAggr Method (new)
Aggregation function that returns the alpha shape geometry of a set of input geometries, based on a specied
edge fraction.
ST_AlphaShapeEdgeAggr Method
ST_ConcaveHull Method (new)
Returns a subset of an alpha shape of the input geometry.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 285
ST_ConcaveHull Method
ST_ConcaveHullAggr Method (new)
Aggregation function that returns the alpha shape geometry of a set of input geometries.
ST_ConcaveHullAggr Method
ST_GeomFromGeoJSON Constructor (new)
Constructs a geometry from an RFC 7946 compliant GeoJSON geometry object.
ST_GeomFromGeoJSON Method
ST_InvalidReason Method (new)
Returns the reason why a geometry is invalid.
ST_InvalidReason Method
7.5.4SAP HANA Graph (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Graph.
GraphScript Extensions (New and Changed)
The WEIGHTEDPATH data type species a path with an associated weight.
The SHORTEST_PATH function returns a shortest path within a given parent graph from a start vertex to a
target vertex.
The WITH ORDINALITY option was added to the following constructs:
Projection Expression
Foreach Loop
Filter Expression
The data type TIMESTAMP has been added.
The data type SEQUENCE has been added.
The SEQUENCE data type can be used in FOREACH constructs.
286
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
openCypher Support (New and Changed)
Usage of the IS NULL attribute has been extended for pattern matching.
Multiple MATCH clauses are supported in openCypher.
Simple text predicates (starts with, ends with, contains) are supported in openCypher.
The search function SYS.TEXT_Contains() has been integrated into openCypher.
7.5.5SAP HANA Interactive Education (SHINE) for XS
Advanced (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for SAP HANA Interactive Education
(SHINE) for XSA.
Fiori Elements (New)
The user CRUD tile in Fiori Launchpad is now implemented by using Fiori elements.
Full-Text Search (New)
The SAP Search UI on SAP HANA provides an easy way to perform full-text search on content stored in tables
or exposed via views. Here the search is performed on Product Categories and also on Business Partners.
SAP HANA Secure Store (New)
SAP HANA Secure Store is used to store securely the credentials of HERE maps.
CDS Enhancements (Changed)
Comments eld is added to CDS artifacts and usage of table functions in CDS views is enabled.
Data Generator Code Push-Down (Changed)
The time-based data generation is implemented entirely in HANA procedures.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 287
ES6 Standard Enhancements (Changed)
Node.js code is updated to use ECMA Script (ES6) features.
SAP HANA Interactive Education (SHINE)
7.5.6Text Search and Text Analysis (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text search and text analysis.
Text Search (New and Changed) [page 288]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text search.
Text Analysis (New and Changed) [page 290]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text analysis.
7.5.6.1 Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text search.
Built-In Procedure sys.esh_cong() and CDS (new and changed)
Note the following new features for built-In procedure sys.esh_config() and CDS:
New annotation @EnterpriseSearch.filteringFacet.noIntervals to avoid interval generation for
date and numeric facets.
New annotation @EnterpriseSearch.snippets.maximumLength to dene maximum/expected length
of a snippet.
Annotation @EnterpriseSearch
Property Annotations
Built-In Procedure sys.esh_search() (new and changed)
Note the following new features for built-In procedure sys.esh_search():
The GetSuggestion() function accepts the parameter fuzzinessThreshold.
With this optional numeric parameter the user can control the fuzziness of the suggestion terms. The
default fuzziness is 0.85. The value range of the parameter is (0, 1].
getSuggestion() supports new parameter 'type' to enable suggestions for searchable views.
Method 'GetSuggestion' - Suggestion Call
288
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
The whyfound information contains complete text with highlighting for text columns without the
snippets annotation.
The full content of the column with highlighting is returned for all columns that do not have an
@EnterpriseSearch.snippets.enabled annotation set to true. This ensures that the application
always receives the complete column to display in the UI. Otherwise, only a snippet would be returned and,
for example, one half of a longer document title could be missing.
A snippet of the column content is returned for all columns with
@EnterpriseSearch.snippets.enabled set to true.
Custom Query Options
Snippets are returned for columns with presentation mode only.
Either snippets or complete column values are returned instead of returning both values.
Property Annotations
Annotation @EnterpriseSearch
$apply to support groupby operations and optionally an aggregation by count.
System Query Options
$apply with groupby
$apply with groupby and Aggregation
Denition of stopwords to improve search performance.
Performance Optimizations for Large Stopword Tables
Score functions for columns of type ST_POINT.
Fuzzy Search on ST_POINT Columns
Query language extension to dene fuzzy search options in a search term.
Supported Features of the Query Language
Privileges on _SYS_RT views and on built-In proceduresys.esh_search() are now part of the PUBLIC
role.
Database Privileges Needed for Search
Search results ltering (changed)
Search results now only include data in the user's own language (languages in language vector). Before all
languages were included.
Search in Language-Dependent Columns
Annotations in the Search Response
Freestyle search with CONTAINS() ( new and changed)
Freestyle search with CONTAINS() can now return fuzzy scores instead of TF/IDF scores by setting search
option 'textSearch=compare'.
Some text search parameters (bestMatchingTokenWeight, considerNonMatchingTokens,
excessTokenWeight) are now allowed for freestyle search calls, too.
(Freestyle search in this case means a search with CONTAINS() over multiple columns).
Available Fuzzy Search Options
Permitted Combinations of Fuzzy Search Parameters
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 289
Search Rule Sets (new and changed)
Execute privileges on procedure SYS.EXECUTE_SEARCH_RULE_SET are now part of the database role PUBLIC.
A new error table for the batch mode provides error messages for each record which caused an error during
processing.
Added support for further SQL types (like, for example, VARBINARY).
Added support for NULL values (rule condition 'isMissing').
Dynamic conguration options for term mapping list ids and stopword list ids (names of the list ids are taken
from a column in the input record).
Ignore fulltext index on a column if the search rule set denes string column options (and therefore
cannot use the full-text index). Search rule set does not fail if a full-text index is added later.
Search Rule Sets in Batch Mode
Executing a Search With a Rule Set
Session variable CDS_CLIENT (new and changed)
The session variable CDS_CLIENT is now preferred to dene the ABAP client number to be used for the current
database call.
Note that ABAP also denes a second session variable CLIENT, this is always the logon client of the user.
Annotation @EnterpriseSearch
Property Annotations
Stopword Tables and ABAP Client Columns
Term Mappings
7.5.6.2 Text Analysis (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for text analysis.
Sentiment Analysis for Japanese (new)
Sentiment analysis is supported for text in Japanese.
For general information about using the sentiment analysis, see SAP HANA Text Analysis Developer Guide.
For more information about the sentiment analysis as it applies to each language, see SAP HANA Text Analysis
Language Reference Guide.
290
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Tolerant Spelling Support for Catalan, Indonesian, Norwegian, Polish,
Romanian, and Serbian
Linguistic analysis of Catalan, Indonesian, Norwegian, Polish, Romanian, and Serbian is more tolerant of
variations in capitalization, diacritics, accents, and hyphenation. This increases recall for full text search and
text analysis applications that process inputs in those languages.
For example, "nordkorea" is recognized as a variation of "Nord-Korea" in Norwegian. Similarly, "slucha" is
recognized as a variation of "słuchać" in Polish, and "coveka" is recognized as a variation of "čovek" in Serbian.
For more information about the stemming feature as it applies to each language, see Stemming.
Expanded Entity Normalization
Text analysis can now normalize the values of CURRENCY, DATE, MEASURE, PERCENT, TIME_PERIOD, and YEAR
entities. (CURRENCY and PERCENT were introduced for English in SPS02.)
For example, when a German DATE entity containing "7. März 2016" is extracted by text analysis, the
TA_NORMALIZED column in the TA results table will contain "2016-03-07". Or, when an English MEASURE entity
containing "ve hundred meters" is extracted, the TA_NORMALIZED column will contain "500 m". Similarly, a
French MEASURE entity containing “5 centimètres” will have “5 cm” in the TA_NORMALIZED column.
This feature is only supported for English, French, and German, and only for selected entity types.
This feature must be activated using a custom text analysis conguration, see
SAP.TextAnalysis.DocumentAnalysis.Extraction.ExtractionAnalyzer.TF.
For more details refer to in the SAP HANA Text Analysis Language Reference Guide.
7.6 Reference
SAP HANA Platform 2.0 SPS 03 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL Reference Guide (New and Changed) [page 292]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA SQL and
System Views Reference.
SAP HANA Client Interfaces Reference (New and Changed) [page 308]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features, as documented in the SAP
HANA Client Interface Programming Reference.
SAP HANA SQL Command Network Protocol Reference (New and Changed) [page 311]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features, as documented in the SAP
HANA SQL Command Network Protocol Reference.
SAP HANA Predictive Analysis Library (New and Changed) [page 312]
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 291
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA SQLScript Reference (New and Changed) [page 315]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA SQLScript
Reference.
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed) [page 319]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA Analytics
Catalog (BIMC Views) Reference.
SAP HANA External Machine Learning (New and Changed) [page 320]
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the External Machine
Learning Library (EML).
7.6.1SAP HANA SQL Reference Guide (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA SQL and System
Views Reference.
SQL Statements (New and Changed)
ALTER COLLECTION Statement (new)
Alters a collection table. Specically, this new statement checkpoints the collection
table.
ALTER DATABASE Statement (enhanced)
You can now turn encryption on or o for a tenant database using the new
[ PERSISTENCE | LOG | BACKUP ] ENCRYPTION [ ON | OFF ] syntax. You an also
specify whether encryption conguration for a tenant database is controlled by the
tenant database using the ENCRYPTION CONFIGURATION CONTROLLED BY LOCAL
DATABASE syntax.
You can now update the port of a service using the new ALTER <service_type>
clause.
You can now create and drop a fallback snapshot for a tenant database using the new
{CREATE | ALTER} FALLBACK SNAPSHOT command.
ALTER SYSTEM ALTER CONFIGURATION Statement (enhanced)
You can now provide a reason in the format of a comment when changing a
conguration parameter.
ALTER SYSTEM ALTER DATAVOLUME { ADD | DROP } PARTITION Statements (new)
Use these two new statements to add and drop data volume partitions to/from all index
servers in the topology.
ALTER SYSTEM {ENABLE | DISABLE | REMOVE} ABSTRACT SQL PLAN Statement (new)
292
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Enables or disables execution plan generation and or removes Abstract SQL Plans from
the system landscape..
ALTER SYSTEM START APPLY ABSTRACT SQL PLAN Statement (new)
Starts applying stored Abstract SQL Plans.
ALTER SYSTEM START CAPTURE ABSTRACT SQL PLAN Statement (new)
Starts capturing Abstract SQL Plans.
ALTER SYSTEM { START | STOP | CLEAR } SQLSCRIPT PLAN PROFILER Statement (new)
Manages the new SQLScript plan proler.
ALTER | REFRESH | DROP STATISTISTICS Statements (enhanced)
You can now specify more than one data statistics objects when executing these
statements.
ALTER SYSTEM CLEAR CACHE Statement (new)
Clears one or more cache instances.
ALTER SYSTEM CLEAR INIFILE CONTENT HISTORY Statement (new)
Clears .ini le content history from the catalog.
ALTER SYSTEM ENCRYPTION CONFIGURATION Statement (new)
Use the ALTER SYSTEM ENCRYPTION CONFIGURATION Statement to control whether
the system database or tenant databases control encryption conguration.
ALTER SYSTEM MIGRATE ABSTRACT SQL PLAN Statement (new)
Migrates the Abstract SQL Plan to a new SAP HANA system.
ALTER SYSTEM START DATABASE Statement (enhanced)
You can now start a tenant database using its fallback snapshot, which eectively
restores the database to the state it was at when the fallback snapshot was created.
ALTER SYSTEM STOP APPLY ABSTRACT SQL PLAN Statement (new)
Stops applying stored Abstract SQL Plans.
ALTER SYSTEM STOP CAPTURE ABSTRACT SQL PLAN Statement (new)
Stops capturing Abstract SQL Plans.
ALTER SYSTEM UPDATE ABSTRACT SQL PLAN Statement (new)
Updates the location information for Abstract SQL Plans.
ALTER TABLE Statement (enhanced)
ONLINE keyword
A new ONLINE keyword allows you to MOVE a target table or partition without blocking
DML operations while DDL operations are executing.
ALTER USER Statement (enhanced)
You can now add and remove users from user groups using the ALTER USER
statement.
ANNOTATE Statement (new)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 293
Annotates objects such as tables, views, columns, table functions, procedures, and
parameters.
CREATE AUDIT POLICY Statement (enhanced)
The following new auditing actions have been added:
CREATE | DROP AGENT GROUP
PERSONAL DATA ACCESS
PERSONAL DATA MODIFICATION
CONFIGURATION CHANGE
SECURITY EVENT
CREATE | DROP LIBRARY Statements (new)
You can now create SQLScript user-dened libraries.
CREATE | ALTER FUNCTION Statement (enhanced)
You can now specify if a function is deterministic using the new DETERMINISTIC
keyword.
CREATE | ALTER PROCEDURE Statement (enhanced)
You can now specify if a procedure is deterministic using the new DETERMINISTIC
keyword.
CREATE | ALTER TABLE Statement (enhanced)
Support added for a new index type
A new lightweight index type with reduced memory footprint is supported: INVERTED
INDIVIDUAL.
Support added for hidden columns
A new column constraint, HIDDEN, can be specied for a column to hide the column.
A hidden column is excluded from a SELECT * on a table. It is also excluded in an
INSERT INTO..VALUES operation unless the column list specically references it. A
hidden column still appears in system views such as TABLE_COLUMNS, INDEX_VIEWS,
PARTITIONS, and so on. In the TABLE_COLUMNS system view, a new column called
IS_HIDDEN is provided to indicate whether a column is hidden.
Additional functions supported when dening columns as GENERATED ALWAYS
The following functions are now supported with GENERATE ALWAYS when dening
a column: BASE64_ENCODE / BASE64_DECODE / BITAND / BITOR / BIT_COUNT /
HASH_MD5 / HASH_SHA256
Support added for data masking
You can now create and alter tables and columns that contain masked data, which is
only visible to users with the required privileges.
<alter_constraint_clause>
The new <alter_constraint_clause> clause allows you to enable and disable
enforcement and validation of a constraint.
HETEROGENEOUS partitioning
294
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Use HETEROGENEOUS partitioning to create and manage rst and second level
partitions. HETEROGENEOUS partitioning introduces new syntax and clauses to add,
modify, and drop partitions.
CREATE | ALTER USERGROUP Statement (enhanced)
You can now set password policy options at a usergroup level using the new parameter-
set related clauses in these statements.
CREATE | ALTER VIEW Statement (enhanced)
You can now dene expression macros on a view. Expression macros allow you to
perform aggregation calculations on the results from a query on a view before the
results are returned.
CREATE | ALTER WORKLOAD CLASS Statement (enhanced)
A new property, WORKLOAD TIMEOUT, allows you to specify an expiry time for running
statements.
CREATE | ALTER WORKLOAD MAPPING Statement (enhanced)
The CREATE WORKLOAD MAPPING and ALTER WORKLOAD MAPPING statements
now have the <wildcard-option> clause, which allows you to specify a wildcard for
the workload mapping property for value-matching purposes.
CREATE INDEX Statement (enhanced)
A new lightweight index type with reduced memory footprint is supported: INVERTED
INDIVIDUAL.
CREATE PROJECTION VIEW Statement (enhanced)
The CREATE PROJECTION VIEW statement has been extended to support table
associations using the new WITH ASSOCIATIONS clause.
CREATE ROLE Statement (enhanced)
The new NO GRANT TO CREATOR option prevents the automatic granting of the role to
the user who created it.
CREATE TABLE Statement (enhanced)
Using the new ADD <identity_column> syntax, you can now add an identity column
to tables created with the AS <subquery> syntax during actual table creation.
Using the new WITH clause, you can dene the data that is inserted into the columns at
creation time.
A new RECORD COMMIT TIMESTAMP option has been added that tracks the commit
timestamp of a specied row.
CREATE USERGROUP Statement (enhanced)
The new NO GRANT TO CREATOR option prevents the automatic granting of all object
rights of the user group to user creating it.
DELETE Statement (enhanced)
A new WHERE CURRENT OF <cursor> syntax, allows you to delete the record at the
current location in a cursor.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 295
DROP COLLECTION Statement (enhanced)
The DROP COLLECTION statement now supports either a CASCADE or RESTRICT
option to control the cascade behavior when there objects that are dependent on the
collection table.
EXPORT Statement (enhanced)
The following enhancements have been made to this statement:
You can now export to a single archive le by specifying a path to a le with the
extension .tar.gz or .tgz that contains the data.
You can now lter the data exported from a table using the new WHERE clause
syntax.
You can now export invalid objects such as a view for which the underlying table
has been dropped.
GRANT Statement (enhanced)
The following new privileges have been added:
ALL PRIVILEGES
Grants all schema privileges that exist at the time that the statement is executed.
CLIENT PARAMETER ADMIN
Authorizes a user to override the secure behavior of the CLIENT user parameter when it
is enabled.
The following privileges have changed:
UNMASKED object privilege
The UNMASKED object privilege is now supported for the table object type.
IMPORT Statement (enhanced)
You can now import catalog objects from a single archive le by specifying a path
to a le with the extension .tar.gz or .tgz that contains the data. Also, the AS
<format_option> clause has been extended to support a new LOAD_HISTORY option
to support importing from a load history le.
You can now import invalid objects such as a view for which there is no base table.
IMPORT FROM Statement (enhanced)
Previously, when using the IMPORT FROM statement to import data from a CSV le,
you could only import data into a table. Now, you can also import data into views and
synonyms.
Also, support for importing from a GZIP (.gz) le is now supported by specifying the
location and name of the GZIP le in the le path option.
INSERT Statement (enhanced)
Using the new WITH clause, you can dene the data being inserted into the table. Using
the new AS clause, you can specify an alias for the table that can be referenced later in
the statement.
LOAD | UNLOAD Statements for JSON Document Store (new)
Statement (new)
296
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
You can now explicitly load and unload a collection table that stores JSON documents.
MERGE INTO Statement (enhanced)
The new WHEN MATCHED clause species the update to perform when values match,
while the new WHEN NOT MATCHED clause species the insert to perform when values
do not match.
RENAME TABLE Statement (enhanced)
You can now safely rename a table even if there are foreign keys that reference it; the
foreign key references can remain during the renaming process.
REVOKE Statement (enhanced)
The new GRANTED BY <grantor> clause allows a user with the ROLE ADMIN privilege
to revoke a role that they did not grant. <grantor> species the user who granted
<role_name> to <grantee>.
SELECT Statement (enhanced)
SELECT .. FOR UPDATE is now supported on one or more column tables. SELECT .. FOR
UPDATE IGNORE LOCKED is now supported on column tables.
A new option, SELECT .. FOR SHARE LOCK, acquires shared locks on the queried
records. This causes the locked records stay intact until the transaction is committed
or rolled back.
UPDATE Statement (enhanced)
A new WHERE CURRENT OF <cursor> syntax, allows you to update the record at the
current location in a cursor.
SQL Functions (New and Changed)
ADD_NANO100 Function (new)
Adds the specied number of microseconds to the specied TIMESTAMP value and
returns a value.
DAYS_BETWEEN Function (behavior change)
Previously, the DAYS_BETWEEN function calculated its result dierently from other
similar 'BETWEEN' functions such as SECONDS_BETWEEN; specically, calculation of
days did not factor whether a day was a complete 24 hour block of time. This has been
changed.
The DAYS_BETWEEN function now calculates a day to be a the full (24 hour) block of
time, consistent with how other 'BETWEEN' functions perform their calculations.
EXPRESSION_MACRO Function (new)
Allows you to perform an expression macro on results returned from querying a view.
GENERATE_PASSWORD Function (new)
The new GENERATE_PASSWORD function allows you to generate a new password of
congurable length.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 297
Enhancements to hierarchy functions
Complete documentation for the hierarchy feature, including for the functions listed
here, is located in the SAP HANA Hierarchy Developer Guide.
Three new hierarchy functions have been added, as described below:
HIERARCHY_ANCESTORS_AGGREGATE Function (new)
Traverses a hierarchy from the top (ancestors) to the bottom and returns an
aggregation as a result set.
HIERARCHY_COMPOSITE_ID_LENGTH Function (new)
Calculates the maximum length of a hierarchy composite node identier based on a
source object and a list of component attributes.
HIERARCHY_DESCENDANTS_AGGREGATE Function (new)
Traverses a hierarchy from the bottom (descendants) to the top and returns an
aggregation as a result set.
Several new specications have been added to the generator functions, as noted below:
<hierarchy_genfunc_recurse_spec>
Identies the PARENT_ID and NODE_ID source columns using an association.
This specication is applicable to the HIERARCHY, HIERARCHY_TEMPORAL, and
HIERARCHY_SPANTREE functions.
<hierarchy_genfunc_order_spec>
Denes the sort order of sibling nodes, overriding any sort order dened in
the source specication. This specication is applicable to the HIERARCHY,
HIERARCHY_LEVELED, HIERARCHY_TEMPORAL, and HIERARCHY_SPANTREE
functions.
<hierarchy_genfunc_multiparent_spec>
Species the multi-parent processing policy. This specication is applicable to the
HIERARCHY and HIERARCHY_TEMPORAL functions.
<hierarchy_genfunc_cycle_spec>
Species the cycle processing policy. This specication is applicable to the HIERARCHY
and HIERARCHY_TEMPORAL functions.
<hierarchy_genfunc_load_spec>
Provides a hint as to how the hierarchy source should be loaded. This specication is
applicable to the HIERARCHY, HIERARCHY_TEMPORAL, and HIERARCHY_SPANTREE
functions.
NORMALIZE Function (new)
Returns a normalized string result.
RECORD_COMMIT_TIMESTAMP Function (new)
Returns a commit timestamp for the specied row of the given table.
RECORD_ID Function (new)
Returns an ID for each row of a column store or row store table.
298
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
TO_NVARCHAR Function (enhanced)
New syntax for the optional <format> option allows you more exibility in formatting
the output values of this function.
TO_VARCHAR Function (enhanced)
New syntax for the optional <format> option allows you more exibility in formatting
the output values of this function.
System Views (New and Changed)
ABSTRACT_SQL_PLANS System View (new)
Provides information about Abstract SQL Plans.
ADAPTER_CAPABILITIES System View (new)
Species supported capabilities for each created adapter.
ANNOTATIONS System View (new)
Provides information about annotations that have been added to SQL objects.
ALL_AUDIT_LOG System View (new)
This new system view provides general audit information in addition to audit
information for XSA events.
AUDIT_LOG System View (enhanced)
The data types of the KEY, PREV_VALUE, and VALUE columns, have been changed to
the following:
The KEY column data type is now NVARCHAR(2000)
The PREV_VALUE data type is now NVARCHAR(5000)
The VALUE data type is now NVARCHAR(5000)
CS_VIEW_PARAMETERS System View (enhanced)
The new EVALUATED_DEFAULT_VALUE column species the result of the
evaluation of the expression in the DEFAULT_VALUE column.. The new
IS_DEFAULT_VALUE_VOLATILE column species whether or not the default value is
volatile.
DATA_STATISTICS System View (enhanced)
The new INVALIDATION_REASON column species the reason that the data statistics
object is invalid.
EFFECTIVE_STRUCTURED_PRIVILEGES System View (enhanced)
The data type for the EFFECTIVE_FILTER and the STRUCTURED_PRIVILEGE_FILTER
columns is now NCLOB.
ENCRYPTION_ROOT_KEYS System View (enhanced)
The ROOT_KEY_VERSION column has been deprecated.
LIBRARIES System View (enhanced)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 299
A new CREATE_TIME column provides the creation time for the library.
LIBRARY_MEMBERS System View (new)
Provides member information for SQLScript user-dened libraries.
M_ACTIVE_PROCEDURES System View (enhanced)
The new ITAB_MATERIALIZATION_TIME column species the internal table
materialization time. The new ITAB_MATERIALIZATION_MEMORY_SIZE column
species the memory size of the internal table materialization.
M_CE_CALCSCENARIO_HINTS System View (new)
Exposes all hints that are dened in a calculation scenario.
M_COLLECTION_TABLE_VIRTUAL_FILES System View (new)
The new M_COLLECTION_TABLE_VIRTUAL_FILES system view provides information
about the virtual tables for JSON collections.
M_COLLECTIONS_TABLES System View (new)
The new M_COLLECTIONS_TABLES system view provides information about JSON
collections.
M_CS_ALL_COLUMN_STATISTICS (new)
Provides information on how many scans and index searches were performed on a
specied columns.
M_CS_COLUMNS System View (enhanced)
The INDEX_TYPE column has been extended to include a MINMAX value, which
species a minimum and maximum value of the index to scan for the given column.
M_CS_TABLES System View (enhanced)
The new HAS_RECORD_COMMIT_TIMESTAMP column returns TRUE if the table is
tracking commit timestamps, and FALSE otherwise.
M_DATABASES System View (enhanced)
A new column, FALLBACK_SNAPSHOT, indicates whether a fallback snapshot exists for
the tenant database.
M_DISKS System View (enhanced)
The new TOTAL_DEVICE_SIZE column species the total device size returned by the
operating system for the value in the PATH column.
M_EFFECTIVE_PASSWORD_POLICY System View (new)
The new M_EFFECTIVE_PASSWORD_POLICY view lets you check password policy
parameters for users.
M_ENCRYPTION_OVERVIEW System View (enhanced)
A new column, CONFIGURATION_CONTROL, indicates whether encryption
conguration is controlled by the system database or the local database.
M_EXPENSIVE_STATEMENT_EXECUTION_LOCATION_STATISTICS System View (enhanced)
The new CPU_TIME column species the tracked CPU time that each location
consumed.
300
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
M_INIFILE_CONTENT_HISTORY System View (new)
Provides change history information for conguration (*.ini) les.
M_METADATA_CACHE_STATISTICS System View (new)
Provides information regarding the eciency and use of the metadata cache.
M_MULTIDIMENSIONAL_STATEMENT_STATISTICS System View (new)
Displays all multidimensional statement statistics gathered since server startup.
M_PERSISTENCE_ENCRYPTION_STATUS System View (enhanced)
The USED_ROOT_KEY_VERSION column is deprecated and the new
USED_ROOT_KEY_HASH column species the hash of the root key that the service
is using.
M_REMOTE_SOURCE_STATISTICS System View (enhanced)
The new SUBSCRIPTION_SCHEMA_NAME and SUBSCRIPTION_NAME columns
specify subscription information.
M_REMOTE_STATEMENTS System View (enhanced)
The new STATEMENT_ID column species the ID of HANA statements. Users who
run multiple statements that generate SQL for a remote source (such as an extended
store) can join M_REMOTE_STATEMENTS with statement monitoring views such as
M_PREPARED_STATEMENT, and analyze the remote activity for any given HANA
statement.
M_RS_TABLES System View (enhanced)
The new HAS_RECORD_COMMIT_TIMESTAMP column returns TRUE if the table is
tracking commit timestamps, and FALSE otherwise.
M_SNAPSHOTS System View (enhanced)
A new column, PURPOSE, indicates the purpose of the snapshot.
M_SQL_PLAN_CACHE System View (enhanced)
The new APPLICATION_SOURCE column species the application source information.
M_SQL_PLAN_STATISTICS System View (enhanced)
The new APPLICATION_SOURCE column species the application source information.
M_SQLSCRIPT_PLAN_PROFILERS System View (new)
Lists the sessions and procedures that are currently being proled by the SQLScript
plan proler.
M_SQLSCRIPT_PLAN_PROFILER_RESULTS System View (new)
Stores the results generated by the SQLScript plan proler.
M_SYSTEM_LIMITS System View (enhanced)
The following limits have been added to the view:
MAXIMUM_SIZE_OF_MEMORY_LOB_IN_COLUMN_STORE
Maximum size of an in-memory LOB for a column store table.
MAXIMUM_SIZE_OF_MEMORY_LOB_IN_ROW_STORE
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 301
Maximum size of an in-memory LOB for a row store table.
MAXIMUM_SIZE_OF_PACKED_LOB
Maximum size of a packed LOB.
MAXIMUM_SIZE_OF_DISK_LOB
Maximum size of a LOB on disk
M_SYSTEM_REPLICATION_TAKEOVER_HISTORY System View (new)
Provides access to a history of HSR takeover executions.
M_TABLE_PARTITION_STATISTICS System View (new)
Returns the table partition runtime statistics.
M_TABLE_PARTITIONS System View (new)
Holds information about disk and memory used by aging tables.
M_TABLE_PRUNING_STATISTICS System View (new)
Provides an interface to access statistics for historical data.
M_TABLES System View (enhanced)
The new HAS_RECORD_COMMIT_TIMESTAMP column returns TRUE if the table is
tracking commit timestamps, and FALSE otherwise.
Monitoring System View Enhancements (enhanced)
The following monitoring system views have been enhanced to include columns that
provide information regarding the on-disk and in-memory size of paged data:
M_CS_ALL_COLUMNS
M_CS_COLUMNS
M_CS_COLUMNS_PERSISTENCE
M_CS_TABLES
REFERENTIAL_CONSTRAINTS System View (enhanced)
The IS_ENFORCED and IS_VALIDATED columns have been added to specify whether a
referential constraint is currently enforced and validated.
STRUCTURED_PRIVILEGES System View (enhanced)
The data type of the OPERAND column is now NCLOB.
TABLE_COLUMNS System View (enhanced)
The TABLE_COLUMNS system view has the new columns IS_MASKED and
MASK_EXPRESSION, which return whether a column is masked and species the
masked expression to users who have the required privileges.
TABLES System View (enhanced)
The TABLES system view contains the new column HAS_MASKED_COLUMNS
which returns TRUE if the table has a mask denition for at least one column.
The new HAS_RECORD_COMMIT_TIMESTAMP column returns TRUE if the table is
tracking commit timestamps, and FALSE otherwise.
302
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
VIEW_EXPRESSION_MACROS System View (new)
Describes the expression macros dened for views.
WORKLOAD_CLASSES System View (enhanced)
A new column, STATEMENT_TIMEOUT, species the statement timeout property for
the workload class.
WORKLOAD_MAPPINGS System View (enhanced)
The WORKLOAD_MAPPINGS system view contains the following new columns to
support wildcard functionality:
APPLICATION_NAME_WILDCARD
APPLICATION_COMPONENT_NAME_WILDCARD
APPLICATION_COMPONENT_TYPE_WILDCARD
CLIENT_WILDCARD
XSA_AUDIT_LOG System View (new)
This new system view provides XSA auditing information.
Other changes by feature name
Enhancements to the CONTAINS Predicate
A new search specier, <fulltext> allows you to specify whether a fulltext index on a
column is used or not.
Support for persist memory storage of tables, columns and partitions
SAP HANA now supports storage of tables, columns, and partitions in persistent
memory. The following changes have been made to support this feature:
CREATE | ALTER TABLE Statements (enhanced)
New grammar has been added to allow you to specify persistent memory storage
settings at the table, column, and partition level.
System view changes
The following views have new or changed columns to store persistent memory settings:
TABLES System View (enhanced).
TABLE_PARTITIONS System View (enhanced).
TABLE_COLUMNS System View (enhanced).
M_CS_TABLES System View (enhanced).
M_CS_COLUMNS System View (enhanced).
M_CS_ALL_COLUMNS System View (enhanced).
M_PERSISTENT_MEMORY_VOLUMES System View (new).
M_PERSISTENT_MEMORY_VOLUME_DATA_FILES System View (new).
M_PERSISTENT_MEMORY_VOLUME_STATISTICS System View (new).
Behavior changes for sequences
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 303
Sequence values are now stored as DECIMAL instead of BIGINT. As well, the limit
for MINVALUE and MAXVALUE have changed (see details the CREATE SEQUENCE
Statement).
The return type behavior for CURRVAL and NEXTVAL has changed. Previously,
the return type was always BIGINT. Now if MAXVALUE > 2^63-1(INT64_MAX) or
MINVALUE < -2^63(INT64_MAX), then the return type of NEXTVAL or CURRVAL is
DECIMAL type; otherwise, the return type is BIGINT. You can check the current value of
a sequence by querying the M_SEQUENCES system view.
The following system view columns have changed data type to
DECIMAL: SEQUENCES.START_NUMBER, SEQUENCES.MIN_VALUE, SEQUENCES.
MAX_VALUE, SEQUENCES.INCREMENT_BY, M_SEQUENCES.START_VALUE,
M_SEQUENCES.END_VALUE, and M_SEQUENCES.CURRENT_VALUE.
Similarly, the following system view columns have changed data type to INT:
SEQUENCES.CACHE_SIZE, and M_SEQUENCES.CACHE_SIZE.
CONTAINS Predicate (enhanced)
The CONTAINS predicate syntax has been extended to support a new FULLTEXT ({ ON
| OFF | AUTOMATIC }) clause. This clause allows you to control the behavior of the
CONTAINS predicate in the presence/absence of a full text index.
Support for LDAP User Authentication
Enhanced support for LDAP user authentication has been added.
USERS System View (enhanced)
A new column, IS_LDAP_ENABLED, indicates whether a user may authenticate using
LDAP authentication.
M_CONNECTIONS System View (enhanced)
The AUTHENTICATION_METHOD column now contains LDAP when a connection used
LDAP authentication to successfully authenticate a user.
ALTER USER Statement (enhanced)
You can now specify LDAP as a user authentication method with the {ENABLE|
DISABLE} <authent_mech_options clause>.
CREATE USER Statement (enhanced)
You can now specify FOR LDAP PROVIDER as an option for the WITH IDENTITY clause
to create a user enabled to use LDAP authentication.
VALIDATE LDAP PROVIDER Statement (enhanced)
Two new options, NO AUTHORIZATION CHECK and PASSWORD, have been added.
If either of these options are specied with the CHECK USER clause, then LDAP
authentication validations are performed instead of authorization checks.
Support for automatic user creation for LDAP providers
Support for automatic user creation using an LDAP provider has been added.
CREATE | ALTER LDAP PROVIDER Statements
The new ATTRIBUTE USER_NAME clause allows automatic user creation.
304
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
ALTER LDAP PROVIDER also has a new clause, DISABLE USER CREATION FOR LDAP to
disable automatic user creation for an LDAP provider.
VALIDATE LDAP PROVIDER Statement (enhanced)
A new clause, CHECK USER CREATION FOR LDAP, veries the LDAP conguration
required for automatic user creation with LDAP authentication.
LDAP_PROVIDERS System View (enhanced)
The following columns support automatic user creation:
ATTRIBUTE_USER_NAME
IS_USER_CREATION_ENABLED_FOR_LDAP
IS_USER_CREATED_AS_RESTRICTED_FOR_LDAP
USERS System View (enhanced)
The column IS_CREATED_BY_LDAP_PROVIDER has been added to the view as part of
the changes to support automatic user creation.
Support for system-versioned tables
The following changes have been made to support system-versioning of column tables.
CREATE | ALTER TABLE Statements (enhanced)
A new set of clauses and options in the CREATE TABLE and ALTER TABLE statements
(<system_versioning_configuration> syntax) have been added to allow you to
congure and enable system versioning for a table.
SELECT Statement (enhanced)
A new FOR SYSTEM_TIME clause allows you to return records that were active in a
specied validity period. This new clause is for use when querying system-versioned
tables.
TABLES System View (enhanced)
A new TEMPORAL_TYPE column stores whether a table is history table (HISTORY), or a
system-versioned table (TEMPORAL). Otherwise, the value is NULL.
TABLE_COLUMNS System View (enhanced)
Two new generation types, ALWAYS AS ROW START and ALWAYS AS ROW END, are
now possible for the GENERATION_TYPE column. These values reect a GENERATED
ALWAYS AS ROW START | END... specication on a column.
TEMPORAL_TABLES System View (new)
The new TEMPORAL_TABLES system view stores information on temporal tables such
as history tables and system-versioned tables.
SET | UNSET [SESSION] Statement (enhanced)
A new TEMPORAL_SYSTEM_TIME_AS_OF <timestamp> session variable allows you
set the session to records that occur after a specied time.
Support for client-side encryption
Support for client-side encryption has been added.
CLIENTSIDE_ENCRYPTION_COLUMN_KEYS System View (new)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 305
Provides column encryption key information.
CLIENTSIDE_ENCRYPTION_KEYPAIRS System View (new)
Provides information about all of the column encryption key pairs in the SAP HANA
database.
TABLE_COLUMNS System View (enhanced)
The following new columns provide information about client-
side column encryption in the SAP HANA database:
CLIENTSIDE_ENCRYPTION_STATUS, CLIENTSIDE_ENCRYPTION_COLUMN_KEY_ID,
and CLIENTSIDE_ENCRYPTION_MODE.
VIEW_COLUMNS System View (enhanced)
The following new columns provide information about client-
side column encryption in the SAP HANA database:
CLIENTSIDE_ENCRYPTION_STATUS, CLIENTSIDE_ENCRYPTION_COLUMN_KEY_ID,
and CLIENTSIDE_ENCRYPTION_MODE.
GRANT Statement (enhanced)
The following new privileges support the client-side encryption feature:
CLIENTSIDE ENCRYPTION COLUMN KEY ADMIN
Allows a user to create, alter, and drop column encryption keys (CEKs). CEK admins
can also create a key copy of a CEK.
CREATE CLIENTSIDE ENCRYPTION KEYPAIR
Authorizes a user to create client-side encryption key pairs.
DROP CLIENTSIDE ENCRYPTION KEYPAIR
Authorizes a user to drop client-side encryption key pairs.
USAGE ON CLIENTSIDE ENCRYPTION COLUMN KEY
Authorizes a user to create or alter a table that uses a column encryption key (CEK) and
to export data from the table.
CREATE AUDIT POLICY Statement
The following audit actions have been added in support of the client-side-encryption
feature:
CREATE CLIENTSIDE ENCRYPTION COLUMN KEY
ALTER CLIENTSIDE ENCRYPTION COLUMN KEY
DROP CLIENTSIDE ENCRYPTION COLUMN KEY
CREATE CLIENTSIDE ENCRYPTION KEYPAIR
DROP CLIENTSIDE ENCRYPTION KEYPAIR
EXPORT Statement (enhanced)
Use the new CLIENTSIDE ENCRYPTION COLUMN KEY clause to export a client
encryption key.
IMPORT Statement (enhanced)
306
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Use the new CLIENTSIDE ENCRYPTION COLUMN KEY clause to import a client
encryption key.
CREATE TABLE Statement (enhanced)
Use the new CLIENTSIDE ENCRYPTION ON WITH <key_name> clause to dene a
column that contains client-side encrypted data.
ALTER TABLE Statement (enhanced)
Use the new ALTER <column_name> SET CLIENTSIDE ENCRYPTION { ON | OFF }
WITH <key_name> clause to enable client-side encryption on an existing table column.
Use the new ALTER CLIENTSIDE ENCRYPTION WITH<key_name> clause to change the
column encryption key for a column containing client-side encrypted data. Additional
ALTER TABLE commands have been added to support changing the column encryption
key for a column, as described below:
CONTINUE CLIENTSIDE ENCRYPTION clause
In cases where encryption of the column data has been interrupted, this statement
instructs the SAP HANA server to continue encryption where it left o.
CANCEL CLIENTSIDE ENCRYPTION clause
Instructs the SAP HANA server to roll back the encryption changes after encryption has
been interrupted.
CREATE CLIENTSIDE ENCRYPTION COLUMN KEY Statement (new)
Creates a column encryption key that you can use to encrypt and decrypt client-side
encrypted data.
DROP CLIENTSIDE ENCRYPTION COLUMN KEY Statement (new)
Drops a column encryption key.
ALTER CLIENTSIDE ENCRYPTION COLUMN KEY Statement (new)
Alters a column encryption key (CEK) to grant or remove access to it, and to populate it
with encryption key information.
CREATE CLIENTSIDE ENCRYPTION KEYPAIR Statement (new)
Allows you to create a client key pair.
DROP CLIENTSIDE ENCRYPTION KEYPAIR Statement (new)
Allows you to drop a client key pair.
New datetime session variables
The following datetime session variables have been added, allowing you to override
the system default datetime formats for the current session: DATE_FORMAT,
TIME_FORMAT, SECONDDATE_FORMAT, TIMESTAMP_FORMAT.
Changes to hints
View the new and updated hints in the HINT Details topic.
DOUBLE_JOIN_THRU_UNION_ALL Hints (new)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 307
The new DOUBLE_JOIN_THRU_UNION_ALL hint prefers a pushdown join through
double union all, while the NO_DOUBLE_JOIN_THRU_UNION_ALL hint avoids a
pushdown join through double union all.
HEX_HASH_JOIN and NO_HEX_HASH_JOIN SQL Hints (new)
The new HEX_HASH_JOIN hint guides the SQL optimizer to prefer HEX hash joins over
other joins, while the NO_HEX_HASH_JOIN hint guides the SQL optimizer to avoid HEX
hash joins.
RESULT_LAG Hint (updated)
The RESULT_LAG hint guides the optimizer to access source or replica tables by
evaluating stale data with the <seconds> parameter.
NO_LARGE_EXPR_MATERIALIZATION Hint (new)
Disables the early materialization of a large expression created by the SQL Optimizer.
OPTIMIZATION_TRANSFORMATION_LIMIT(<integer>) Hint (new)
The new OPTIMIZATION_TRANSFORMATION_LIMIT(<integer>) hint sets the
maximum number of transformation rules to apply during plan enumeration.
PREAGGR_BEFORE_CASE_AGGR Hints (new)
The PREAGGR_BEFORE_CASE_AGGR hint prefers pre-aggregation before case
expression aggregation while the NO_PREAGGR_BEFORE_CASE_AGGR hint avoids pre-
aggregation before case expression aggregation.
7.6.2SAP HANA Client Interfaces Reference (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features, as documented in the SAP HANA Client
Interface Programming Reference.
Support for Client-
Side Encryption
With client-side data encryption, columns that contain sensitive data, such as credit
card numbers or social security numbers, are encrypted by using an encryption key
accessible only by the client. Column data is encrypted and decrypted on the client.
To use client-side encryption, ensure that your interface is meets the following
requirements. See .
A new SQLDBC connection property,
CLIENTSIDE_ENCRYPTION_KEYSTORE_PASSWORD, and a corresponding JDBC
connection property, cseKeyStorePassword, provide the password for the local key
store and are required when using client-side encryption.
Numerous new privileges and SQL statements have been added to support client-
side encryption. See SAP HANA SQL Reference Guide (New and Changed) [page
292].
Client-Side Data Encryption (SAP HANA Security Guide)
Client-Side Data Encryption (SAP HANA Administration Guide)
308
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Support for
SOCKS Proxy and
WebSockets Protocol
The following ODBC connection attributes have been added to support the SOCKS
proxy and WebSockets communication protocol:
SQL_SQLDBC_PROXY_HOST
SQL_SQLDBC_PROXY_PORT
SQL_SQLDBC_PROXY_SCP_ACCOUNT
SQL_SQLDBC_PROXY_USERID
SQL_SQLDBC_PROXY_PASSWORD
SQL_SQLDBC_PROXY_SERVICENAME
The following SQLDBC connection properties have been added to support the
SOCKS proxy and WebSockets communication protocol:
PROXY_HOST
PROXY_PASSWORD
PROXY_SCP_ACCOUNT
PROXY_USERID
Ruby API
SAP HANA now includes the SAP HANA for Ruby project that provides two separate
packages for developing Ruby applications.
New plug-in for
Microsoft Visual
Studio 2017
The plug-in for earlier versions of Microsoft Visual Studio supports Entity Framework
connections to a database and read-only browsing. In addition to this functionality,
the new plug-in supports tasks such as running scripts and creating objects.
New and changed
node.js methods and
functions
The following new node.js methods have been added or changed:
connection.clearPool([Function]) Method
(new)
Creates a connection pool,
which can improve performance
when you open connections.
clearPool([Function])
connection.state() Method (new)
Returns a string that indicates the
state of the connection.
connection.{disconnect | close | end}
([Function]) Method (changed)
An end function has been added to
this method for compatibility with
older SAP HANA database drivers.
connection.exec[ute](String[, Array][,Object]
[, Function]) Method and statement.exec[ute]
([, Array][, Object][, Function]) Method
(changed)
A new options object has been
added to both the exec[ute](String[,
Array][,Object][, Function]) method
and the exec[ute]([, Array][, Object]
[, Function]) method to specify
the optional object containing
the options for specifying the
representation of rows in the result.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 309
resultset.close([callback]) Method (changed)
An optional callback function has
been added to the close([callback])
method.
statement.getData(Integer, Integer, Buer,
Integer, Integer[, Function]) Method (new)
Reads a stream of bytes from the
specied output LOB parameter.
Stream Module
createParameterLobStream(statement,
paramIndex, options) Function (new)
Creates a readable stream by using
an output LOB parameter.
Stream Module createStatement(connection,
sql, callback) Function (new)
Creates a statement object which
executes a SQL statement with
readable streams for input LOB
parameters.
node.js Support
for Encrypted
Connections
The node.js driver supports the key, cert, and ca connection properties, which
allow you to specify encryption credentials in environments where you may not have
access to the le system. These can be specied in a string or an array format.
node.js Support for
Connection Pooling
The node.js driver supports the POOLING connection property and Connect.clearPool
Method to use connection pools.
JDK Support Updates
(changed)
The SAP HANA JDBC driver now includes support for the Java Development Kit
(JDK) 9. Support for JDK 1.6 has been removed.
Prepared Statement
Caching (new)
The new prepared statement caching feature optimizes an application by
automatically recognizing a cached prepared statement. The following connection
properties have been added to support prepared statement caching:
The STATEMENTCACHESIZE connection property has been added for all
SQLDBC-based APIs.
The statementCacheSize connection property has been added for JDBC.
Connection Properties
are Case Insensitive
for all Interfaces
(changed)
Connection properties for all client interfaces are now case insensitive except where
otherwise noted.
Show Timestamp
JDBC Trace Option
(new)
The new show timestamps JDBC trace option enables/disables timestamps for each
trace record.
connectTimeout
JDBC Connection
Property (new)
The new connectTimeout JDBC connection property aborts connection attempts
after the specied timeout. Setting this option to 0 disables the timeout.
Empty and
Invalid SERVERNODE
Connection Properties
SQLDBC and SQLDBC-based client interfaces no longer allow invalid SERVERNODE
connection property values or a <host>:<port> location. Depending on the
interface, the <host>:<port> location can be specied using the SERVERNODE
310 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Are No Longer
Supported
connection property or using a dierent process. The location value syntax must
be "<host>:<port>" where the host species a valid host name or IP address and
the port species a valid number between 0 and 65535. If there is more than one
<host>:<port> location, then they must be separated by a comma. An invalid or
empty location now returns an error.
CommonCryptoLib is
Available in the Client
Installer (new)
There are now two versions of the SAP HANA client installer, one which includes
the CommonCryptoLib and one that does not. In the version that includes the
CommonCryptoLib, you must set the $SECUDIR environment variable to the location
of the libcrypto.dll or libsapcrypto.so shared library.
SQLDBC Tracing
(updated)
SQLDBC does not delete previous trace content when starting a new trace and
archives the original le, if any, by appending ".archive" to the original name.
Finding the Native
Microsoft ADO.NET
DLL (updated)
There is a new algorithm for nding the native Microsoft ADO.NET DLL.
SAP HANA HDBSQL
Options (new)
The new -history and \hi[story] options specify the number of items to keep in the
history buer. The default is 50.
Related Information
SAP Note 2036111
7.6.3SAP HANA SQL Command Network Protocol Reference
(New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features, as documented in the SAP HANA SQL
Command Network Protocol Reference.
Input and Output Field Formats (new)
The following new input and output eld formats have been added:
BOOLEAN Input and Output Field Format
FIXED8 Input and Output Field Format
FIXED12 Input and Output Field Format
FIXED16 Input and Output Field Format
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 311
LDAP Authentication (new)
Securely transmits a client-specied password to an SAP HANA database, which then securely forwards the
password to an LDAP server.
Terminology (new)
The following new terms have been added:
I12: Species a 12-byte integer in little-endian format.
I16: Species a 16-byte integer in little-endian format.
7.6.4SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the Predictive Analysis Library (PAL).
General and Architectural Changes
Model Evaluation and Parameter Selection (new)
PAL supports model evaluation by re-sampling techniques (k- fold cross-validation and bootstrapping) and
hyper-parameter tuning by gird or randomized search. Evaluation results and some extra information are
provided in the STATISTIC table. And for parameter selection, selected optimal parameters are written into
the last OPTIMAL_PARAM table. A nal model is trained using optimal parameters and whole data set.
Algorithms that support model evaluation and parameter selection:
_SYS_AFL.PAL_FRM
_SYS_AFL.PAL_ALS
_SYS_AFL.PAL_LINEAR_REGRESSION
_SYS_AFL.PAL_POLYNOMIAL_REGRESSION
_SYS_AFL.PAL_LOGISTIC_REGRESSION
_SYS_AFL.PAL_MULTILAYER_PERCEPTRON
_SYS_AFL.PAL_NAIVE_BAYES
_SYS_AFL.PAL_DECISION_TREE
_SYS_AFL.PAL_SVM
_SYS_AFL.PAL_KNN_CV
Model Evaluation and Parameter Selection
State Enabled Prediction in Prediction Function (changed)
PAL can insert the STATE information, generated by the _SYS_AFL.CREATE_PAL_MODEL_STATE type-any
procedure into the parameter table of the predict procedure.
312
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Functions that support state-enabled prediction:
_SYS_AFL.PAL_SVM_PREDICT
_SYS_AFL.PAL_RANDOM_DECISION_TREES_PREDICT
_SYS_AFL.PAL_DECISION_TREE_PREDICT
_SYS_AFL.PAL_CLUSTER_ASSIGNMENT
_SYS_AFL.PAL_LATENT_DIRICHLET_ALLOCATION_INFERENCE
_SYS_AFL.PAL_BINNING_ASSIGNMENT
_SYS_AFL.PAL_NAIVE_BAYES_PREDICT
_SYS_AFL.PAL_PCA_PROJECT
_SYS_AFL.PAL_MULTILAYER_PERCEPTRON_PREDICTT
_SYS_AFL.PAL_KNN
_SYS_AFL.PAL_FRM_PREDICT
_SYS_AFL.PAL_LINEAR_REGRESSION_PREDICT
_SYS_AFL.PAL_LOGISTIC_REGRESSION_PREDICT
_SYS_AFL.PAL_ALS_PREDICT
State Enabled Real-Time Scoring Functions
Numerical Computation (new)
PAL uses a new performed numerical library in SPS03. Matrix operation related PAL algorithms, such
as logistic regression, linear regression, GLM, SVM, recommender system, PCA, and factor analysis, can
benet from the new library with better runtime performance.
Calling PAL Procedures in Parallel with MAP_REDUCE (new)
MAP_REDUCE allows you to embed procedures directly without table functions. It has a built-in grouping
algorithm for parallelization.
Calling PAL Procedures in Parallel with MAP_REDUCE
Calling PAL Procedures in Parallel with Hint PARALLEL_BY_PARAMETER_VALUES (new)
Hint PARALLEL_BY_PARAMETER_VALUES enables parallel execution of PAL functions. Use a dedicated
column in input table(s) to indicate the grouping to use this hint.
Calling PAL Procedures in Parallel with Hint PARALLEL_BY_PARAMETER_VALUES
New and Changed Algorithms
Alternating Least Square (new)
Alternating least squares (ALS) is a powerful matrix factorization algorithm for building both explicit and
implicit feedback based recommender systems.
Alternating Least Squares
Field-aware Factorization Machine (new)
Field-aware Factorization Machine (FFM) introduces a concept of led to indicate that some similar
features belong to the same eld. Features spanned from the same categorical variable are considered
as the same led. FFM can be applied to a variety of prediction tasks, for example, binary classication,
regression, and ranking.
Field-Aware Factorization Machine
Hierarchical Forecast (new)
Hierarchical Forecast provides three forecast methods, namely bottom-up, top-down, and optimal
combination, to adjust the time series forecast results with hierarchical structure.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 313
Hierarchical Forecast
PageRank (new)
PageRank is an algorithm used by a search engine to determine a page’s relevance or importance.
PageRank counts the number of links to a page to roughly estimate how important the website is. A page is
considered important if it has a higher rank.
PageRank
Logistic Regression (changed)
Returns convergence status (reached or not reached)
Exposes exit-threshold for Proximal Gradient Descent optimization method
Allows L2 penalty for Newton, L-BFGS optimization methods
Performance enhancement when using proximal gradient decent optimization or cyclic coordinate
descent
Logistic Regression (with Elastic Net Regularization)
Generalized Linear Model (changed)
Supports negative binomial regression
Supports categorical variable
Supports ordinal regression
Generalised Linear Models
Gradient Boosting Decision Tree (changed)
Added the SEED parameter
ARIMA (changed)
Performance enhancement
ARIMA
DBSCAN (changed)
Performance enhancement
Added the SAVE_MODEL parameter to control whether to store the JSON format model
Added the METHOD parameter to indicate how to search neighbors in specied radius
DBSCAN
Triple Exponential Smoothing (changed)
Optimized the initialization method
Triple Exponential Smoothing
Kmeans/Kmedoids/Kmedians (changed)
Added COSINE as distance
K-Means
K-Medoids
K-Medians
KNN (changed)
Added COSINE as distance
Performance enhancement
KNN
Random Decision Trees (changed)
Enhanced performance for sampling, out-of-bag calculation, and prediction function
Random Decision Trees
Multi-class Logistic Regression (changed)
314
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Added p-value, z-score, and other statistics
Multi-Class Logistic Regression
Multi-layer Perceptron (changed)
Added the ReLU active function
Added the weight initialization option
Returns convergence status of optimization
Supports mini-batch stochastic gradient decent
Multilayer Perceptron
Multiple Linear Regression (changed)
Supports training without intercept
Performance enhancement when using cyclic coordinate descent
Multiple Linear Regression
Random Distribution Sampling (changed)
Supports multi-threaded number generation for Poisson Distribution
Random Distribution Sampling
Croston's Method (changed)
Enhanced initialization method based on historical values
Croston's Method
Related Information
SAP HANA Predictive Analysis Library (PAL)
7.6.5SAP HANA SQLScript Reference (New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA SQLScript Reference.
Error Handling for FOR UPDATE NOWAIT (Changed)
It is now possible to dene an exit handler for the statement FOR UPDATE NOWAIT with the error code 146.
DECLARE EXIT HANDLER
BETWEEN Operator in SQLScript (New)
The predicate x [NOT] BETWEEN lower AND upper can now also be used in IF and WHILE statements in
SQLScript. It works just like [ NOT ] ( x >= lower AND x <= upper).
Conditionals
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 315
While Loop
BOOLEAN Support in SQLScript (New)
SQLScript supports the boolean data type, and a boolean variable can be declared, assigned, and returned as
other data types.
Scalar Data Types
Variable Declaration Using LIKE (New)
When you declare a variable, you can specify its type by using the type of a persistent table, a view, or another
variable.
Table Variable Type Denition
USING and INTO Clauses in DSQL (New)
This feature introduces additional support for parameterized dynamic SQL. It is now possible to use table
variables in USING and INTO clauses and CALL-statement parameters with USING and INTO clauses are
supported.
USING and INTO Clauses in DSQL
SELECT INTO with DEFAULT Values (New)
The SELECT INTO statement is widely used for assigning a result set to a set of scalar variables. The
introduction of DEFAULT values makes it possible to assign default values to the target variables when the
result set is empty.
SELECT INTO with DEFAULT Values
Row Type Variable (New)
You can declare a row type variable that is a collection of scalar data types. You can use such variables to easily
fetch a single row from a table.
Row-Type Variable
316
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Updatable Cursor (New)
When you iterate over each row of a result set, you can use the updatable cursor to change a record directly on
the row, to which the cursor is currently pointing.
Updatable Cursor
CREATE OR REPLACE (Changed)
The command now supports any change to a procedure or a function without any of the currently existing
limitations. You can now change:
the security mode (INVOKER, DEFINER)
the parameter signature (parameter name, parameter type, default value)
the result view object
the route target
SQLScript Plan Proler (New)
SQLScript Plan Proler is a new performance analysis tool designed mainly from the perspective of stored
procedures and functions. When SQLScript Plan Proler is enabled, a single tabular result per call statement is
generated.
SQLScript Plan Proler
Procedure Result Cache / Deterministic Procedure Cache (New)
Procedure Result Cache (PRC) is a server-wide in-memory cache that caches the output arguments of
procedure calls using the input arguments as keys. Deterministic Procedure Cache is an automatic application
of PRC for deterministic procedures.
Procedure Result Cache
Map Reduce Operator (New)
MAP_REDUCE is a programming model introduced by Google that allows easy development of scalable parallel
applications for processing big data on large clusters of commodity machines. The MAP_REDUCE operator is a
specialization of the MAP_MERGE operator.
Map Reduce Operator
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 317
Built-in Library SQLSCRIPT_STRING (New)
The SQLSCRIPT_STRING library oers a handy and simple way for manipulating strings. You can split libraries
with given delimiters or regular expressions, exibly format or rearrange strings, and convert table variables
into the already available strings.
Built-in Library SQLSCRIPT_STRING
Built-in Library SQLSCRIPT_PRINT (New)
The PRINT library oers the option to print strings or even whole tables. It is especially useful when used
together with the STRING library.
Built-in Library SQLSCRIPT_PRINT
Consistent Scalar Function Result (New)
The implicit SELECT statements used within a procedure (or an anonymous block) are executed after the
procedure is nished and scalar user-dened functions (SUDF) are evaluated at the fetch time of the SELECT
statement, due to the design of late materialization. To avoid unexpected results for statements, that are out of
the statement snapshot order within a procedure or a SUDF, implicit result sets will now be materialized in case
the SUDF references a persistent table.
Consistent Scalar Function Result
User-Dened Libraries (New)
LIBRARY is a metadata object that includes multiple variables, procedures and functions. By combining
relevant procedures and functions into a single metadata object, you reduce metadata management cost.
Additionally, the atomicity of relevant objects is guaranteed because they are managed as a single object.
User-Dened Libraries
Search in Table Variables (New)
An ecient way to search by key-value pairs in table variables.
Search in Table Variables
318
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
New Rules in the SQLScript Code Analyzer (New)
Detect SELECT Statements in Scalar UDFs (New)
SELECT statements in scalar user-dened functions can have a negative impact on performance. If table
operations are really needed, procedures or table UDFs should be used instead.
COMMIT or ROLLBACK in Dynamic SQL (New)
This rule detects dynamic SQL using the COMMIT or ROLLBACK statement. It is recommended to use
COMMIT and ROLLBACK directly in SQLScript.
DML Statements in Loops (New)
The rule detects the following DML statements inside loops: INSERT, UPDATE, DELETE, REPLACE/INSERT. It is
recommended to check those ndings, if you have performance problems in your SQLScript code.
Use of CE Functions (New)
The new rule USE_OF_CE_FUNCTIONS checks whether Calculation Engine Plan Operators (CE functions) are
used. Since they make optimization more dicult and lead to performance issues, they should be avoided.
Use of Unassigned Scalar Variables (New)
The rule detects scalar variables that are used but have never been explicitly assigned.
SQLScript Code Analyzer
7.6.6SAP HANA Analytics Catalog (BIMC Views) Reference
(New and Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the SAP HANA Analytics Catalog
(BIMC Views) Reference.
Conversion Indicator (New)
The property IS_UNCONVERTED guarantees that a measure has not been converted either in the underlying
data sources, or in the current calculation view.
View BIMC_DIMENSION_VIEW
View BIMC_MEASURES
Scale (New)
The property SCALE represents the scaling factor the UI should use to present a number. It contains the
number of decimal places with which the number should be shifted to the right.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 319
View BIMC_DIMENSION_VIEW
View BIMC_MEASURES
Attribute Display Folder (New)
The property ATTRIBUTE_DISPLAY_FOLDER represents the path to be used when displaying the attribute in
the user interface. Folder names are separated by a semicolon. Nested folders are indicated by a backslash (\).
View BIMC_DIMENSION_VIEW
View BIMC_DIMENSIONS
View BIMC_ALL_VARIABLES_VIEW (Changed)
The view BIMC_ALL_VARIABLES_VIEW now supports multi-language texts and can be queried via an MDX
SELECT statement.
View BIMC_ALL_VARIABLES_VIEW
7.6.7SAP HANA External Machine Learning (New and
Changed)
SAP HANA Platform 2.0 SPS 03 introduces new and changed features for the External Machine Learning
Library (EML).
PREDICTM (New)
The PREDICTM function supports multiple inferences within a single AFL call. To distinguish the dierent sets
of inputs and results, each input table has an INTEGER "tag" column. Spans of adjacent rows with the same
INTEGER tag value are formatted into a separate inference call. The results are tagged with the corresponding
INTEGER tag in the output table’s "tag" column and appear in consecutive rows per partial result set. Where
possible, the inference calls are processed in parallel.
Multiple Inferences with PREDICTM
Data Types (Changed)
The additional SAP HANA data type INTEGER maps to the DT_INT32 and DT_INT64 TensorFlow data types and
is supported in rank 2 shapes.
320
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
Models and Call Signatures
Remote Sources (Changed)
New attributes allow Web proxies to be handled in gRPC remote sources:
proxyhost: The HTTP CONNECT enabled proxy server, specied by its DNS name and port
proxyuser: Optional proxy credentials, consisting of the proxy user and an optional proxy password
Creating Remote Sources
Software Versions (Changed)
The recommended TensorFlow version is 1.6.
The recommended TensorFlow Serving version is 1.5. The minimum supported version is 0.5.1.
The gRPC version now used in EML is 1.6.2.
Components
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 03 Features
PUBLIC 321
8 SAP HANA Platform 2.0 SPS 02 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 02.
8.1 Installation and Update
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for installation and update.
SAP HANA Server Installation and Update (New and Changed) [page 322]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the installation and update of
SAP HANA.
8.1.1SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the installation and update of SAP
HANA.
Installing XS Advanced Runtime (New)
The installation of the XS advanced runtime is now supported in high availability scenarios.
Installing an SAP HANA System Including the XS Advanced Runtime
Updating SAP HANA Components (Changed)
Some AFL components can be updated without the need for a database restart and system downtime. A
component supports this feature if its manifest le contains the entry
online-upgrade-plugin: 1
Installing or Updating SAP HANA Components
322
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.2 Security
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for security.
SAP HANA Database Security (New and Changed) [page 323]
SAP HANA Platform 2.0 SPS 02 introduces new and changed security-related features for the SAP
HANA database.
8.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed security-related features for the SAP HANA
database.
User Groups (New)
It is now possible to manage related users together with user groups. Group administrators can be assigned to
manage individual user groups exclusively and independently of each other.
To be a group administrator, a user requires the new object privilege GROUP OPERATOR on the group.
User Groups
LDAP Group Authorization (New)
For user authorization based on LDAP group membership, it is now possible to obtain the groups that
users are indirectly members of through nested groups. Nested group lookup can be congured with
the NESTED GROUP LOOKUP URL clause of the CREATE LDAP PROVIDER and ALTER LDAP PROVIDER
statements.
LDAP group authorization can be disabled in tenant databases if it is not required.
LDAP group authorization is now integrated into the SAP HANA database trace. Use the new LDAP trace
component to obtain diagnostic information not only from SAP HANA, but also the OpenLDAP library.
LDAP Group Authorization
CREATE LDAP PROVIDER Statement (Access Control)
Restricted Features in Tenant Databases
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 323
Authorization and Authentication Enhancements (New and Changed)
It is now possible to add comments to users, roles, and user groups using the COMMENT ON statement.
User names may now include hyphen-minus (-).
The new system privileges DATABASE START and DATABASE STOP are now available in the system
database. They authorize a user to stop or start tenant databases, as well as access the M_DATABASES
system view.
Encryption (Changed)
You must now back up a new data volume encryption root key or a new internal application encryption root key
before you can activate it. If you don't have an up-to-date backup of your encryption root keys you might not be
able to recover your database to its most recent state.
Changing Encryption Root Keys
hdbuserstore (Changed)
hdbuserstore key names containing underscores (_), hyphens (-), and periods (.) are now supported.
SAP HANA Cockpit (New and Changed)
The SAP HANA cockpit has a number of new and enhanced features for user and role management and
encryption conguration. For more information, see the section on SAP HANA cockpit.
SAP HANA Cockpit SP 03 Features [page 336]
8.3 Planning and Design
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for planning and design.
SAP Enterprise Architecture Designer, Edition for SAP HANA (New and Changed) [page 325]
SAP HANA Platform 2.0 SP02 introduces new and changed features in SAP Enterprise Architecture
Designer, Edition for SAP HANA.
324
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.3.1SAP Enterprise Architecture Designer, Edition for SAP
HANA (New and Changed)
SAP HANA Platform 2.0 SP02 introduces new and changed features in SAP Enterprise Architecture Designer,
Edition for SAP HANA.
SAP Enterprise Architecture Designer, Edition for SAP HANA Core Features [page 325]
SAP HANA Platform 2.0 SP02 introduces new and changed features in SAP Enterprise Architecture
Designer, Edition for SAP HANA, edition for SAP HANA for all architectural domains.
Requirements Management [page 330]
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition
for SAP HANA, edition for SAP HANA for requirements management.
Process Architecture [page 331]
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition
for SAP HANA, edition for SAP HANA for process architecture.
Information Architecture [page 331]
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition
for SAP HANA, edition for SAP HANA for information architecture.
SAP Enterprise Architecture Designer, Edition for SAP HANA Administration [page 334]
SAP HANA Platform 2.0 SP02 introduces new administration features in SAP Enterprise Architecture
Designer, Edition for SAP HANA, edition for SAP HANA.
8.3.1.1 SAP Enterprise Architecture Designer, Edition for
SAP HANA Core Features
SAP HANA Platform 2.0 SP02 introduces new and changed features in SAP Enterprise Architecture Designer,
Edition for SAP HANA, edition for SAP HANA for all architectural domains.
Homepage (Changed)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 325
The new homepage combines the old homepage and workspace screens. It provides access to all your draft
diagrams and those awaiting your review and comment. You can add your favorite diagrams and repository
folders to your homepage and also access your recently viewed diagrams.
Toolbox and Reuse of Local Model Objects (Changed)
The behavior of the toolbox has changed. You now create objects in your diagrams from a toolbox docked to
the left side of the diagram by drag and drop. A new local search tool allows you to reuse objects created in the
current model in your diagram.
Navigation in Model Structure and Creation of New Diagrams in Models
(New)
A new toolbar above the diagram contains a new breadcrumbs control, which allows you to navigate through
the structure of models subdivided into packages, and a view selector, which lets you navigate between
diagrams in the current package, create new diagrams in the package, and open the new list viewer to list the
diagrams in the package.
List Viewer (New)
326
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
The new list viewer provides an alternative tabular view of the objects in the current package, and is accessed
through the view selector in the toolbar above the diagram. You can lter the list by name or other properties
and choose the columns to display.
CSV Import (New)
You can import lists of objects dened in CSV les into your diagram. For example, if you have lists of sites,
servers, people, and applications, you can import them rather than creating them manually.
Heat Map Coloring of Diagrams (New)
You can apply heat map coloring to any diagram. The coloring can be used to highlight objects impacted by
the selected object or, for enterprise architecture diagrams, to display their level of compliance with analysis
criteria:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 327
Analysis Criteria (New)
Criteria allow you to dene a benchmark, standard, or scale, and then rank your enterprise artifacts against it.
Criteria can be used to drive heat map coloring of your enterprise architecture diagrams:
328
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
AutoLayout for Diagrams and Composite Symbols (Changed)
New autolayout options help you organize symbols and links in your diagrams and sub-symbols inside
composite symbols.
Impact Analysis (Changed)
The impact and lineage analysis will now provide, by default, up to three expanded levels of impacts
(comprising up to 100 objects) and lineages. To pursue the analysis further, click on a plus sign on the edge of
the tree. Link objects are no longer displayed in order to simplify the analysis diagram, and you can open any
object displayed in the tree in its original diagram.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 329
Architecture Areas (Changed)
Architecture areas, which allow a loose grouping of objects are now available in database diagrams and in
NoSQL diagrams.
Share Links to Repository Folders, Documents, and Objects (New)
You can now share links to these repository objects.
Business Function Renamed to Business Capability (Changed)
This change aligns the object more closely with common industry terminology.
8.3.1.2 Requirements Management
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition for
SAP HANA, edition for SAP HANA for requirements management.
Import and Export ReqIF Files (New)
Requirements Interchange Format (ReqIF) les are XML les used to exchange requirements between dierent
requirement management tools. You can import a .reqif le or a .reqifz ZIP archive containing a .reqif
le and associated images to a requirement list and export all or parts of a requirements list (including any
images contained in your requirements) to a .reqifz ZIP archive.
330
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Compare Requirements Document Versions
You can now compare two versions of a requirements document to obtain a color-coded visualization of
dierences between them.
8.3.1.3 Process Architecture
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition for
SAP HANA, edition for SAP HANA for process architecture.
Import SAP Solution Manager v7.2 Process Diagrams (New)
You can now import SAP Solution Manager 7.2 process diagrams. You can share and comment on Solution
Manager business process diagrams, link their objects to objects in other models, and include them in impact
analysis.
8.3.1.4 Information Architecture
SAP HANA Platform 2.0 SP02 introduces new features in SAP Enterprise Architecture Designer, Edition for
SAP HANA, edition for SAP HANA for information architecture.
Data Movement Diagrams (New)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 331
Data movement diagrams help you design and analyze the transfer of data between data stores, and the
transformations that they undergo on the way. SAP EA Designer supports the creation of data movement
diagrams manually or by reverse-engineering of FlowGraph les. You can model ETL ows and generate
FlowGraph les for import to SAP Web IDE for activation.
NoSQL Diagrams (New)
NoSQL diagrams help you design, analyze, and document the JSON structures that are accepted and
generated by your systems. SAP EA Designer supports the creation of NoSQL JSON Schema models manually,
or by reverse-engineering of a schema or sample data le. You can model JSON artifacts and generate JSON
schema and sample data les.
Reverse of SQL Scripts (New)
You can reverse a .sql script le to your database diagram.
Graphical SQL views (New)
332
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
You can visualize your SQL view in a read-only diagram, showing each of the view's data sources and joins.
HDI DataStores (New)
You can model, generate, and reverse-engineer DataStores (also known as NDSOs) in your HANA HDI
diagrams.
Visible Dependencies for Calculation Views (New)
Your calculation views now point to their sources in the HANA HDI diagram:
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 333
Teradata v15 (New)
supports the creation of Teradata data models manually, by reverse-engineering, or by generation from
another data model.
Git Support (New)
You can reverse HDI les from and generate them to your Git repository. Git is also supported as a source and
target for the reverse and generation of JSON les, and as a target for generating FlowGraph les.
8.3.1.5 SAP Enterprise Architecture Designer, Edition for
SAP HANA Administration
SAP HANA Platform 2.0 SP02 introduces new administration features in SAP Enterprise Architecture Designer,
Edition for SAP HANA, edition for SAP HANA.
XSA User Authentication (New)
Users with SAP HANA accounts can log in using their XS Advanced user and password. XSA is only used for
authentication. Rights and permissions on repository folders and documents are controlled in the repository.
Push Folders and Diagrams to Users' Homepages (New)
The repository administrator can push diagrams and folders to users' homepages to give them personalized
entry points to the repository. Diagrams appear as cards in the user's homepage, and folders as entries in the
Quick Links card. You can push diagrams and folders to individual users or to groups.
334
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.4 Administration
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the administration of SAP HANA.
SAP HANA Cockpit (New and Changed) [page 335]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the SAP HANA cockpit with
SAP HANA cockpit support package (SP) 03.
SAP HANA System Administration (New and Changed) [page 341]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the administration of SAP
HANA.
SAP HANA Application Lifecycle Management (New and Changed) [page 344]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Application
Lifecycle Management for SAP HANA extended application services, advanced model (XS advanced).
SAP HANA High Availability (New and Changed) [page 345]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA high availability.
SAP HANA Database Backup and Recovery (New and Changed) [page 345]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA backup and
recovery.
SAP HANA Application Run-Time Services (New and Changed) [page 346]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the application run-time
services in SAP HANA.
SAP HANA Smart Data Access (New and Changed) [page 347]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA smart data
access.
8.4.1SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the SAP HANA cockpit with SAP
HANA cockpit support package (SP) 03.
SAP HANA Cockpit SP 03 (New)
SAP HANA cockpit SP 03 is now available.
SAP HANA Cockpit SP 03 Features [page 336]
About SAP HANA Cockpit SPs
SAP HANA cockpit SPs are available independently of the SAP HANA 2.0 platform revision, but may be
included as part of SAP HANA platform revisions.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 335
SAP HANA Cockpit SP Release Note
Included in SAP HANA Platform 2.0
Revision
00
SAP Note 2380291
Included with revision 2.00.000
01
SAP Note 2414668
-
02
SAP Note 2433764
Included with revision 2.00.010
03
SAP Note 2462387
Included with revision 2.00.020
SAP HANA cockpit SPs are cumulative. This means that a higher SP includes all features and xes available in
earlier SPs.
Feature Available with Earlier SPs
SAP HANA Cockpit SP 02 Features [page 387]
SAP HANA Cockpit SP 01 Features [page 392]
8.4.1.1 SAP HANA Cockpit SP 03 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 03.
Administration and Monitoring [page 337]
SAP HANA cockpit SP 03 introduces new and changed features for system administration and
monitoring.
SAP HANA Database Explorer [page 338]
SAP HANA cockpit SP 03 introduces new and changed features for SAP HANA database explorer.
Performance Monitoring and Analysis [page 338]
SAP HANA cockpit SP 03 introduces new and changed features for performance monitoring and
analysis.
User Management and Security Administration [page 339]
SAP HANA cockpit SP 03 introduces new and changed features for user management and security-
related administration.
High Availability and Scalability [page 340]
SAP HANA cockpit SP 03 introduces new and changed features for high availability and scalability.
Backup and Recovery [page 341]
SAP HANA cockpit SP 03 introduces new and changed features for backup and recovery.
336
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.4.1.1.1 Administration and Monitoring
SAP HANA cockpit SP 03 introduces new and changed features for system administration and monitoring.
Managing Tenant Databases (Changed)
The Database Services app now has additional capabilities. For a selected tenant, you can now:
Set limits for memory allocation and for CPU cores
Change the number of reserved instances
Set backup options
Restrict or blacklist tenant features
Enable or disable auto-restart
System Health (Changed)
The System Health app for multi-host systems has been enhanced with additional functionality.
Resource Registration (Changed)
You can now import and export resources.
Administering Oine Resources (Changed)
The SAP HANA cockpit for oine administration is no longer required for the administration of oine
resources. With SP 03, the SAP HANA cockpit includes all capabilities that could formerly be performed
only through the SAP HANA cockpit for oine administration. While the SAP HANA cockpit for oine
administration is still available, it is recommended that you instead use the SAP HANA cockpit.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 337
8.4.1.1.2 SAP HANA Database Explorer
SAP HANA cockpit SP 03 introduces new and changed features for SAP HANA database explorer.
SQL Console Enhancements
Ability to determine which database
system a SQL console is connected to
The SQL console now displays the database system that is
connected to on the console toolbar.
Ability to rename SQL console tabs
The SQL console now allows you to rename the console tab by
right-clicking the tab and clicking Rename.
Database Object Searching Enhancements
The Object Search now allows you to limit your search to a specic database.
Connection Enhancements
A Connection Status Dialog now appears if you experience network connectivity problems. The dialog allows
you to re-establish the connection.
Related Information
Getting Started with the SAP HANA Database Explorer
8.4.1.1.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 03 introduces new and changed features for performance monitoring and analysis.
Performance Monitor (Changed)
On the Performance Monitor page, you can zoom into a specic time frame by selecting it directly on the load
chart.
338
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Threads (Changed)
On the Threads page, you can identify what transaction is blocking a statement in a dedicated column.
Capture and Replay (Changed)
Capture and Replay oers the following new functionalities:
On the Replay Conguration page it is now possible to select more than one replayer from the Replayer List
in the Replayer Information section.
On the Replay Conguration page you can set optional lters (for example, statement type) in the General
Information section.
On the Replay Conguration page it is possible to see which type of requests are not supported for the
replay step.
Workload Analyzer (Changed)
The workload analyzer based on thread samples oers now the possibility to import and export datasets in
order to store the data in an application and to analyze it in another system.
The workload analyzer based on engine instrumentation oers now the possibility to set specic lters (for
example, statement hash, thread type, or application source) on the upper part of the screen.
8.4.1.1.4 User Management and Security Administration
SAP HANA cockpit SP 03 introduces new and changed features for user management and security-related
administration.
Database User and Role Management (Changed)
If you are implementing user authorization based on LDAP group membership, you can now set the
authorization mode of a user to LDAP on the User page.
Users congured for LDAP authorization are then automatically granted the roles that are mapped to the
groups of which they are a member. A user with authorization mode LDAP is granted roles exclusively
based on their LDAP group membership. It is not possible to grant such a user other roles or privileges
directly.
You can now add a comment to user denitions.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 339
Encryption Conguration and Encryption Key Management (New)
In addition to data volume encryption, it is now possible to see and change the status of redo log
encryption and backup encryption on the Data Encryption tile of the Overview page.
The Data Encryption tile now opens the new Data Encryption Conguration page. Here, you can see the
status of all data encryption services, enable and disable each service, and access the page for managing
encryption keys.
The new Manage Keys page allows you to see the status and version history of all encryption root keys in
your database. You can also perform all steps required to change your root keys safely, including creating a
password-protected root key backup.
8.4.1.1.5 High Availability and Scalability
SAP HANA cockpit SP 03 introduces new and changed features for high availability and scalability.
Secondary Read Access (New)
On the System Replication Overview it is now possible to see when the SQL ports of the secondary system are
open for read access.
Network Security Settings (New)
It is now possible to view the specic network security details congured between the primary and secondary
systems using the Network Security Settingstab on the System Replication Overview.
Monitor Network (New)
It is possible to monitor the network using the Monitor Network link in the SAP HANA cockpit. The Measure
Network Speed link on the Monitor Network page oers the possibility to measure the network speed between
the hosts in a scale-out SAP HANA database. The Network Speed Check list oers an overview of all network
channels between the involved hosts starting with the slowest network connection.
Conguring the Network for Multiple Hosts
340
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.4.1.1.6 Backup and Recovery
SAP HANA cockpit SP 03 introduces new and changed features for backup and recovery.
Copying an SAP HANA Database
SAP HANA cockpit now allows you to copy a database using backup and recovery.
You can copy a system database or a tenant database within the same system or to a dierent system.
It is possible to copy an SAP HANA database using le-based backups or backups created with third-party
tools.
Backup Encryption (Changed)
SAP HANA native backup encryption can now be enabled and disabled from SAP HANA cockpit.
8.4.2SAP HANA System Administration (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the administration of SAP HANA.
Tenant-Specic Licenses (New)
It is now possible to install licenses individually in tenant databases. A license installed in a tenant database is
valid only for that database. If no license is available in a tenant database, the license installed in the system
database applies.
License Keys for SAP HANA Database
Workload Management (Changed)
Admission control
The Admission Control feature (rst introduced in SPS 01) is now enabled by default. Default values for a
number of the conguration parameters for this feature have been revised in the SPS 02 release.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 341
Workload Classes
Two additional properties are now available in workload classes: TOTAL STATEMENT MEMORY LIMIT and
TOTAL STATEMENT THREAD LIMIT. These set limits which apply to all statements currently running for the
class as a whole.
Workload Management
Table Replication: Row Store to Column Store Tables (New)
You can now replicate data asynchronously from a row store source table to a column store target table
in a scale-out environment. Row store tables typically provide better performance for transactional (OLTP)
workload in comparison to column store tables. Similarly, column store tables oer the best performance
for analytics (OLAP) workload. Row to column table replication may therefore be an optimal replication
conguration for mixed workload types to get the best performance from both types of table. SQL commands
are now available to implement this kind of table replication.
Row to Column Table Replication
Partitioning: Dynamic Partition Pruning (New)
Pruning is a background process which optimizes query processing on partitioned tables. Static partition
pruning analyzes queries to determine whether or not they match the given partitioning specication of a
table. Dynamic partition pruning is a new extension of this feature which applies pruning to aging tables. It
uses pre-calculated statistics to identify the specic columns and partitions which are required for the query
currently running; this avoids the need to access and load into memory partitions which are not required.
Static and Dynamic Partition Pruning
Congure Host-Independent Tenant Addresses (New)
The client connection to a tenant database is established over port 3<instance_no>13. If a tenant database
is moved to another system, the instance number of the system and consequently the connection port will
change. To establish a connection independent of its current host, you can specify additional port numbers and
map them to the tenant.
Congure Host-Independent Tenant Addresses
Restricted SQL Access (New)
You can open additional SQL ports to prevent SQL access on port 3<instance>13. This prevents the exposure
of the system database SQL administration port to the external network. You enable this feature by setting the
property [multidb] systemdb_separated_sql_port to true in the global.ini le.
342
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Port Assignment in Tenant Databases
Prevent the Start of a Tenant Database at System Startup (New)
By default, all tenant databases that were running before the SAP HANA system was stopped are restarted
upon system startup. For troubleshooting purposes you may want to prevent a particular database from
starting until the issue is resolved.
Prevent the Start of a Tenant Database at System Startup
Authorization for Database Stop/Start (New)
Two new system privileges were introduced to authorize users to start and stop a database: DATABASE START
and DATABASE STOP. Both system privileges are part of DATABASE ADMIN.
Start a Tenant Database
Stop a Tenant Database
Table Consistency Check (Changed)
To perform table consistency checks, it is no longer necessary to enable the corresponding collector. These
checks are now performed automatically.
Table Consistency Check
SAP HANA HDBSQL (Changed)
HDBSQL Recognizes
BEGIN...END Blocks in a
File
HDBSQL has been enhanced to recognize BEGIN...END blocks in a le or interactive
input so that you no longer need to modify the script and use the -separatorownline
option. The -separatorownline behavior remains available when the option is
specied, but it has been marked as deprecated.
New option
-attemptencrypt
The new -attemptencrypt option species that encrypted data transmission is
used. If the connection fails, it attempts to use unencrypted connections which
results in the following warning, "The encrypted communication attempt failed.
Retrying the connection attempt without encryption options."
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 343
8.4.3SAP HANA Application Lifecycle Management (New
and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Application Lifecycle
Management for SAP HANA extended application services, advanced model (XS advanced).
Integration of XSA Application Lifecycle Management Graphical User
Interface in SAP HANA Cockpit (Changed)
You can start the SAP HANA Application Lifecycle Management Graphical User interface for a particular
resource using one of the following links in the SAP HANA Application Lifecycle Management section in the SAP
HANA Cockpit.
The following links are available:
Installing, updating and uninstalling XS advanced components
Installing, updating and uninstalling XS advanced products
Displaying the installation history of XS advanced components and products
SAP HANA Cockpit
SAP HANA Application Lifecycle Management
Installing and Updating Products and Software Components in SAP HANA
XS Advanced Model (New and Changed)
If an extension descriptor is used for the installation process, the system checks that the extension
descriptor le does not exceed a specic le size and that the syntax of the extension descriptor le is
correct. If the le is too big or if the syntax is incorrect, the system will not start the installation process.
Installing and Updating Using the Command Line Interface: The new command display-
installation-history was introduced that allows you to display the installation history .
Installing and Updating Using the Command Line Interface
Checks Before Installing or Updating Products or Software Components in SAP HANA XS Advanced Model
344
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.4.4SAP HANA High Availability (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA high availability.
srReadAccessInitialized (New)
The srReadAccessInitialized() hook shows on the primary system when the SQL ports are open on the
secondary system.
Hook Methods
Alert ID 104: System Replication Increased Log Shipping Backlog (New)
Alert 104 is raised when the system replication log shipping backlog is increased. In this case, the log shipping
to the secondary system is delayed or will not work properly causing data loss on the secondary system in case
a takeover is executed.
Copying and Moving Tenant Databases in a System Replication Landscape
(Changed)
It is now possible to copy or move a tenant database to a primary system in a running system replication
conguration. It is also possible to copy or move a tenant database from a primary system in a running system
replication conguration to another target system, which is dierent from the secondary system.
Copying and Moving Tenant Databases
8.4.5SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA backup and recovery.
SAP Business Warehouse Extension Nodes
SAP HANA backup and recovery now provides extended support for worker groups.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 345
If you are using extension nodes for SAP Business Warehouse, and have dened worker groups, information
about the worker groups for each volume are stored as part of SAP HANA full backups (complete data backups
and data snapshots).
Before you start a recovery, you must ensure that the worker groups in the SAP HANA system and the backups
have the same names.
Points to Note: Extension Nodes for SAP Business Warehouse
Extension Node
Documentation (Changed)
From now on, the term data snapshot is used instead of storage snapshot, which was used in previous SAP
HANA releases.
8.4.6SAP HANA Application Run-Time Services (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the application run-time services in
SAP HANA.
The following changes are included with SAP HANA 2.0 SPS 02 for the management of the XS advanced
run-time component:
XSA CLI
The XSA command-line interface enables you to manage XS advanced instances and services without
stopping the SAP HANA database.
XS CLI
The xs command-line interface enables you to manage the XS advanced run-time environment and its
components.
XSA CLI (Changed)
Additions, changes, and improvements have been made to the XSA CLI in the following areas:
set-certificate
Set the certicate for the default domain after the XS controller is shut down
save-ssfs-to-dbss
Create a backup copy of the XS advanced le-system secure store and save it in the database secure store;
the le-system secure store is then included automatically in the regular database backup operation
restore-dbss-to-ssfs
Restore the XS advanced le-system secure store from the backup copy saved in the database secure
store
346
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
show-stored-parameters-from-secure-store-db
Display a list of the parameters stored within the secure-store database after the last successful startup of
the XS advanced controller
delete-user-data
Ensure data privacy rules are respected by erasing user data from the log les
XS CLI (Changed)
Additions, changes, and improvements have been made to the xs CLI in the following areas:
Application management
Added the wait-for-apps command
Services management
Updated the marketplace and services commands
Routes
Added the --path option for specifying the application context (for example, /path/myapp to the create-
route, delete-route, map-route, and unmap-route commands in the Routes section
Administration
Moved the service-urls command to the Other Commands section
Other Commands
Added the service-urls command
Plug-ins
Updated the display-installation-logs command
Added the display-installation-history command
Related Information
SAP HANA Administration Guide
8.4.7SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA smart data access.
Linked Database (Changed)
Linked database is now extended to any smart data access remote source.
Using Linked Database
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 347
Remote Source Failover (New)
If a connection to a remote source becomes unavailable, the smart data access remote source reconnects
to one of the hosts specied in the host list. Automatic failover is enabled through the ODBC connection
conguration and is dependent of whether the remote source itself supports failover.
Automatic Failover Support
Safe Mode For ODBC Connections (New)
HANA Smart Data Access provides the capability to load ODBC drivers and execute ODBC calls from within the
scriptserver process. This reduces potential issues with the indexserver caused by third-party ODBC drivers.
Safe Mode for ODBC Connections
Setting Session Specic Information for Connections to SAP HANA Remote
Sources
Session specic client information can now be set for connections to SAP HANA remote sources.
Remote Statement Details
The Remote Statement Details page in SAP HANA Cockpit now includes the size of fetched records in bytes.
8.5 Development
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for development.
SAP HANA XS Advanced Development (New and Changed) [page 349]
For SAP HANA Platform 2.0 SPS 02, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
Text Search, Text Analysis, and Text Mining [page 354]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text search, text analysis,
and text mining.
SAP Web IDE for SAP HANA (New and Changed) [page 358]
SAP HANA Platform 2.0 SP02 introduces new and changed features for SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Graph (New and Changed) [page 364]
348
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Graph.
SAP HANA Spatial (New and Changed) [page 365]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Spatial.
SAP HANA Interactive Education (SHINE) for XS Advanced (New) [page 366]
SAP HANA Platform 2.0 SPS 02 introduces new features for SAP HANA Interactive Education (SHINE)
for XS Advanced.
SAP HANA Extended Application Services classic model (XS classic) and SAP HANA Repository [page
366]
SAP HANA Extended Application Services classic model (XS classic) and SAP HANA Repository are
deprecated as of SAP HANA 2.0 SPS 02.
8.5.1SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 02, SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
This section contains details of changes and additions to the following development related tools and features:
Application Migration (new) [page 349]
Application Run-Time Environment (New and Changed) [page 350]
Application Router (New) [page 350]
Deployment Service (New and Changed) [page 351]
SAP HANA Deployment Infrastructure (New and Changed) [page 351]
Core Data Services (New) [page 351]
Command-Line Interface (New and Changed) [page 351]
Developer Documentation (New and Changed) [page 352]
Application Migration (new)
The XS Advanced Migration Assistant enables you to migrate an XS classic application to run in the XS
advanced run-time environment. For SAP HANA 2.0 SPS 01 and SPS 02, the migration assistant includes the
following new or changed features:
Staged migration (changed)
Migrate an XS classic application to XS advanced in semantic units using the XS Advanced Migration
Assistant.
HTA mode (changed)
A new option (--hta) for the XS Advanced Migration Assistant, which produces output that does not include
information about permissions dened in .hdbgrants artifacts or role artifacts that are used to enable
public access to synonym targets.
Migrating ow graphs (new) and time-series models (new)
Flow graphs and time-series models are part of the completely automated migration strategy using the XS
Advanced Migration Assistant.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 349
Application Run-Time Environment (New and Changed)
With SAP HANA 2.0 SPS 02, SAP HANA XS advanced provides the following run-time environments for your
application:
JavaScript/Node.js (changed)
SAP HANA XS, advanced model, provides a JavaScript run time to which you can deploy your Node.js and
XS JavaScript applications.
Note
The XS JavaScript (XSJS) run time is a compatibility layer that runs on top of Node.js and enables you
to execute your existing code base, for example, .xsjs and .xsjslib les.
SAP NPM Registry (New)
SAP-specic Node.js packages are now available on a public registry (npm.sap.com)
Java (changed)
SAP HANA XS, advanced model, provides a Java run time to which you can deploy your Java applications.
The Java run time for SAP HANA XS advanced provides a Tomcat or TomEE run time to deploy your Java
code. The following components are new (or changed) for SAP HANA 2.0 SPS 02:
sap-java-hdi (changed)
Version 2.0 of the SAP HANA DI (HDI) client library for Java applications,sap-java-hdi, wraps the
HDI SQL APIs in Java classes and methods.
Tip
Version 2.0 of sap-java-hdi is not compatible with sap-java-hdi version 1.0.
Custom run time (changed)
You can also create and run a custom run-time environment of your own in XS advanced, so that you can
deploy applications written using languages such as Python or PHP, which are not supported by any of the
default run-time environments included in the XS advanced run-time store.
Restriction
SAP does not provide support for custom language, buildpack, or run-time scenarios.
Applications deployed to a custom run-time environment in XS advanced do not have automatic access
to (or use of) some important features that are built into and supported by the XS advanced framework,
including (but not limited to): authentication and security, logging and auditing, and connections to the
database. If you deploy an application to a custom run-time environment in XS advanced, you must
congure these components manually for the custom application
Application Router (New)
For SAP HANA Platform 2.0 SPS 02, SAP HANA XS advanced provides the following updates and new features
for the Node.js application router (approuter.js):
CORS
The XS advanced Node.js-based application router includes a new environment variable that you can use
to enable support for cross-origin request sharing (CORS). CORS enables you to override a Web browser's
350
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
security policy so that Web pages from other domains can make HTTP requests to your application
domain.
Deployment Service (New and Changed)
For SAP HANA Platform 2.0 SPS 02, SAP HANA XS advanced provides the following updates and new features
for the deployment service, for example, in the deployment descriptor (mtad.yaml) and the XS CLI command
xs deploy):
Updates to MTA module and resource types (changed)
Support for “optional” resources with XS advanced applications (new).
In this scenario, the application must be able to compensate for the absence of any “optional” resources
during deployment.
SAP HANA Deployment Infrastructure (New and Changed)
For SAP HANA Platform 2.0 SPS 02, SAP HANA XS advanced provides the following updates and new features
for SAP HANA Deployment Infrastructure (HDI):
HDI administration tools (new)
HDI artifact types and build plug-ins (changed):
Database table constraints (.hdbconstraint)
DocStore Collections (.hdbcollection)
Core Data Services (New)
For SAP HANA Platform 2.0 SPS 02 SAP HANA XS advanced provides the following updates and new features
for Core Data Services (CDS):
Tables and views dened in CDS can now be enhanced with comments.
Command-Line Interface (New and Changed)
For SAP HANA Platform 2.0 SPS 02, SAP HANA XS advanced provides the following updates and new features
for the XS advanced command-line interfaces (CLI):
XSA CLI
Use the XSA command-line interface to manage XS advanced instances and services without stopping the
SAP HANA database.
XS CLI
Use the xs command-line interface (CLI) to manage the XS advanced run-time environment and its
components.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 351
XSA CLI (New)
Numerous additions, changes, and improvements have been made to the XSA CLI in the following areas:
set-certificate
Set the certicate for the default domain after the XS controller is shut down
save-ssfs-to-dbss
Create a backup copy of the XS advanced le-system secure store and save it in the database secure store;
the le-system secure store is then included automatically in the regular database backup operation
restore-dbss-to-ssfs
Restore the XS advanced le-system secure store from the backup copy saved in the database secure
store
delete-user-data
Erase user data from the log les
XS CLI (Changed)
Numerous additions, changes, and improvements have been made to the xs CLI in the following areas:
Application management
Added the wait-for-apps command
Services management
Updated the marketplace and services commands
Administration
Moved the service-urls command to the Other Commands section
Other Commands
Added the service-urls command
Plug-ins
Updated the display-installation-logs command
Added the display-installation-history command
Developer Documentation (New and Changed)
This section contains information about additions or changes to the following development-related documents
for SAP HANA 2.0 SPS 02:
SAP HANA Developer Information Map
SAP HANA Developer Quick Start Guide
SAP HANA Developer Guide for SAP HANA XS Advanced Model
SAP HANA Developer Information Map
For SAP HANA 2.0 SPS 02, the SAP HANA Developer Information Map has been improved and expanded to
enable much quicker and easier access to the library of information available to help develop XS advanced
applications. You can now access the information from the following perspectives:
Developer Guide
Which document am I interested in (developer, reference, programming language), what is its title, what
information does it contain, and where do I nd it?
Developer Tasks
352
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
What am I trying to do, what tasks are required to do it, and where do I nd the information about these
tasks?
Developer Scenario
Which developer role or persona is most typically associated with the information I need to nd: database
development, application development, or user-interface client design?
SAP HANA Developer Quick Start Guide
For SAP HANA 2.0 SPS 02, the SAP HANA Developer Quick Start Guide has been greatly simplied allowing
much quicker and easier access to the tutorials designed to get you started with the process of developing
applications for the XS advanced run-time environment.
SAP HANA Developer Guide for SAP HANA XS Advanced Model
The SAP HANA Developer Guide for SAP HANA XS Advanced Model describes the recommended process
to follow when building and deploy applications that run in the SAP HANA extended application services,
advanced model (XS advanced) run time; it also describes the required technical structure of applications that
can be deployed to the XS advanced run-time platform using either SAP Web IDE for SAP HANA along with
administration and command-line tools.
The following areas in the SAP HANA Developer Guide for XS advanced model are new, updated, or improved:
Maintaining Application Development and Deployment Descriptors
Improved and more comprehensive descriptions of the conguration les used to dene and describe the
build and deployment of a Multi-Target Application (MTA)
Dening the Data Model in XS Advanced
Conguring the HDI Deployer
Maintaining JSON Collections in the SAP HANA Document Store
Using Synonyms to Access External Schemas and Objects in XS Advanced
Dening Web-Based Data Access:
Dening OData Services for XS Advanced Applications
Improved and more comprehensive tutorials for creating validation and modication exits with
JavaScript for OData version 2 services
Data Access with XMLA in SAP HANA XS
Improved and expanded the tutorial for setting up and using the XMLA interface in XS advanced
Writing the XS Advanced Application Code:
Expanded the JavaScript run-time section to include information about new and updated SAP-specic
Node.js packages as well as details of how to make use of the new @SAP public NPM Registry
(npm.sap.com)
Maintaining Application Services in XS Advanced
Expanded the section to include much more details of default services and, in particular, how and when to
use them
Service Plans
Expanded and improved the information concerning the mapping of service plans to resource types
Service Types
Expanded and improved the information about XS advanced service types (for example, managed services
and user-provided services) and when and how to use them
Maintaining XS Advanced Application Routes and Destinations
Improvements to and extension of existing information as well as new information about features and
functionality added with SAP HANA Platform 2.0 SPS 02
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 353
SAP Web IDE
Expanded and improved the reference section for SAP Web IDE for SAP HANA, a browser-based integrated
development environment (IDE) for the development of SAP-HANA-based applications, to included details
of the new tools, features, and general improvements in functionality for this release
HDI Artifact Types and Build Plug-ins Reference
Improvements and additions to the list of available plugins providing support for a wide variety of
database artifacts types, for example, .hdbconstraint (constraints on foreign keys in database tables)
and .hdbcollection (JSON collections for the SAP HANA DocStore)
XS Command-Line Interface
Numerous improvements and additions to the parameters and options already available with existing
commands, for example, marketplace and services as well as important additions to the installation
and deployment functions including more control of the application version deployed and the services
bound to the deployed application
Related Information
SAP HANA Developer Quick Start Guide
SAP HANA Developer Guide for XS Advanced Model (SAP Web IDE)
8.5.2Text Search, Text Analysis, and Text Mining
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text search, text analysis, and text
mining.
Text Search (New and Changed) [page 355]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text search.
Text Analysis (New and Changed) [page 356]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text analysis.
Text Mining (New and Changed) [page 358]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text mining.
354
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.5.2.1 Text Search (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text search.
Built-In Procedure sys.esh_cong() and CDS
Note the following new features for built-In procedure sys.esh_config() and CDS:
new annotation @Consumption.labelElement to dene a label column for a facet
Annotation @Consumption
new annotation @EnterpriseSearch.filteringFacet.displayPosition to dene the sequence of
the facets in the search response
new annotation @EnterpriseSearch.filteringFacet.order to dene the order of values within a
facet
new annotation @EnterpriseSearch.filteringFacet.countNullValues to count NULL values
within a facet
Annotation @EnterpriseSearch
Property Annotations
Built-In Procedure sys.esh_search()
Note the following new features for built-In procedure sys.esh_search():
Use a timeout parameter to specify a timeout value for each search of a bulk request or a federated search.
Use a language vector as an input parameter to dene a prioritized list of languages.
new annotation @com.sap.vocabularies.Search.v1.Language in the search result returns language
codes
new annotation @com.sap.vocabularies.Search.v1.Text in facet results returns labels for facet
columns
new annotation @com.sap.vocabularies.Search.v1.CPUTime returns the active cpu time of a search
new $metadata annotation @EnterpriseSearchHana.isSortable
Method 'GET' - $metadata Call
Annotations in the Search Response
Privileges
The EXECUTE privilege on sys.esh_search() has been granted to database role PUBLIC.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 355
8.5.2.2 Text Analysis (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text analysis.
Web IDE Extensions for Text Analysis
SAP Web IDE for SAP HANA (on-premise version) adds support for developing custom text analysis
congurations (in addition to dictionaries and extraction rules). Custom text analysis congurations can be
generated using one of the standard SAP HANA congurations as a starting point, and can be tested using the
TA Batch Test feature.
Users will be able to ensure that they have a working text analysis conguration for their custom dictionaries
and rules, ready for immediate deployment, at the end of the development process.
Managing Custom Text Analysis Congurations with XS Advanced
Automatic Word Form Handling in Custom Dictionaries
Text analysis dictionaries can optionally perform matching on the base forms (stems) of the words used in
the dictionary entries, instead of requiring exact string matches (the default). By enabling this option for a
dictionary, an entity string can be specied once (in a natural form) and the matching process will consider
all inected forms of the words automatically when searching for matches. This reduces the eort required
to create dictionaries, improves recall in highly-inected languages, and, depending on the dictionary terms
dened, can yield smaller, more manageable dictionaries.
Automatic word form handling is supported for all languages. For English, German, French, Italian and Spanish,
this feature can additionally handle inected forms for specialized entries not included in the internal text
analysis lexicons (e.g., medical terms).
See chapter Extraction Dictionary Syntax inside the SAP HANA Text Analysis Extraction Customization Guide for
details.
Entity Normalization
Text analysis can now normalize the values of CURRENCY and PERCENT entities.
For example, when a CURRENCY entity for "150 dollars" is extracted by text analysis, the TA_NORMALIZED
column in the TA results table will contain "150 USD". Similarly, when a PERCENT entity for "15.8 percent" is
extracted, the TA_NORMALIZED column will contain "15.8%".
This feature is only supported for English.
This feature must be activated using a custom text analysis conguration.
SAP.TextAnalysis.DocumentAnalysis.Extraction.ExtractionAnalyzer.TF
356
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Improved Sentiment Analysis in Arabic
The precision and recall of Sentiment Analysis for Arabic has been improved.
For example, the input "  5/5 " is recognized as a Sentiment with Topic "" and StrongPositiveSentiment
"5/5".
Improved Handling of Dates in Arabic
The recognition of dates has been improved in Arabic.
Improvements in Linguistic Analysis (part-of-speech detection):
"02/02/12" Before: "Unknown" Now: "Number"
"26-33-27" Before: "Unknown" Now: "Number"
Improvements in Entity Extraction (DATE entities):
"02/02/12" Before: (not extracted) Now: DATE
"26-33-27" Before: DATE Now: (not extracted)
Improved Linguistic Analysis in Korean
Numerous incremental changes to Korean increase the accuracy of full text search and text analysis when
processing Korean text.
Tokenization improvements in linguistic analysis:
백만 달러 Before: "Noun" and "Verb" Now: "Number" ("백만") and "Noun" ("달러")
Parenthesized Hangul characters:
Before: "Unknown" Now: "Noun"
Before: "Unknown" Now: "Noun"
Tolerant Spelling Support for Danish, Swedish, and Russian
Linguistic analysis of Danish, Swedish, and Russian is more tolerant of variations in capitalization, accents, and
hyphenation. This increases recall for full text search and text analysis applications that process inputs in those
languages.
For example, "sverige" is recognized as a variation of the proper name "Sverige" in Swedish. Likewise,
"danmark" is recognized as a variation of "Danmark" in Danish, and "москве" is recognized as a variation
of "Москва" in Russian.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 357
Improved Emoji Support
Emojis are now split into their own separate token. For example, previously, "happy☺" would be treated as a
single token. Now it will be treated as two distinct tokens, "happy" and "☺". This results in improved recall for
Emoticon entities when using sentiment analysis.
Related Information
SAP HANA Text Analysis Developer Guide
8.5.2.3 Text Mining (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for text mining.
Support for using stems (base forms) or raw tokens as terms
Text Mining now includes optional support for using word stems (base forms) or raw tokens as terms
when constructing the term-document matrix. The use of stems may provide better text mining results for
certain languages like Korean, and possibly also when using limited amounts of reference text (i.e., very small
reference documents and/or very small sets of reference documents).
This feature must be activated using a custom text mining conguration.
Conguration Properties
Related Information
SAP HANA Text Mining Developer Guide
8.5.3SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SP02 introduces new and changed features for SAP Web IDE and integrated SAP
HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
358
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
SAP Web IDE [page 359]
SAP HANA Platform 2.0 SP02 introduces new and changed features for SAP Web IDE.
Calculation View Editor (Modeler) [page 360]
SAP HANA Platform 2.0 SP02 introduces new and changed features for the calculation view editor
(modeler) of SAP Web IDE.
CDS Graphical Editor [page 361]
SAP HANA Platform 2.0 SP02 introduces new and changed features for the CDS graphical editor of
SAP Web IDE.
Database Explorer [page 362]
SAP HANA Platform 2.0 SP02 introduces new and changed features for the database explorer in SAP
Web IDE.
Java and Node.js Development [page 363]
SAP HANA Platform 2.0 SP02 introduces new and changed features for Java and Node.js development
in SAP Web IDE.
SAP HANA Streaming Analytics Plugin [page 363]
SAP HANA Platform 2.0 SP02 introduces new and changed features in the SAP HANA streaming
analytics plugin for SAP Web IDE.
8.5.3.1 SAP Web IDE
SAP HANA Platform 2.0 SP02 introduces new and changed features for SAP Web IDE.
Ability to create remote branches in Git
You can now create remote branches for your Git projects. Right-click your project and choose
Git Create
Remote Branch .
Create Remote Branches
Ability to deploy an application directly from SAP Web IDE to the XS
Advanced or Cloud Foundry
You can deploy the results of an application build, packaged into an .mtar le, to a runtime platform of your
choice.
Packaging and Deploying Applications.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 359
Ability to enable or disable optional features in SAP Web IDE
Enable SAP Web IDE Extensions
8.5.3.2 Calculation View Editor (Modeler)
SAP HANA Platform 2.0 SP02 introduces new and changed features for the calculation view editor (modeler)
of SAP Web IDE.
Renaming and Refactoring Objects
Rename calculation views and refactor them to automatically adjust references in all dependent objects.
Using the Outline Pane for Calculation Views
Use the outline pane in SAP Web IDE for SAP HANA to obtain a quick overview of the modeler objects (view
nodes and columns) in a calculation view. You can also select an object in the outline pane, and navigate to the
editor to identify where the object is used in the calculation view.
Creating Virtual Tables with a Form-Based Editor
Use the new form-based editor in SAP Web IDE for SAP HANA to create virtual tables.
Enhancements in Currency Conversion and Unit Conversion
When assigning conversion semantics (unit conversion or currency conversion) to a column, you can reuse
the conversion semantics of another column as a reference.
You can set the behavior of intermediate conversions to either compatible or highest precision. This helps
to obtain accurate and desired currency or unit conversion results.
Enhancements in Auto Documentation
In SAP Web IDE for SAP HANA, you can automatically generate documentation of multiple calculation views at
a time.
360
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Enhancements in Filtering View Nodes
In addition to dening lters on projection, aggregation, and join view nodes, you can also dene lters on
union, rank, minus and intersect view nodes.
If you are using the same view node as an input to multiple other nodes, and if you have dened lters in
any of these nodes (top nodes), the engine cannot push down the lters to the below node at execution.
But, with SAP HANA 2.0 SPS 02 version onwards, you can control the behavior of lter push down for such
cases. You can set a ag that enables the below node to ignore multiple outputs, push down lters, and
provide ltered output to each top node.
If you are using a rank node as an input to any of the top nodes, and if you have dened a lter on the top
node, the engine cannot push down the lter to nodes below the rank node at execution. But, with SAP
HANA 2.0 SPS 02 version onwards, you can set a ag at each rank node to push down lters to the below
nodes.
Automatically Creating Files for Synonym Denitions
In SAP Web IDE for SAP HANA, you can use synonyms to consume modeler objects from user-dened
schemas (non HDI). The tool can automatically create the les necessary for the synonym denition.
8.5.3.3 CDS Graphical Editor
SAP HANA Platform 2.0 SP02 introduces new and changed features for the CDS graphical editor of SAP Web
IDE.
Creating Subqueries
You can use the CDS graphical editor in SAP Web IDE for SAP HANA to dene CDS views with subqueries.
Subqueries are nested SQL queries that enables you to create CDS views for complex business scenarios.
Using the LIMIT and OFFSET SQL Clauses
You can use the SQL clauses LIMIT and OFFSET in a CDS view denition. The LIMIT SQL clause enables you
to restrict the number of output records to a specied “limit”. The OFFSET SQL clause species the number of
records to skip before displaying the records dened by the LIMIT SQL clause.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 361
Creating Parameters in a CDS View
You can use the CDS graphical editor in SAP Web IDE for SAP HANA to dene CDS views with parameters. The
parameters enable you to pass additional values to modify the results of the CDS view at runtime.
Creating Entites to Store Series Data
You can use the CDS graphical editor in SAP Web IDE for SAP HANA to create entities that can eciently store
series data.
Publishing CDS artifacts with contexts as OData Services
You can publish CDS artifacts at the context level as OData v4 services.
Enhancements in Modeling CDS Views
When modeling a CDS view, you can use elements from structure types in the CDS view denition.
Dene Editor Preference
Dene your preferred CDS editor in
Tools Preferences Default Editor HANA CDS Source .
8.5.3.4 Database Explorer
SAP HANA Platform 2.0 SP02 introduces new and changed features for the database explorer in SAP Web IDE.
Ability to limit database object search
The Object Search now allows you to limit your search to a specic database.
362
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Ability to determine which database system a SQL console is connected to
The SQL console now displays the database system that is connected to on the console toolbar.
Ability to rename SQL console tabs
The SQL console now allows you to rename the console tab by right-clicking the tab and clicking Rename.
New Connection Status Dialog
A Connection Status Dialog now appears if you experience network connectivity problems. The dialog allows
you to re-establish the connection.
8.5.3.5 Java and Node.js Development
SAP HANA Platform 2.0 SP02 introduces new and changed features for Java and Node.js development in SAP
Web IDE.
Java development
Improved debugging
You can attach the debugger on demand to your running Java application in addition to the option to start
the application in debug mode.
You can debug multi module applications like Spring Boot.
8.5.3.6 SAP HANA Streaming Analytics Plugin
SAP HANA Platform 2.0 SP02 introduces new and changed features in the SAP HANA streaming analytics
plugin for SAP Web IDE.
Plugin name change
SAP HANA smart data streaming has been renamed SAP HANA streaming analytics.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 363
Enabling the plugin and the link to the streaming analytics runtime tool
The streaming analytics plugin for SAP Web IDE is no longer enabled when you rst log in to the SAP Web
IDE, even if you have installed all the required components. You have to enable the plugin, and the link to the
streaming analytics runtime tool, through Preferences Features.
CCL Graphical viewer properties pane
The CCL graphical viewer can now display detailed properties for any object in the diagram. Enable the
properties pane by clicking the icon, then selecting the checkbox. To see the properties for an element,
open this pane, then select an element in the diagram.
New build option to custom server and workspace
In addition to Build, which compiles and deploys the streaming module to the XSA space you're already
working in, you can now also use Build to.... This method asks for a host, port, workspace, and user credentials.
If you enter the name of a workspace that doesn't exist, a new workspace gets automatically created.
Related Information
What's New in SAP HANA Streaming Analytics
8.5.4SAP HANA Graph (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Graph.
GraphScript Extensions (New and Changed)
Tabular results can be produced in GraphScript, eectively allowing non-scalar GraphScript results to be
returned.
The EDGES function returns all edges between a start set or vertex and a target set or vertex.
WHILE loops as known from other languages are now supported.
The data type NVARCHAR is supported.
Filter expressions can be used to evaluate complex predicates on vertex or edge multisets.
364
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Subgraphs can be constructed for a given graph induced by a given set of vertices or edges.
An inverse graph can be constructed from a given graph. In an inverse graph the edge directions are
ipped.
Various Performance Improvements (Changed)
Various performance improvements in GraphScript, pattern matching, and built-in algorithms.
8.5.5SAP HANA Spatial (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Spatial.
Support of NULL M Values (New)
SAP HANA Spatial supports NULL measure values (NULL M values). NULL M values indicate that there is no M
value for a point in a geometry.
Multidimensional Support
Column Conguration (New)
You can congure table columns with column type ST_GEOMETRY to perform the following checks:
VALIDATION {NONE | FULL}
Checks whether a geometry is a valid geometry. The default value is NONE.
BOUNDARY CHECK {OFF | ON}
Checks whether a geometry is inside the boundary dened by the Spatial Reference System (SRS) of the
checked geometry. The default value is OFF.
Column Denition and Column Conguration
ST_GEOMETRY_COLUMNS System View
ST_AlphaShape Method (New)
Returns the alpha shape geometry of the input geometry, based on a specied radius value.
ST_AlphaShape Method
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 365
8.5.6SAP HANA Interactive Education (SHINE) for XS
Advanced (New)
SAP HANA Platform 2.0 SPS 02 introduces new features for SAP HANA Interactive Education (SHINE) for XS
Advanced.
Fiori Launchpad (New)
Dynamic data is displayed in the tiles of Fiori Launchpad.
Audit Logging (New)
The audit log service allows you to perform audit log tasks within the SAP HANA XS advanced runtime
environment. In SHINE, the audit log service is used to log the changes to transactional data which take place
when a user runs the Data Generator.
CDS Enhancements (New)
CDS enhancements include constraints for referential integrity and comments for tables.
SQL Script Enhancements (New)
SQL Script enhancements include INSERT, UPDATE and DELETE operators for table variables.
8.5.7SAP HANA Extended Application Services classic
model (XS classic) and SAP HANA Repository
SAP HANA Extended Application Services classic model (XS classic) and SAP HANA Repository are
deprecated as of SAP HANA 2.0 SPS 02.
Related Information
Deprecation of SAP HANA extended application services, classic model and SAP HANA Repository (SAP Note
2465027)
366
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.6 Reference
SAP HANA Platform 2.0 SPS 01 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL and System Views Reference (New and Changed) [page 367]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP
HANA SQL and System Views Reference.
SAP HANA Client Interfaces Reference (New and Changed) [page 374]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP
HANA Client Interface Programming Reference.
SAP HANA SQL Command Network Protocol Reference (Changed) [page 376]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP
HANA SQL Command Network Protocol Reference.
SAP HANA SQLScript Reference (New and Changed) [page 377]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA SQLScript.
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed) [page 378]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Analytics Catalog
(BIMC Views).
SAP HANA Predictive Analysis Library (New and Changed) [page 378]
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA External Machine Learning Library (New) [page 380]
The SAP HANA External Machine Learning Library is a new application function library (AFL)
introduced in SAP HANA Platform 2.0 SPS 02 that supports the integration of Google TensorFlow,
as an external machine learning framework, with SAP HANA.
8.6.1SAP HANA SQL and System Views Reference (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP HANA SQL
and System Views Reference.
SQL Statements (New and Changed)
ALTER SYSTEM
APPLICATION
ENCRYPTION
Statement (changed)
When you create a new root key with the ALTER SYSTEM APPLICATION ENCRYPTION
statement, the WITHOUT ACTIVATE clause is now mandatory.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 367
COMMENT ON
Statement (changed)
The COMMENT ON statement now allows you to add a comment on users, roles, and
user groups.
CREATE |
ALTER DATABASE
Statement (changed)
A RESTART clause, allows you to specify the restart behavior of the tenant database
after a system restart.
CREATE |
ALTER FUNCTION
Statement (changed)
A new LOCATION allows you to specify a location for the cache.
The CREATE FUNCTION statement has been extended to support an optional OR
REPLACE specication. A CREATE OR REPLACE FUNCTION statement allows you to
create a function if it does not exist, or alter its denition it if it does exist.
CREATE | ALTER
LDAP PROVIDER
Statement (changed)
A new clause, NESTED GROUP LOOKUP URL, allows you to specify the URL from
which the user's group membership (both direct and indirect) can be obtained. The
previously-required ATTRIBUTE MEMBER OF clause is now optional; however, one of
NESTED GROUP LOOKUP URL or ATTRIBUTE MEMBER OF is required for an LDAP
provider.
CREATE |
ALTER STATISTICS
Statement (changed)
A new data statistics object type, SAMPLE, is provided for creating samples of data
that the SQL optimizer can use during optimization.
Data statistics objects dened as SIMPLE TOPK are now supported on column store
tables.
Two new properties VALID FOR ESTIMATION and VALID FOR DATA DEPENDENCY
have been added.
CREATE | ALTER
TABLE Statement
(changed)
The following enhancements have been made to the CREATE TABLE and ALTER
TABLE statements.
IDENTITY columns are now supported in global and local temporary tables, both
in row store and column store tables.
Primary keys are now supported for local temporary row store tables.
ALTER TABLE statement: you can now swap a source and replica so that
the replica becomes the source by using the new SET REPLICA SOURCE AT
'<host_name>:<port_number>' clause.
ALTER TABLE statement: You can now alter the owner of a table using the new
OWNER TO clause. Use of this clause removes the need to copy a table between
users.
CREATE | ALTER
VIEW Statement
(changed)
A new parameterized view clause allows you to dene the columns for the view as
parameters.
A new LOCATION allows you to specify where the view is stored in the cache.
CREATE | ALTER
WORKLOAD CLASS
Statement (changed)
Two new properties, the TOTAL STATEMENT MEMORY LIMIT and the TOTAL
STATEMENT THREAD LIMIT, are provided to check whether the limits of all ongoing
statement executions for a specic workload class are exceeded.
CREATE | ALTER |
DROP USERGROUP
Statements (new)
New CREATE | ALTER | DROP USERGROUP statements allow you to create, alter and
drop user groups.
368 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
CREATE AUDIT
POLICY Statement
(changed)
Three audit actions have been introduced as part of the new user group feature
support: CREATE USERGROUP, ALTER USERGROUP, and DROP USERGROUP.
Three audit actions have been introduced to support renaming of database objects:
RENAME COLUMN, RENAME INDEX, and RENAME TABLE.
CREATE
PROCEDURE
Statement (changed)
The CREATE PROCEDURE statement has been extended to support an optional OR
REPLACE specication. A CREATE OR REPLACE PROCEDURE statement allows you
to create a procedure if it does not exist, or alter its denition it if it does exist.
CREATE USER
Statement (changed)
A new clause, SET USERGROUP, allows you to add a user to a user group.
GRANT Statement
(changed)
The following privileges can now be granted using the GRANT statement.
USERGROUP
OPERATOR
Authorizes a user to congure the parameters of, and
membership in, a user group.
DATABASE START
Authorizes a user to start any database in the system and to
select from the M_DATABASES view.
DATABASE STOP
Authorizes a user to stop any database in the system and to
select from the M_DATABASES view.
IMPORT FROM
Statement (changed)
A new ESCAPE clause allows you to specify the escape character used in the import
data.
INSERT Statement
(changed)
The INSERT statement now allows the FOR XML clause in the subquery.
RECOVER DATA
Statement (changed)
A new IGNORE WORKERGROUPS clause allows you to recover data even if the
target system does not have worker groups with the same names as those on the
indexserver that was backed up.
RECOVER DATABASE
Statement (changed)
A new IGNORE WORKERGROUPS clause allows you to recover a database even if the
target system does not have worker groups with the same names as those on the
indexserver that was backed up.
RENAME DATABASE
Statement (new)
You can now rename a tenant database using the new RENAME DATABASE
statement.
REVOKE Statement
(changed)
The following privileges can now be revoked using the REVOKE statement.
USERGROUP
OPERATOR
Authorizes a user to congure the parameters of, and
membership in, a user group.
DATABASE START
Authorizes a user to start any database in the system and to
select from the M_DATABASES view.
DATABASE STOP
Authorizes a user to stop any database in the system and to
select from the M_DATABASES view.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 369
UPDATE Statement
(changed)
The UPDATE statement now allows the FOR XML clause in the subquery.
SELECT Statement
(changed)
The FOR XML clause is now supported in table and scalar subqueries.
You can now use the SELECT statement to select from parameterized views.
SELECT Statement
(JSON Document
Store) (changed)
Use the new IS SET | UNSET clause to test for values that have been set or unset for
the specied key.
SQL Functions (New and Changed)
ENCRYPTION_ROOT_KEYS_HAS_BACKUP_PASSWORD
Function (new)
Returns a value that indicates whether the
root key backup password is set.
HIERARCHY_SPANTREE Function (new)
Creates a partial hierarchy based on
parent-child source data and an (optional)
maximum recursion depth input parameter,
as well as an orphan-handling directive.
HIERARCHY_TEMPORAL Function (new)
Generates a time-dependent hierarchy on
recursive parent-child source data whose
edges are additionally qualied by validity
intervals.
NDIV0 Function (new) Prevents divide by zero errors.
TO_JSON_BOOLEAN Function (new) Converts a given <value> to a boolean
value in JSON format.
XMLTABLE Function (new)
Creates a relational table from an XML
string.
System Views (New and Changed)
DEPENDENCY_RULES System View (new)
For internal use only, provides a list dependency rules in
the system.
DEPENDENCY_RULE_COLUMNS System View
(new)
For internal use only, provides a list dependency rule
columns in the system.
DYNAMIC_RESULT_CACHE System View (new) )
Provides information about metadata objects that are
enabled for a dynamic result cache.
370 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
ENCRYPTION_ROOT_KEYS System View
(changed)
Two new columns, IN_BACKUP and ROOT_KEY_HASH,
have been added to provide information about the root
key hash value and whether it has ever been backed up.
HIERARCHY_OBJECTS System View (new)
Provides the list of objects that hierarchy navigation
functions can be run on.
M_DATA_VOLUME_PAGE_STATISTICS System
View (changed)
The new PARTITION_ID column provides the ID for the
data volume partition.
The new STATE column provides information on the data
volume state.
M_DATA_VOLUME_PARTITION_STATISTICS
System View (new)
Provides information on data volume partition statistics.
M_DATA_VOLUME_STATISTICS System View
(new)
Provides information on data volume statistics.
M_DATA_VOLUME_SUPERBLOCK_STATISTICS
System View (changed)
The new PARTITION_ID column provides the ID for the
data volume partition.
The new STATE column provides information on the data
volume state.
M_EVENTS System View (changed)
The new SOURCE_HOST column species the original
host if the event was created via another HOST.
The new SOURCE_PORT column species the original
port if the event was created via another HOST.
M_HOST_AGENT_INFORMATION System View
(new)
Displays computer system information retrieved from
the SAP Host Agent.
M_HOST_AGENT_METRICS System View (new)
Displays performance metrics retrieved from the SAP
Host Agent.
M_LICENSE System View (updated)
The new IS_DATABASE_LOCAL column species
whether the tenant is using a local license or a global
license.
M_LICENSES System View (updated)
The new IS_DATABASE_LOCAL column species
whether the tenant is using a local license or a global
license.
M_LOAD_HISTORY_SERVICE System View
(changed)
The following columns have been added:
INTERNAL_CONNECTION_COUNT species the
number of open internal SQL connections.
EXTERNAL_CONNECTION_COUNT species the
number of open external SQL connections.
IDLE_CONNECTION_COUNT species the number
of open idle SQL connections.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 371
INTERNAL_TRANSACTION_COUNT species the
number of internal transactions.
EXTERNAL_TRANSACTION_COUNT species the
number of external transactions.
USER_TRANSACTION_COUNT species the number
of user transactions.
M_REMOTE_STATEMENTS System View
(changed)
The new FETCHED_SIZE column species the byte size
of fetched records.
M_RESULT_CACHE System View (changed)
The new IS_EVICTED column species TRUE if a cache
entry is evicted, FALSE otherwise.
M_SERVICE_REPLICATION System View
(changed)
The following columns have been added:
REPLAY_BACKLOG_SIZE - species the size of all log
buers that have been shipped to the secondary site
but have not yet been replayed on the secondary
site.
REPLAY_BACKLOG_TIME - species the time
dierence between the time of the last shipped
log buer and the last replayed log buer on the
secondary site.
MAX_REPLAY_BACKLOG_SIZE - species the
maximum value of the REPLAY_BACKLOG_SIZE
since the system startup.
MAX_REPLAY_BACKLOG_TIME - species the
maximum value of REPLAY_BACKLOG_TIME since
the system startup.
M_SERVICE_THREAD_SAMPLES System View
(changed)
The data types for the following columns have
been updated: PASSPORT_ROOTCONTEXT_ID is now
VARBINARY(16), PASSPORT_TRANSACTION_ID is now
NVARCHAR(32), and PASSPORT_CONNECTION_ID is
now VARBINARY(16).
M_SERVICE_THREADS System View (changed)
The data types for the following columns have
been updated: PASSPORT_ROOTCONTEXT_ID is now
VARBINARY(16), PASSPORT_TRANSACTION_ID is now
NVARCHAR(32), and PASSPORT_CONNECTION_ID is
now VARBINARY(16).
M_SQL_PLAN_CACHE System View (changed)
The new LAST_INVALIDATION_REASON column
species the reason for the last invalidation.
M_WORKLOAD_CAPTURES System View
(changed)
Two new columns have been added:
CAPTURE_FAILED_STATEMENT_COUNT species the
number of failed current or capture statements while
CAPTURE_FAILED_FETCH_COUNT species the number
of failed current or capture fetch operations.
372 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
M_WORKLOAD_REPLAY_PREPROCESSES System
View (changed)
Two new columns have been added:
CAPTURE_FAILED_STATEMENT_COUNT species the
number of failed capture statements while
CAPTURE_FAILED_FETCH_COUNT species the number
of failed fetch operations during capture.
REMOTE_SUBSCRIPTION_DATA_CONTAINERS
System View (new)
Provides information regarding remote subscription
data.
REORG_PLAN System View (changed)
Two new columns have been added: STEP_GROUP
species the ID of the table redistribution group of steps
that the item belongs to and PRECONDITION indicates
the preconditions that have to be fullled before the table
redistribution step can be executed.
REORG_STEPS System View (changed)
Two new columns have been added: STEP_GROUP
species the ID of the table redistribution group of steps
that the item belongs to and PRECONDITION indicates
the preconditions that have to be fullled before the table
redistribution step can be executed.
RESULT_CACHE System View (changed)
A new CACHE_LOCATION column provides the location
of the result cache.
USERGROUPS System View (new)
Lists all the user groups in the HANA system.
USERS System View (changed)
A new column, IS_RESTRICTED_DETAILS, species the
missing privilege(s): ROLE PUBLIC, CREATE ANY ON
OWN SCHEMA.
A new column, USERGROUP_NAME, species the name
of the user groups that the user belongs to.
VIEW_PARAMETERS System View (new)
Provides the parameters specied for each
parameterized view in the database.
VIEWS System View (changed)
A new column, HAS_PARAMETERS, indicates whether
the view is dened with parameters.
WORKLOAD_CLASSES System View (Changed)
Two new columns, TOTAL_STATEMENT_MEMORY_LIMIT
and TOTAL_STATEMENT_THREAD_LIMIT, have been
added to provide information about the limits of all
ongoing statement executions for a specic workload
class.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 373
Miscellaneous
New support for hyphens in user
names
You can now include hyphens in user names.
New support for declaring the
default value of a boolean column
as UNKNOWN
Previously, when dening a column as BOOLEAN, you could not dene the
default value as UNKNOWN. This has changed; you can now dene the
default value of a boolean column as UNKNOWN. For example, CREATE
TABLE table1(a BOOLEAN DEFAULT UNKNOWN...
New support for JSON object
expressions
The JSON object expression generates a JSON object, and looks very
similar to a JSON document. JSON object expressions can be referenced
by some statements and operators.
8.6.2SAP HANA Client Interfaces Reference (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP HANA Client
Interface Programming Reference.
Updated Python Support
The new SAP HANA driver for Python provides support for Python 2.7 and Python
3.4 and later. You can install the driver into local Python environments by using
the pip installer. The driver is built on the same C++ native library used by ODBC,
ADO.NET, and other interfaces. As a result it provides all the protocol support built
into that library, including support for Active/Active database congurations, network
compression, and more.
Python Support
Go (golang) Support
The new dedicated Go driver interface allows Go applications to access the SAP HANA
server by using the Go SQL API.
Go (golang) Support
JDBC Enhancements
New Statistics Trace
Level
The new JDBC statistics trace level sets tracing for connection
statistics, including durations, packet and byte counts, and
compression ratios.
New Connection
Properties
A new connection property, compress, supports network
compression.
A new connection property, prefetch, controls result set
prefetching.
ODBC Enhancements
374
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
COMPACT command for
hdbodbc_cons
The new COMPACT command for hdbodbc_cons
compacts the trace conguration store of ODBC-based
clients.
Node.js Enhancements
createLobStream (resultset, columnIndex,
options) function
This function in the Stream Module
creates a node.js readable stream by
using a result set that fetches data as
LOB columns.
sendParameterData(columnIndex, buer[,
callback]) Method
This method sends LOB data to the
server in chunks.
API Version Support (changed)
Complete API version support information is now available at 2499500
.
SQLDBC Enhancements (changed)
COMPACT command for
hdbsqldbc_cons
The new COMPACT command for hdbsqldbc_cons
compacts the trace conguration store of SQLDBC-
based clients.
Network compression
Network compression is supported by JDBC and all SQLDBC-based APIs. To enable
network compression for all client connections, set the indexserver.ini > session
> compression conguration parameter to TRUE. To enable network compression for a
specic connection, set the new SQLDBC or JDBC COMPRESS connection property to
TRUE.
Batch Routing Enhancement (changed)
Using a unique constraint, the indexserver can now order the client to use the optimal
statement route dened by the rst row of parameters in a batch, which guides the
entire batch of parameters without having to calculate the best route per row. This
new feature applies to both range partitioned and hash partitioned tables and is
implemented for SQLDBC-based drivers as well as the JDBC driver.
Behavior Changes
Parameter
Conversion
Previously, for JDBC and SQLDBC-based clients, the conversion of
parameter data types to the type used on the server was performed
the server side. Now, this conversion is performed on the client side.
If this conversion involves an inexact oating-point type, then the value
may be slightly dierent near the limits of the precision of the oating-
point type. For example, in the following statement, if a C DOUBLE
parameter is bound to an INSERT parameter for a VARCHAR(100)
column, (COL1 in the statement below), then the inserted value may
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 375
dier in the sixteenth digit, but is still the same when rounded to 15
signicant digits.
INSERT INTO MY_TABLE(COL1) VALUES(?);
Inexact oating-point client data types include DOUBLE and FLOAT.
Examples of inexact oating-point server data types include REAL,
DOUBLE, and FLOAT.
Node.js Driver Renamed
The name of the Node.js driver has changed to @sap/hana-client.
For example, previously you called require('hana'). Now you call require('@sap/
hana-client')
Related Information
SAP Note 2036111
8.6.3SAP HANA SQL Command Network Protocol Reference
(Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features, as documented in the SAP HANA SQL
Command Network Protocol Reference.
Terminology (changed)
The new I12 abbreviation has been added to describe 12-byte integers in little-endian format. The new I16
abbreviation describes 16-byte integers in little-endian format.
Input and Output Field Formats (changed)
The following new input and output eld formats have been added: BOOLEAN, FIXED8, FIXED 12, and FIXED16.
376
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
8.6.4SAP HANA SQLScript Reference (New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA SQLScript.
SQLScript Code Analyzer (New)
The SQLScript Code Analyzer consists of two built-in procedures that scan CREATE FUNCTION and CREATE
PROCEDURE statements and search for patterns indicating problems in code quality, security or performance.
Functionality for Avoiding Busy Waiting Times (New)
In some scenarios, you may need to let certain processes wait for a while (for example, when executing
repetitive tasks). The manual implementation of such waiting times leads to "busy waiting" and the
CPU performs unnecessary work during that time. To avoid this, SQLScript oers a built-in library
SYS.SQLSCRIPT_SYNC containing the procedures SLEEP_SECONDS and WAKEP_CONNECTION.
CREATE OR REPLACE (New)
When creating a SQLScript procedure or a function, you can use the OR REPLACE option to change that
procedure or function, if it already exists.
System Variable for Line Numbers (New)
SQLScript procedures, functions and triggers can now return the line number of the current statement by
means of the system variable ::CURRENT_LINE_NUMBER.
NOT NULL Constraint for Return Table Types (New)
You can now apply the NOT NULL constraint on columns in table types used in SQLScript.
Support for SELECT Statements in Explicit Parallel Blocks (New)
SELECT statements are now supported in explicit parallel blocks.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 377
Enhancement of the INSERT Operator on Table Variables (Changed)
With this enhancement you can insert the content of one table variable into another table variable with a single
operation without using SQL.
Encryption for Functions and Procedures (New)
When application developers want to secure their intellectual property, they can use the new SQLScript
encryption feature to hide procedure and function denitions from all users.
8.6.5SAP HANA Analytics Catalog (BIMC Views) Reference
(New and Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for SAP HANA Analytics Catalog (BIMC
Views).
Support for Null Values (New)
A new eld IS_NULLABLE has been added to the table BIMC_DIMENSION_VIEW to support NULL values.
View BIMC_DIMENSION_VIEW
8.6.6SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 02 introduces new and changed features for the Predictive Analysis Library (PAL).
General and Architectural Changes
In SPS 02, we provide new Type-Any interfaces to call PAL functions. The wrapper procedure generation is
no longer necessary for PAL functions. When the SAP HANA Application Function Library (AFL) component
is installed, all PAL functions will be pre-installed as store procedures in schema _SYS_AFL, and those
procedures can accept dierent input table types (as for example for various data inputs). For example,
there is only one k-means procedure and the user can pass a 10-feature table or 100-feature table to that
procedure and the procedure will automatically determine the output structure, including the column type and
the column name.
378
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
In SPS 02, the following new general procedure parameters are introduced:
THREAD_RATIO
Set an upper limit of thread usage in proportion to the currently available threads on the system, as
a accompanying approach to limit resource usage along with the SAP HANA Workload Management
capabilities. Further the parameter allows the users to enable multithreading in a convenient way.
DEPENDENT_VARIABLE
For all classication or regression algorithms, enable the user to explicitly set the dependent variable (i.e.
<Y>, <response>, …) by its column name instead of requiring it to be the last input column.
HAS_ID
Indicate if the input data's rst column is the ID column and should not be used as an input column for the
processing of the algorithm.
CATEGORICAL_VARIABLE
For all related PAL functions, allow the user to explicitly set an integer column as a “categorical” column by
column name in a string. By default with SAP HANA Platform 2.0 SPS 02, integer columns are considered
as a continuous column for all PAL functions.
New and Enhanced PAL Algorithms
In SPS 02, additions and changes apply in the following PAL algorithms:
Factor Analysis (New)
Factor Analysis is a statistical method that tries to extract a low number of unobserved variables, i.e.
factors, that can best describe the correlation pattern of a larger set of observed variables. Factor Analysis
can be used to reduce the dimension of the data as well as reveal the underlying relationships between the
observed variables. It is related to PCA, but they are not the same.
Factor Analysis
Multidimensional Scaling (MDS) (New)
This function serves as a tool for dimensional reduction or data visualization. It embeds the samples in
N-dimension in a lower P-dimension by applying the classic multi-dimensional scaling.
Multidimensional Scaling (MDS)
State enabled scoring functions (New)
The following algorithms now newly support to keep the parsed model in-memory and to enable faster
real-time predictions: LDA Inference, NBC, BPNN, decision tree, PCA projection, cluster assignment,
binning assignment, LDA project, LDA CLASSIFY, Posterior Scaling
State Enabled Real-Time Scoring Functions
Algorithm Enhancements:
Distribution Fitting (Enhanced)
Added support for Poisson distribution and Exponential distribution
Distribution Fitting
Random Distribution Sampling (Enhanced)
Added support for many univariate distributions, for example: Bernoulli, beta, binomial, Cauchy,
chi-squared, exponential, extreme value, Fisher’s F, geometric, lognormal, negative binomial, PERT,
“student’s t”.
Added a new function named DISTRRANDOMMVAR to support multivariate distribution: multinomial.
Added support for multithreading.
Random Distribution Sampling
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 379
KNN (Enhanced)
Added an additional output table, which returns k-nearest neighbors in the training data, and the
distances.
KNN
State enabled scoring functions (Enhanced)
The following new algorithms are supported: LDA Inference, NBC, BPNN, decision tree, PCA
projection, cluster assignment, binning assignment, LDA project, LDA CLASSIFY, Posterior Scaling.
State Enabled Real-Time Scoring Functions
Auto Exponential Smoothing (Enhanced)
Added seasonal mode detection for model selection
Automatically select damped model if the damped model returns a smaller measure error
Enabled user dened PHI value and range
Auto Exponential Smoothing
K-Means (Enhanced)
Added elbow method for “k determination”
Avoided duplicate initial centers when init method = 2|3
K-Means
Accelerated K-Means (Enhanced)
Added Hamerly's accelerate method
Enhanced the memory consumption model
Accelerated K-Means
Related Information
SAP HANA Predictive Analysis Library (PAL)
8.6.7SAP HANA External Machine Learning Library (New)
The SAP HANA External Machine Learning Library is a new application function library (AFL) introduced in
SAP HANA Platform 2.0 SPS 02 that supports the integration of Google TensorFlow, as an external machine
learning framework, with SAP HANA.
The External Machine Learning (EML) Library makes use of Google’s gRPC remote procedure call package.
These combined capabilities allow you to remotely invoke predened TensorFlow models, hosted on the
TensorFlow Serving server, through gRPC calls encapsulated inside AFL procedures.
The EML API provides the following features:
PREDICT function: The PREDICT function is wrapped using
SYS.AFLLANG_WRAPPER_PROCEDURE_CREATE, which exposes the given TensorFlow model within SAP
HANA and allows it to be invoked like a normal AFL function.
_SYS_AFL.EML_MODEL_CONFIGURATION table: The mappings of models to remote sources.
CHECKDESTINATION procedure: Validates that a model can be reached and has a valid serving state.
A set of privileges for EML development and administration tasks.
380
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
Related Information
SAP HANA External Machine Learning Library
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 02 Features
PUBLIC 381
9 SAP HANA Platform 2.0 SPS 01 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 01.
9.1 Installation and Update
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for installation and update.
Documentation Changes [page 382]
SAP HANA Platform 2.0 SPS 01 introduces changes to the documentation for SAP HANA installation
and update.
SAP HANA Server Installation and Update (New and Changed) [page 383]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the installation and update of
SAP HANA.
9.1.1Documentation Changes
SAP HANA Platform 2.0 SPS 01 introduces changes to the documentation for SAP HANA installation and
update.
SAP HANA Server Installation and Update Guide (Changed)
The SAP HANA Server Installation and Update Guide now includes a new section called Updating a Single-
Container System. This section contains information about the automatic migration of a single-container
system to a tenant database system with SAP HANA 2.0 SPS 01.
Related Information
Updating a Single-Container System
382
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
9.1.2SAP HANA Server Installation and Update (New and
Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the installation and update of SAP
HANA.
Installing and Updating an SAP HANA System (Changed)
As of SAP HANA 2.0 SPS 01, the multi-container database mode is the only database mode. By default, a
single tenant database is created during installation. The upgraded system will have one tenant database that
corresponds to the old single container. You can add additional tenant databases later using the SAP HANA
cockpit.
SAP HANA options hosts or host roles can be automatically provisioned to a system that is installed with a
single tenant. If the SAP HANA system contains multiple tenant databases, the SAP HANA options host or host
role must be manually provisioned to the tenant.
A single-container system will be automatically converted to a tenant database system during the update.
The database of a single-container system is converted into a system database and a tenant database. The
upgraded system will have one tenant database that corresponds to the old single container. A new user
(SYSTEM) is created in the system database (SYSTEMDB). During the update, a password has to be specied
for this user. The database superuser (SYSTEM) of the single-container system becomes the SYSTEM user
of the tenant database. You may have to adapt your operations concept to include the new system database.
Detailed information can be found in the new section Updating a Single-Container System in the SAP HANA
Tenant Databases Operations Guide or the SAP HANA Server Installation and Update Guide.
Related Information
Installing a Single-Host System
Updating a Single-Container System
2423367 - Multitenant database containers will become the standard and only operation mode
9.2 Security
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for security.
SAP HANA Database Security (New and Changed) [page 384]
SAP HANA Platform 2.0 SPS 01 introduces new and changed security-related features for the SAP
HANA database.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 383
9.2.1SAP HANA Database Security (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed security-related features for the SAP HANA
database.
Authorization and Authentication (New and Changed)
Data masking represents an additional layer of access control that can now be applied to SQL and
calculation views. A column mask protects sensitive or condential data in a particular column of a view
by transforming the data in such a way that it is rendered meaningless, while still appearing real and
consistent.
Mask expressions can be specied using constants or built-in functions directly in the view denition using
the CREATE VIEW or ALTER VIEW statements.
The ability to see unmasked data is controlled by the new object privilege UNMASKED.
It is now possible to reset the password of the SYSTEM user of a tenant database from the system database
using the ALTER DATABASE statement.
It is now possible to congure the password policy so that a minimum number of a particular character
type is required, for example, at least 3 digits.
You can congure the password layout in the SAP HANA cockpit (recommended) or in the
indexserver.ini conguration le with the parameter [password policy] password_layout. For
example, if passwords must contain at least 3 digits, you could specify the layout with the value a123A or
789fG.
Secure Communication (Changed)
Secure communication between SAP HANA and an LDAP server has been enhanced as follows:
CommonCryptoLib is now used to implement TLS-secured communication. OpenSSL is no longer
supported.
The trust store for secure communication must now be an in-database certicate collection with the
purpose LDAP.
The following system properties for conguring secure communication are now available in the ldap
section of the global.ini le:
sslMinProtocolVersion
sslMaxProtocolVersion
sslCipherSuites
timeout
The LDAP conguration le ldap.conf on the le system is no longer used.
See SAP Note 2438641.
The new parameter [communication] skip_in_memory_pse_store_for_purposes in the
global.ini conguration allows you to force the usage of personal security environments (PSEs) in the
le system instead of in-database certicate collections for specied purposes (for example, SAML-based
user authentication).
384
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Encryption
You can now enable the encryption of data and log backups. Backups are encrypted using the new backup
encryption root key, which is fully integrated into the existing encryption key management of SAP HANA.
Two new hdbuserstore commands have been added. The ADDFROMDIR command adds entries from
a store specied by the DIR parameter to the secure user store without overwriting existing keys. The
LISTFROMDIR command lists entries from a store in the store directory.
Security Administration with SAP HANA Cockpit (New and Changed)
The SAP HANA cockpit available with SAP HANA Platform 2.0 SPS 01 has a number of new and enhanced
features for security administration. For more information, see the section on SAP HANA cockpit.
Related Information
SAP HANA Data Masking
Reset the SYSTEM User Password in a Tenant Database
Password Policy Conguration Options
LDAP Group Authorization
Server-Side TLS/SSL Conguration Properties for External Communication (JDBC/ODBC)
Backup Encryption
SAP HANA Cockpit (New and Changed) [page 386]
SAP Note 2438641
9.3 Administration
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for administration.
Documentation Changes [page 386]
SAP HANA Platform 2.0 SPS 01 introduces new and changed documentation for SAP HANA
administration.
SAP HANA Cockpit (New and Changed) [page 386]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA cockpit.
SAP HANA System Administration (New and Changed) [page 395]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the administration of SAP
HANA.
SAP HANA High Availability (New and Changed) [page 397]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA high availability.
SAP HANA Database Backup and Recovery (New and Changed) [page 398]
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 385
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA backup and
recovery.
SAP HANA Application Lifecycle Management (New) [page 399]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features in SAP HANA application
lifecycle management.
SAP HANA Smart Data Access (New and Changed) [page 399]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Hadoop Integration (New and Changed) [page 401]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA Hadoop
integration and SAP HANA Spark controller.
9.3.1Documentation Changes
SAP HANA Platform 2.0 SPS 01 introduces new and changed documentation for SAP HANA administration.
SAP HANA Multitenant Database Containers Operations Guide (New and
Changed)
The SAP HANA Multitenant Database Containers Operations Guide has been renamed to SAP HANA Tenant
Databases Operations Guide.
The SAP HANA Tenant Databases Operations Guide now includes a new section called Updating a Single-
Container System. This section contains information about the automatic migration of a single-container
system to a tenant database system with SAP HANA 2.0 SPS 01.
Related Information
Updating a Single-Container System
2423367 - Multitenant database containers will become the standard and only operation mode
9.3.2SAP HANA Cockpit (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA cockpit.
SAP HANA cockpit support package (SP) 02 is now availabe. SP 02 also contains features that were made
available with SP 01, which was released after SAP HANA Platform 2.0 SPS 00.
386
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
About SAP HANA Cockpit SPs
SAP HANA cockpit SPs are available independently of the SAP HANA 2.0 platform revision, but may be
included as part of SAP HANA platform revisions.
SAP HANA Cockpit SP Release Note
Included in SAP HANA Platform 2.0
Revision
00
SAP Note 2380291
Included with revision 2.00.000
01
SAP Note 2414668
-
02
SAP Note 2433764
Included with revision 2.00.010
SAP HANA cockpit SPs are cumulative. This means that a higher SP includes all features and xes available in
earlier SPs.
SAP HANA Cockpit SP 02 Features [page 387]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 02.
SAP HANA Cockpit SP 01 Features [page 392]
Find out about the new and changed features introduced with the SAP HANA cockpit SP 01.
Related Information
SAP HANA Cockpit
9.3.2.1 SAP HANA Cockpit SP 02 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 02.
Administration and Monitoring [page 388]
SAP HANA cockpit SP 02 introduces new and changed features for system administration and
monitoring.
SAP HANA Database Explorer [page 389]
SAP HANA cockpit SP 02 introduces new and changed features for SAP HANA database explorer.
Performance Monitoring and Analysis [page 391]
SAP HANA cockpit SP 02 introduces new and changed features for performance monitoring and
analysis.
Security Administration [page 391]
SAP HANA cockpit SP 02 introduces new and changed features for security administration.
High Availability [page 392]
SAP HANA cockpit SP 02 introduces new and changed features for high availability.
Backup and Recovery [page 392]
SAP HANA cockpit SP 02 introduces new and changed features for backup and recovery.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 387
9.3.2.1.1 Administration and Monitoring
SAP HANA cockpit SP 02 introduces new and changed features for system administration and monitoring.
Multi-container Database Mode (Changed)
You can use the cockpit to monitor and manage multiple systems, each running version SAP HANA 1.0 SPS 12,
or later. For all SAP HANA 2.0 SPS 01 systems, the multi-container database mode is the only database mode.
However, the cockpit can also monitor single-container systems running earlier versions of SAP HANA.
Add and Remove Services for Tenant Databases (Changed)
You can now use the cockpit to modify the built-in services of an existing tenant database. You can do this
through the Manage Services app, which you will need to access by drilling down from the system database,
rather than through the tenant itself.
Cockpit User Roles (New)
There are now three roles for cockpit users, which the COCKPIT_ADMIN user can assign through the cockpit
manager conguration tool. Each cockpit user must be assigned at least one cockpit role, which will govern
what portions of the cockpit or the cockpit manager they can acccess. (Cockpit roles are unrelated to the roles
assigned to database users which govern which SAP HANA privileges belong to that database user).
Cockpit Role
Permits access to
Cockpit Administrator The Manage Users and Cockpit Settings sections of the
Cockpit Manager. This role is assigned automatically to the
COCKPIT_ADMIN user, created during the installation proc-
ess, and cannot be revoked.
Cockpit Resource Administrator The Registered Resource and Resource Groups sections of
the Cockpit Manager, where they can register resources, cre-
ate resource groups, and assign cockpit users to resource
groups.
Cockpit User
The SAP HANA cockpit, where they can view all resources in
any assigned resource groups.
A user who has only the Cockpit User role, will not be able to access the Cockpit Manager. Conversely, a
user who has only the Cockpit Resource Administrator or the Cockpit Administrator role will not
be able to access the cockpit.
388
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Single Sign-On (SSO) (New)
Cockpit resource administrators now have the option to enable or enforce SSO for a specic resource. You can
edit this and other settings for the resource through the Cockpit Manager conguration tool. If you enforce
SSO, cockpit users must use SSO to access the resource. If you enable SSO, but do not enforce it, cockpit
users can choose whether to access this resource with SSO or to enter alternate database user credentials.
Memory Analysis (Changed)
Analyze Memory Allocation Statistics has been redesigned and enhanced as Memory Analysis. This application,
which you access by drilling down through Manage Services, enables you to visualize and explore the memory
allocation of every service of a selected host during a specied time range. If you notice an increase in overall
memory usage, you can investigate whether it's due to a particular component, subcomponent, or table.
Host Failover (New)
For multi-host systems, you can now use the cockpit to congure host auto-failover so that if an active host
fails, standby hosts take over to ensure the continued availability of the database. You can monitor the status
of individual hosts and switch the congured roles of hosts; you cannot increase or decrease the number of
worker hosts and standby hosts in relation to each other.
9.3.2.1.2 SAP HANA Database Explorer
SAP HANA cockpit SP 02 introduces new and changed features for SAP HANA database explorer.
Database Browser Enhancements
Database
Object Editor
Enhancements
Database object editors have been added for nearly all database objects and can be used
to view, lter, and search for all objects of a specic type. Database object editors can
be accessed by right-clicking the database object in the database browser and clicking
Show <database-object>, for example, Show Tables. Improvements have also been
made to the database object editors to ensure that they look and behave consistently.
Data Preview
Enhancements
The data preview now has two tabs, the Raw Data tab that shows the current data
preview result in table format, and the Analysis Tab that provides the option to limit the
result data to the subset of columns selected by the user and represents the result data
in graphical format. The data preview can be accessed for columns, tables, and views by
right-clicking the object in the database browser and clicking Open Data.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 389
MDX Console Enhancements
Improvements have been made to the MDX console to make it easier to create MDX queries. New features
include the ability to search for MDX objects in the Object Search and the ability to look up MDX syntax
elements in the API reference.
SQL Console Enhancements
A new administrative SQL console is available for HDI administrators to grant privileges on the container's
target schema to other users. Access the administrative console by right-clicking the HDI container in the
database browser and clicking Open SQL Console (Admin).
Tracing Enhancements
View Diagnostic Files for
Oine Cockpit Resources
The new Host Diagnostic Files folder contains diagnostic les for cockpit
resources that are either online or oine and contains all diagnostic les that
have been congured for the SAP Host Agent.
Support for Tracing
Conguration
Database explorer now supports database tracing, SQL tracing, user-specic
tracing, and end-to-end tracing. These traces are congurable in their respective
tracing editors in the database explorer.
Connection Enhancements
Support for User-
dened HDI Containers
When adding an HDI container to the database explorer, user-dened containers
now appear in the drop-down list of available HDI containers.
Support for HDI-
containers Contained in
Instance Managers
When adding a database to the database explorer, the Database type drop-down list
now oers the Application Managed Service Instances option, which allows you to
add an HDI container that is contained in an instance manager.
Support for Advanced
Connection Options
When adding an HDI container or database, the Add Database editor now contains
the Advanced Options eld, which allows you to specify advanced connection
options, such as encryption options and isolation levels. The new CLIENT option
has also been added, which allows you to set the session client for the connection.
390 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
9.3.2.1.3 Performance Monitoring and Analysis
SAP HANA cockpit SP 02 introduces new and changed features for performance monitoring and analysis.
SQL Analyzer
The SQL analyzer oers the following functionalities:
It is now possible to generate a graphical view of the plan to help you understand and analyze the execution
plan of an SQL statement.
It is now possible to have a complete overview of the execution plan based on the visualization of
sequential time-stamps in the timeline view.
It is now possible to view detailed information of operators using the detailed properties view.
Capture and Replay
The Capture and Replay oers the following functionalities:
In the Comparison Report it is now possible to view statement details by clicking the bar chart displayed in
the report.
In the Comparison Report it is now possible to export replay reports to PDF.
Manage Statement Hints
The Manage statement hints allows you to add statement hints to an SQL statement without modifying the
actual statement in the application.
9.3.2.1.4 Security Administration
SAP HANA cockpit SP 02 introduces new and changed features for security administration.
Database User Management
When creating or changing a database user, you can now congure JSON Web token (JWT) as an
authentication mechanism.
When conguring the password policy for the SAP HANA database, you can now enforce the use of a
specic number of a particular character type, for example, two digits, three special characters.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 391
Database Role Management
You can now view the details of all roles available in the SAP HANA database on the new Role page. You can also
create, change, and drop catalog roles.
To access the Role page, choose the Manage roles link on the overview page of the system.
9.3.2.1.5 High Availability
SAP HANA cockpit SP 02 introduces new and changed features for high availability.
Conguring System Replication
It is possible to congure system replication only from the primary system. If the conguration was interrupted,
it is possible to continue starting from the last successful step.
9.3.2.1.6 Backup and Recovery
SAP HANA cockpit SP 02 introduces new and changed features for backup and recovery.
SAP HANA cockpit now allows you to perform the following tasks:
Recover single-tenant SAP HANA systems from a storage snapshot.
Display the backup encryption status information.
9.3.2.2 SAP HANA Cockpit SP 01 Features
Find out about the new and changed features introduced with the SAP HANA cockpit SP 01.
Administration and Monitoring [page 393]
SAP HANA cockpit SP 01 introduces new and changed features for system administration and
monitoring.
Performance Monitoring and Analysis [page 393]
SAP HANA cockpit SP 01 introduces new and changed features for performance monitoring and
analysis.
Security Administration [page 394]
SAP HANA cockpit SP 01 introduces new and changed features for security administration.
High Availability [page 394]
SAP HANA cockpit SP 01 introduces new and changed features for high availability.
Backup and Recovery [page 395]
392
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
SAP HANA cockpit SP 01 introduces new and changed features for backup and recovery.
9.3.2.2.1 Administration and Monitoring
SAP HANA cockpit SP 01 introduces new and changed features for system administration and monitoring.
License Management
You can now view the details, including memory usage data, of all licenses installed in your SAP HANA system
on the new License page. Here, you can also perform the following tasks:
Request and install a new permanent license key
Delete permanent license keys
Export memory usage data for license auditing purposes
To access the License page, choose the Manage licenses link on the overview page of the database.
9.3.2.2.2 Performance Monitoring and Analysis
SAP HANA cockpit SP 01 introduces new and changed features for performance monitoring and analysis.
Performance Monitor
The Performance Monitor oers the following functionalities:
It is now possible to dene the monitored timeframe by manual entry.
By using the Add Chart button, it is now possible to create custom charts displaying the host and services
selection, as well as selected KPIs.
In the Settings menu, it is possible to congure Alerts according to category and priority status, and to
customize your graphs by including hosts and services, as well as additional KPIs.
Customized user parameters are now saved for the next logon.
Capture and Replay
When replaying preprocessed workloads, it is now possible to turn the Transactional Replay on or o on the
Replay Conguration page. When the Transactional Replay is on, the Comparison Report displays a report on
the results comparison. When the Transactional Replay is o, the Comparison Report displays a report on the
runtime comparison.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 393
Workload Analyzer
The workload analyzer based on engine instrumentation oers the following functionalities:
It is now possible to start the tracing process from the Workload List page by clicking Start Trace on the
bottom right.
After starting the tracing process it is possible to turn on the Collect Performance Details, CPU
Consumption, and the Memory Consumption options. These statement-level statistics will be displayed
in the timeline view.
The workload analyzer based on thread samples oers the following functionalities:
It now displays the number of thread samples next to each legend in the area chart on the lower part of the
screen.
When customizing the information displayed on the load graph on the upper part of the screen it is now
possible to choose all available services from the host and services combo box. Previously, it was possible
to select only index server services.
9.3.2.2.3 Security Administration
SAP HANA cockpit SP 01 introduces new and changed features for security administration.
Database User Management
It is now possible to convert a standard database user to a restricted database user and vice versa. New
options on the User page allow you grant (or revoke) the PUBLIC role and grant (or revoke) authorization to
create objects in the user's own schema.
9.3.2.2.4 High Availability
SAP HANA cockpit SP 01 introduces new and changed features for high availability.
Retention Time Estimation
For the operation modes logreplay and logreplay_readaccess, it is now possible to view a retention
time estimation on the System Replication Overview. The Estimated log retention time is an estimation of the
time left before the primary system starts to overwrite the RetainedFree marked log segments and a full data
shipping becomes necessary to get the primary and the secondary systems back in sync after a disconnect
situation. The Estimated log full time is an estimation of the time left before the primary system runs into a log
full. The value displayed in the header shows the situation into which the system could run rst: log retention or
log full.
394
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
The estimated log retention time as well as the estimated log full time for all system replication relevant
services are displayed in the Log Replay tab.
Network Speed Check
It is now possible to measure the network speed of the system replication host-to-host network channel
mappings using the Network Speed Check tab on the System Replication Overview.
9.3.2.2.5 Backup and Recovery
SAP HANA cockpit SP 01 introduces new and changed features for backup and recovery.
SAP HANA cockpit now allows you to perform the following tasks:
Back up tenant databases from the system database.
Recover tenant databases from the system database.
A database can be recovered to its most recent state or to a specic point in time.
Data backups can be scheduled through the tenant database.
From the system database, view the backup history and details in the backup catalog for tenant databases.
9.3.3SAP HANA System Administration (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the administration of SAP HANA.
JSON Document Store (New)
The SAP HANA Document Store (often referred to as 'DocStore') is a store for JSON artifacts and allows native
operations on JSON including ltering, aggregation, and joining JSON documents with HANA column or row
store tables. JSON documents (JavaScript Object Notation) are stored in collections, these appear to users like
tables and users can read data from tables and collections in a single statement and can combine tables and
collections by joining as with any other column or row store table.
The Document Store is an optional feature of the SAP HANA database which you have to create for each tenant
database.
Dynamic Result Cache (New)
Result caching may be used to improve the performance of queries which are frequently executed. In
comparison to the static result cache, a dynamic result cache eliminates the risk of querying stale data and will
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 395
always return transactionally consistent data. The dynamic result cache can dramatically improve performance
in situations which involve intensive parallel querying of large tables and extensive use of aggregation. The
dynamic result cache guarantees up to date results by rstly incrementally updating the cache with delta
records of newly changed data and then returning the query result from the cache.
Workload Management (Changed)
Changed features in the area of workload management include the following:
Event Details for Admission Control: Additional conguration parameters to manage queued transactions
and a monitoring view (M_ADMISSION_CONTROL_EVENTS) to provide information about why a statement
was queued have been introduced in this release to extend the functionality of Admission Control.
Hint for Workload Classes: A workload class hint has been introduced so that administrators can apply an
alternative workload class at the time when the query is executed.
Statistics Server (Changed)
The statistics server is the component of the SAP HANA database that provides internal monitoring functions.
It continuously collects information about system status, performance, and resource usage, and issues alerts
in the event of problems.
As of SAP HANA 1.0 SPS 07, it was possible to switch to the embedded statistics service, which is an alternative
implementation of the statistics server.
An SAP HANA system that is still running the statistics server is automatically migrated to use the embedded
statistics service after an upgrade to SAP HANA 2.0 SPS 01. This change only aects single-container systems.
New SAP HANA HDBSQL Options (Changed)
The following new options have been added to modify the operation of SAP HANA hdbsql commands:
The new -fn option returns all SQL statements that are sent to the database instance and formats them
with numbered lines. Numbered lines make it easier to determine on which le line a potential error has
occurred.
The new –batchreset option species a reset command (for example, <reset>), which tells SAP HANA
HDBSQL to ignore the most recent query sent to the server. In order to specify batchreset, you must also
set the -separatorownline option. The reset command should not be an SQL statement or a separator.
Setting -batchreset on the same line as the separator command results in an error because it is not a valid
query.
396
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Related Information
The JSON Document Store
Dynamic Result Cache
Workload Management
The Statistics Service
9.3.4SAP HANA High Availability (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA high availability.
srServiceChange Hook (New)
The srServiceStateChanged() hook allows monitoring state changes of the SAP HANA services.
This allows to trigger a takeover to the secondary system rather than a long lasting indexserver restart.
Data Shipping Parallelization (New)
A more performant initialization through data shipping via multiple network connections is now possible.
The datashipping_parallel_channels parameter denes the number of network channels used by full or
delta datashipping. The actual number of channels for each shipping can be adjusted by the system to reduce
overhead depending on the current amount of data to be shipped.
Related Information
High Availability for SAP HANA
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 397
9.3.5SAP HANA Database Backup and Recovery (New and
Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA backup and recovery.
Backup Encryption (New)
SAP HANA supports native backup encryption.
For more information:
Points to Note: SAP HANA Backup Encryption in the SAP HANA Administration Guide (SAP HANA Database
Backup and Recovery)
Backup Encryption and Encryption Key Management in the SAP HANA Security Guide
ALTER SYSTEM BACKUP ENCRYPTION Statement (System Management) in the SAP HANA SQL and
System Views Reference
Support for Third-Party Backup Tools (New)
It is now possible to copy a database by recovering it from backups created using a third-party tool:
A tenant database can be copied using backups created with a third-party tool.
A single-container system can be recovered to a tenant database using backups created with a third-party
tool.
Recovery From Storage Snapshots (New)
It is now possible to create a storage snapshot for a single-tenant system.
To create a storage snapshot, you need to use native SQL.
To recover SAP HANA from a storage snapshot, you need to recover the system database and the tenant
database separately.
For more information, see Storage Snapshots in the SAP HANA Administration Guide (SAP HANA Database
Backup and Recovery).
Enhancement for Tenant Databases (Changed)
It is now possible to add or remove a service without breaking the backup history.
398
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
This means that it is now possible to recover an SAP HANA database using backups that were created before a
topology change was made to recover to a point in time after the topology was changed.
After adding or removing a service, it is no longer necessary to create a full data backup.
9.3.6SAP HANA Application Lifecycle Management (New)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features in SAP HANA application lifecycle
management.
The new graphical user interface XSA Application Lifecycle Management is available. It can be used for the
installation, update, and uninstallation of products and software components in SAP HANA XS advanced model
and represents an alternative to the XS advanced command line interface.
Related Information
Installing and Updating Using the XS Advanced Application Lifecycle Management Graphical User Interface
9.3.7SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA smart data access.
Linked Database (New)
Linked database allows DML queries on remote data sources without the need to rst create virtual tables.
Linked database uses a three-part namespace to directly identify the remote database, schema, and table
name. This makes ad-hoc queries against remote sources convenient.
Support for Three-part Namespace (Changed)
The following SQL statements now support three-part namespace, required for the linked database feature:
CREATE/ALTER/DROP/REFRESH STATISTICS Statement
CREATE SYNONYM Statement
DELETE Statement
INSERT Statement
SELECT Statement
REPLACE | UPSERT Statement
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 399
TRUNCATE Statement
UPDATE Statement
LINKED DATABASE System Privilege (New)
LINKED DATABASE is a new source privilege to support the linked database feature.
Drop and Refresh Metadata for Linked Database (New)
When the metadata in a remote table changes, use the ALTER REMOTE SOURCE statement to refresh the
linked object to reect the change. The ALTER REMOTE SOURCE statement can also be used to perform
housekeeping of the internally generated virtual tables.
REMOTE_SOURCES System View (Changed)
A new linked database column was added to indicate if the linked database feature is supported for the remote
source.
New Section Added to indexserver.ini le
A new section named linked_database was added to the indexserver.ini le. It contains the parameter
linked_database_cleanup_interval, which species the interval in seconds to wake up the job that
performs linked object housekeeping tasks.
EXPORT/IMPORT Virtual Tables (Changed)
The IMPORT statement now supports the ability to transport some or all of the existing virtual tables in the
source system to a new system. You can specify a new schema or database name during the process. You
can also use this statement with a loopback remote source to reproduce a virtual table workow in a local
environment for troubleshooting purposes.
400
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
9.3.8SAP HANA Hadoop Integration (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for SAP HANA Hadoop integration and
SAP HANA Spark controller.
Proxy Server Parameters
SAP HANA Spark controller facilitates parallel data transfer between SAP HANA and Spark controller executor
nodes, which requires the port range of 56000 to 58000 to remain open in environments where there is rewall
between SAP HANA and Hadoop. However, keeping this port range open can be a security risk. Spark controller
has introduced the sap.hana.p2p.transfer.enabled conguration parameter, which, when disabled, can
be used to stream the data through a single port. This allows for stricter monitoring for security related issues.
Some Hadoop congurations require the proxy server to be positioned in-between SAP HANA and Spark
controller. In this type of conguration, the sap.hana.p2p.transfer.enabled parameter can be used to
congure Spark controller to work in single-channel data streaming mode to enable communication through
the proxy server.
Support for Parcels Binary Distribution Format
When installing SAP HANA Spark controller with Cloudera Manager, you need to use the parcels binary
distribution format rather than packages. Parcels oer several advantages over packages, including single
object installation and third party support for parcels.
With parcels, the path to the CDH libraries is now /opt/cloudera/parcels/CDH/lib instead of /usr/lib.
Additional Data Format Support
The new conguration parameter sap.hana.es.data.format allows you to specify the data storage format
when moving data to Hadoop. The following values can be specied: parquet, orc, or auto. The default is
auto.
Support for RedHat 7
Set up of SAP HANA Spark controller using the Cloudera Manager on Red Hat Enterprise Linux 7 is now
supported.
For more information, see SAP HANA Spark Controller
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 401
9.4 Development
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for development.
SAP HANA XS Advanced Development (New and Changed) [page 402]
For SAP HANA Platform 2.0 SPS 01 SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
Search, Text Analysis, and Text Mining [page 408]
SAP HANA 2.0 SPS 01 introduces new and changed features for search, text analysis, and text mining.
SAP HANA Graph (New and Changed) [page 412]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the administration of SAP
HANA Graph.
Hierarchy Functions (New and Changed) [page 412]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for hierarchy functions.
SAP Enterprise Architecture Designer, Edition for SAP HANA, edition for SAP HANA (New and Changed)
[page 413]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features in SAP Enterprise Architecture
Designer, Edition for SAP HANA, edition for SAP HANA.
SAP Web IDE for SAP HANA (New and Changed) [page 413]
SAP HANA Platform 2.0 SP01 introduces new and changed features in SAP Web IDE and integrated
SAP HANA tools.
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed) [page 420]
SAP HANA Platform 2.0 SPS 01 introduces new features in SAP HANA Interactive Education (SHINE)
for XS Advanced - demo content delivered as a package with sample data and design-time developer
objects that makes it easy to learn how to build applications on SAP HANA Extended Application
Services Advanced Model.
9.4.1SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 01 SAP HANA supports development and deployment of SAP HANA extended
application services (XS) advanced model applications.
Application Run-Time Environment
SAP HANA XS advanced provides the following run-time environments for your application:
JavaScript/Node.js
JavaScript run time to which you can deploy your Node.js and XS JavaScript applications.
402
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Note
The XS JavaScript (XSJS) run time is a compatibility layer that runs on top of Node.js, which enables
you to execute your existing code base, for example, .xsjs and .xsjslib les.
Java (Tomcat 8/TomEE)
SAP HANA XS advanced model provides a Java run time to which you can deploy your Java applications.
The Java run time for SAP HANA XS advanced provides a Tomcat or TomEE run time to deploy your Java
code.
Custom run time
You can also create and run a custom run-time environment of your own in XS advanced, so that you can
deploy applications written using languages such as Python or PHP, which are not supported by any of the
default run-time environments included in the XS advanced run-time store.
Restriction
SAP does not provide support for custom language, buildpack, or run-time scenarios.
Applications deployed to a custom run-time environment in XS advanced do not have automatic access
to (or use of) some important features that are built into and supported by the XS advanced framework,
including (but not limited to): authentication and security, logging and auditing, and connections to the
database. If you deploy an application to a custom run-time environment in XS advanced, you must
congure these components manually for the custom application
JavaScript Run Time
SAP HANA XS advanced provides the following updates and new features for the SAP HANA Platform 2.0 SPS
01 JavaScript run-time environment:
@sap/hdbext
The names of all packages in XS_JAVASCRIPT have been changed names; new package names start with
the “@sap/”, for example, sap-hdbext is now @sap/hdbext.
Java Run Time
SAP HANA XS advanced provides the following updates and new features for the SAP HANA Platform 2.0 SPS
01 Java run-time environment:
Provides the XS_JAVA archive, which includes a selection of client Java libraries for SAP HANA XS
advanced.
Support for Apache Tomcat 8.5.x
Application Router
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for the Node.js application router (approuter.js):
Routes are matched by both URL path and HTTP methods
The following new environment variables are available for advanced conguration of the application router:
<COMPRESSION>
Congures the compression level
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 403
<SECURE_SESSION_COOKIE>
Enforces the secure ag of the application router's session cookie
<REQUEST_TRACE>
Enable enhanced request tracing
Additional checks for regular expressions during startup of the application router
Support for custom error pages (errorPage) in the application descriptor (xs-app.json). You can use
this parameter to specify the les containing the custom page to display for various, standard HTTP
status-codes, for example: 400, 404, 500.
Extended and improved support for sizing
Support for PATCH HTTP method (httpMethods) in the application descriptor conguration.
Improved extensions support for the application router
Previous component name in SAP Passport has been changed to “XSA Approuter
Deployment Service
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for the deployment service, for example, in the deployment descriptor (mtad.yaml) and the XS CLI command
xs deploy):
Support for Zero DownTime Maintenance (ZDM) for XS advanced applications with HDI
CTS+ Integration allows the deployment of multiple MTAs
Disallow cross-MTA conguration visibility without explicit target organization or space in the MTA
specication
New and updated MTA module and resource types
Renamed XS CLI plug-in option used to specify a target URL for a deployment service end-point from -h to
-u, for example:
xs deploy [-i <OPERATION_ID>] [-a <ACTION>] [-u <URL>]
Renamed the option “TARGET_PLATFORM” to “DEPLOY_TARGET”, for example, in the XS CLI commands,
deploy or bg-deploy, etc.
Renamed all target-platform* commands to deploy-target*, for example, deploy-target,
create-deploy-target, update-deploy-target, and delete-deploy-target
Update module and resource parameters
New “plural” parameters to enable the specication of multiple values, for example: hosts, domains,
ports
Support for the no-start option when pushing and deploying applications to the XS advanced
run-time environment
Support for tasks in the modules section
404
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
SAP HANA Deployment Infrastructure
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for SAP HANA Deployment Infrastructure (HDI):
HDI Conguration Parameter Reference
HDI Parameter Reference
HDI Build Plug-ins and File Formats Reference 2.0
HDI Admin Documentation
HDI Deployer
Core Data Services
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for Core Data Services (CDS):
CDS Views can now be enhanced with parameters
Multiple top level artifacts are allowed in a single CDS document
Enhancements for query features
JSON Document Store (New)
The SAP HANA Document Store (DocStore) is a place where applications can collect JSON documents, that
is; les with content that is formatted according to the rules dened in the JavaScript Object Notation. The
DocStore allows the creation and maintenance of JSON collections as well as native operations on JSON
documents, for example: ltering and aggregation, and joins with SAP HANA column- or row-store tables.
The DocStore is an optional feature of the SAP HANA database which you have to create for each tenant
database.
XMLA Services
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for XMLA services:
An XML for Analysis (XMLA) application running in SAP HANA application services (SAP HANA XS) is
used to provide the consumption model for client applications exchanging MDX queries (wrapped in XMLA
documents) with the SAP HANA database.
The XMLA service is dened by deploying the Node.js application xmla.
Note
XS advanced supports XMLA version 1.1.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 405
XS Advanced Command-Line Interface
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for the XS command-line interface:
Numerous improvements and additions to the parameters and options already available with existing
commands
User administration
New options for updating role collections, update-role-collection, for example, to assign, reassign,
or change roles.
XS application tasks
Maintain and manage application-related tasks in the XS advanced run-time environment, for example: list
all tasks (xs tasks), run tasks (xs run-task), and cancel tasks (xs cancel-task).
Renamed XS CLI plug-in option used to specify a target URL for a deployment service end-point from -u to
-h, for example,
xs deploy [-i <OPERATION_ID>] [-a <ACTION>] [-h <URL>]
xs deploy [-i <OPERATION_ID>] [-a <ACTION>] [-h <SERVICE_ENDPOINT>]
Renamed the option “TARGET_PLATFORM” to “DEPLOY_TARGET”, for example, in the XS CLI commands,
deploy or bg-deploy, etc.
Renamed all target-platform* commands to deploy-target*, for example, deploy-target,
create-deploy-target, update-deploy-target, and delete-deploy-target
OData Services
For SAP HANA Platform 2.0 SPS 01, SAP HANA XS advanced provides the following updates and new features
for the OData services:
Support in the JavaScript runtime for annotations in metadata
Documentation
This section contains information about the following new or changed development-related documents:
SAP HANA Developer Information Map for SAP HANA XS advanced model
SAP HANA Developer Guide for SAP HANA XS advanced model
SAP HANA XS Migration Guide
SAP HANA Developer Guide for SAP HANA XS Advanced Model
The SAP HANA Developer Guide for SAP HANA XS advanced model describes the recommended process
to follow when building and deploy applications that run in the SAP HANA extended application services,
advanced model (XS advanced) run time; it also describes the required technical structure of applications that
can be deployed to the XS advanced run-time platform using either the SAP Web IDE for SAP HANA or the XS
command line tools.
406
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
The following areas in the SAP HANA Developer Guide for XS advanced model have been added, updated, or
improved:
Getting Started
New and updated tutorials for the SAP HANA Run time Tools (a.k.a SAP HANA Database Explorer)
Maintaining Application Development and Deployment Descriptors
Improved and more comprehensive descriptions of the conguration les used to dene and describe the
build and deployment of a Multi-Target Application (MTA)
Dening the Data Model in XS Advanced
Maintaining JSON Collections in the SAP HANA Document Store
Using Synonyms to Access External Schemas and Objects in XS Advanced
Dening OData Services for XS Advanced Applications
Improved and more comprehensive explanations of how to create and deploy OData services in XS
advanced, for example: changes and additions to the service-denition syntax and many some examples of
working service denitions.
Writing the XS Advanced Application Code
JavaScript/Node.js Run-Time Environment
Improved and more comprehensive explanations of how to make use of the features available in
the JavaScript/Node.js run-time environments, for example, which Node.js packages are available by
default and how you can consume them with your MTA. There is also some new information about the
unit-test framework, which you can use from within SAP Web IDE for SAP HANA.
Java Run-Time Environment
Improved and more comprehensive explanations of how to make use of the features available in the
Java run-time environments, for example, how to set up connections to the SAP HANA database,
how to congure logging and tracing, how to set up audit logs, how to congure authentication and
authorization, how to debug your Java application, and how to enable Java Data Services (a native Java
client for using Core Data Services functionality in the XS advanced Java run time).
Maintaining XS Advanced Application Routes and Destinations
Improvements to and extension of existing information as well as new information about features and
functionality added with SAP HANA Platform 2.0 SPS 01.
SAP Web IDE
A complete reference for SAP Web IDE for SAP HANA, a browser-based integrated development
environment (IDE) for the development of SAP-HANA-based applications comprised of web-based or
mobile UIs, business logic, and extensive SAP HANA data models. SAP Web IDE works in conjunction with
the SAP HANA Run-time Tools (HRTT), the SAP HANA deployment infrastructure (HDI), the Application
Lifecycle Management tools (ALM) and the XS advanced run-time platform
HDI Artifact Types and Build Plug-ins Reference
Improvements and additions to the list of available plugins providing support for a wide variety of database
artifacts types, for example, .hdbcollection (JSON collections for the SAP HANA DocStore).
XS Command-Line Interface
Numerous improvements and additions to the parameters and options already available with existing
commands as well as important additions to the installation and deployment functions including more
control of the application version deployed and the services bound to the deployed application.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 407
9.4.2Search, Text Analysis, and Text Mining
SAP HANA 2.0 SPS 01 introduces new and changed features for search, text analysis, and text mining.
9.4.2.1 Search (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for search.
The following list contains features for use with built-in procedures sys.esh_search() and
sys.esh_config() and for use in search models created with CDS.
Support for Spatial Datatypes
It is now possible to dene lters on the spatial data types ST_POINT and ST_GEOMETRY.
Columns of SQL type ST_POINT and ST_GEOMETRY are returned in GeoJSON format. GeoJSON is a geospatial
data interchange format based on JavaScript Object Notation (JSON).
The attribute conditions :WITHIN:, :COVERED_BY: and :INTERSECTS: are available and are internally
mapped to the SQL functions ST_Within, ST_CoveredBy, and ST_Intersects.
Facets
With this release, spatial facets for ST_POINT columns are supported. They are calculated using the grid-based
aggregation functions of SAP HANA.
In addition, you can use the new annotation
@EnterpriseSearch.filteringFacet.caseInsensitiveAggregation. If set to true, a case-
insensitive aggregation of facet values is done. If not given or set to false, the default aggregation is case-
sensitive.
Dynamic Search Congurations
Some applications dene their own persistence to store search congurations. Other applications dene
varying congurations that depend on, for example, the user settings or other parameters. For the above
use cases, sys.esh_search() allows the denition of dynamic search congurations at runtime. If a search
conguration is passed to sys.esh_search(), all search congurations already stored in the SAP HANA
conguration tables are ignored.
408
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
New Numeric Ranking Weights
With this release, the new annotation @EnterpriseSearchHana.weight is always returned instead of
@Search.ranking. 'HIGH', 'MEDIUM', and 'LOW' are returned as their numeric values ('HIGH' = 1.0, 'MEDIUM' =
0.7, and 'LOW' = 0.5).
Built-In Procedure sys.esh_cong() and CDS
Note the following new features for built-in procedure sys.esh_config():
The new annotation @EnterpriseSearch.filteringFacet replaces the use of mode AUTO_FACET.
The new annotation @EnterpriseSearch.defaultValueSuggestElement replaces usage mode
SUGGESTION.
There is the new annotation @EnterpriseSearchHana.identifier to dene the OData identier of a
view.
There is the new annotation @EnterpriseSearchHana.uiResource.label to dene resource bundles
and resource keys, used by the search UI to get label texts.
Built-In Procedure sys.esh_search()
Note the following new features for built-In procedure sys.esh_search():
Interval facets are available on numeric columns.
Search results are written to a database table.
The user language can be used as an input parameter.
The query language, for performance optimizations, allows the separation of search terms and lter
conditions used for authorization checks, boosting, and other features.
It is now possible to limit search and metadata requests to one database schema.
Fuzzy Search
With this release, a set of new score functions for numeric and date types are available. For DATE columns are
functions for linear and Gaussian scores available, for NUMERIC columns linear, Gaussian, logarithmic.
Related Information
Dynamic Search Congurations
Spatial Data
Facets for Numeric and NUMC Columns
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 409
Facets for Date and Timestamp Columns
Spatial Facets for ST_POINT Columns
DATE Columns with Score Functions
Fuzzy Search on Numeric Columns
9.4.2.2 Text Analysis (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for text analysis.
Web IDE Extensions for Text Analysis
SAP Web IDE returns the line number of any errors that exist in your custom text analysis dictionaries, rules,
and conguration settings. These errors appear in the Problem View in the Web IDE after building your custom
TA resources. Clicking on an error opens the TA object and places the cursor on the line containing the error.
In addition, many improvements have been made to the error messages to make them clearer and more useful.
Users can locate and repair errors in their custom text analysis dictionaries and rules faster and with less eort.
See chapter Managing Custom Text Analysis Congurations with XS Advanced inside the SAP HANA Text
Analysis Developer Guide for details.
Improved Linguistic Analysis in Korean
Numerous incremental changes to Korean increase the accuracy of full text search and text analysis when
processing Korean text.
Stemming improvements in Linguistic Analysis:
Numerical tokens: Before: 11 Now: 11#
Compound nouns: Before: 전문회사 Now: 전문#회사
More granular part-of-speech tags:
Addition of PoS tags for numerical tokens: Num-Day, Num-Month, Num-Year, Num-Meas, Num-Time,
Num-Floor, Num-Money, Num-Percent, Num-Phone, Num-Date, and Num-RRN.
Request Extraction in Arabic Sentiment Analysis
Sentiment analysis in Arabic extracts customer requests to help determine what consumers desire.
A simple example is    (Would it be possible to add a switch?). From this, text analysis returns the
GeneralRequest entity  (would it be possible) with the Topic   (add a switch).
410
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Tolerant Spelling Support for Portuguese
Portuguese linguistic analysis is more tolerant of variations in capitalization, accents, and hyphenation. This
increases recall for full text search and text analysis applications that process Portuguese inputs.
For example, rodrigo is recognized as a variation of Rogrigo, acafrao a variation of açafrão, and afrobrasileiro a
variation of afro-brasileiro.
Topic Normalization in Portuguese
Determiners such as "O" and "A" are not included in the topics extracted by Voice of the Customer
(sentiment analysis), simplifying the aggregation and matching of topics and making Portuguese consistent
with sentiment analysis in other languages.
As an example, if the input text contains O livro me fascina!, the Topic extracted by Text Analysis is livro.
Related Information
SAP HANA Text Analysis Developer Guide
9.4.2.3 Text Mining (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for text mining.
Improved Term Input Handling
You can specify multiple input terms with optional term types and wildcarding in the TM_GET_RELATED_TERMS
and TM_GET_RELEVANT_DOCUMENTS functions. When the term type is unspecied, any term type should be
allowed. It allows a combination of terms and all instances of an entity type.
Related Information
SQL Reference for Additional SAP HANA Contexts
SAP HANA Text Mining Developer Guide
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 411
9.4.3SAP HANA Graph (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the administration of SAP HANA
Graph.
The graph algorithm Shortest Path (One-to-One) has been added.
Support for the openCypher query language has been enhanced:
Handling of paths
Handling of undirected edges
A list of reserved keywords for openCypher has been added.
Support for the GraphScript query language has been enhanced:
Set operations on multisets of vertices and edges have been added.
Explicit scalar value casting functionality has been added.
Support for neighborhood queries has been added.
Null value handling has been added.
9.4.4Hierarchy Functions (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for hierarchy functions.
SAP HANA Hierarchy Developer Guide (New)
This release includes a new SAP HANA Hierarchy Developer Guide. This guide explains how to use the hierarchy
functions that are an integral part of SAP HANA core functionality.
SQL Functions (New and Changed)
For information about new and changed hierarchy functions, see SAP HANA SQL and System Views Reference
(New and Changed) in this guide.
Related Information
SAP HANA Hierarchy Developer Guide
SAP HANA SQL and System Views Reference (New and Changed) [page 421]
412
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
9.4.5SAP Enterprise Architecture Designer, Edition for SAP
HANA, edition for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features in SAP Enterprise Architecture Designer,
Edition for SAP HANA, edition for SAP HANA.
Export to PowerPoint - Select Share Export to PowerPoint to download the diagram as a *.pptx le
for opening in Microsoft PowerPoint 2013 or higher.
Diagram Overview Panel - This new panel allows you to navigate in a diagram that is larger than the viewer
by dragging the view box over a thumbnail of the full diagram image. The panel is collapsed by default and
can be opened by clicking the Show Overview arrow in the bottom-right corner of the diagram viewer.
Dependencies Tab - This new object property tab combines and replaces the former Impacts and Depends
On tabs.
Share Menu - A new Share menu regroups the various features for sharing and exporting diagrams, and
a new option in the Share Link dialog allows you to choose between generating a link that points to the
specic version of the diagram you are viewing, or one that will always point to the latest published version
of a diagram.
Physical Data Model Enhancements:
Tolerant SQL Parsing - The parsers that interpret reversed SQL code to model views and physical
options will now display a warning when they encounter syntax that they do not understand and will
continue to parse and extract properties from the remainder of the SQL statement.
Reverse-Engineering Options - A new Options tab allow you to optimize reversing objects by controling
the extent of the information captured for them.
Rebuild References - A new command, which can be invoked through a reverse-engineering option or
from the tools menu, will attempt to re-create references between tables by matching primary key
columns to columns in other tables by code.
User Administration Enhancements:
A new log at Adminstration/Activities/Security Log allows administrators to review events relating to
user accounts including successful and unsuccessful logins, password changes, user updates, and
blocked and deactivated users.
Each user can now review the information associated with their account by clicking their name in the
homescreen and selecting User Account.
9.4.6SAP Web IDE for SAP HANA (New and Changed)
SAP HANA Platform 2.0 SP01 introduces new and changed features in SAP Web IDE and integrated SAP HANA
tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 413
SAP Web IDE
Feature Description
MTA Editor In addition to a text-based code editor, a graphical editor
is now available for editing the MTA application descrip-
tor(mta.yaml).
Use of SAP-scoped packages When customizing your environment during SAP Web IDE
installation, you can now dene an upstream link specic for
the SAP-scoped Node.js packages (package names with the
@sap prex), so that these packages can be fetched from a
specic npm registry.
Database development: Support for earlier SAP HANA data-
base versions
When creating an SAP HANA Database module, you can
select the target SAP HANA version that is equal to or earlier
than the one used in your development environment, start-
ing from 1.0 SPS12. This enables you to develop applications
in the new development environment and deploy them to an
earlier version of the database.
Database development: Support for multitenant database
containers (MDC)
You can now use SAP Web IDE for SAP HANA to develop
applications in a development environment with the MDC
conguration.
UI Development: OData service connection in the SAP Fiori
Master-Detail template
When creating an SAP Fiori Master-Detail HTML5 module,
you can now congure a connection to a live OData service
exposed by a running Java or Node.js module within the
same project, or to a service denition available in the work-
space or in the le system.
UI Development: SAP Fiori Component on Sandbox run con-
guration
You can now run an HTML5 module as SAP Fiori Component
on Sandbox (in the SAP Fiori launchpad sandbox environ-
ment).
UI Development: Running with mock data You can now congure and use mock data for running and
testing HTML5 modules.
UI Development: Layout Editor You can now use smart controls in the Layout Editor for the
development of SAPUI5 HTML5 modules.
414 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Feature Description
SAP Fiori Launchpad module It is now possible to run the SAP Fiori launchpad on SAP
HANA XS Advanced Model.
To enable this, you develop SAP Fiori Launchpad modules
with SAP Web IDE for HANA, where the launchpad skeleton
is created automatically. You can also develop the launchpad
modules manually in other IDEs. We recommend working
with the SAPUI5 version that is provided by SAP HANA 2.0
SPS 01.
All SAP Fiori runtime capabilities are available, including per-
sonalizing the launchpad, the apps, and the theme in use,
applying a custom theme, translation, role ltering, and SAP
Fiori 2.0 capabilities.
Support for the Microsoft Internet Explorer and Edge brows-
ers
You can now run SAP Web IDE for SAP HANA in the Micro-
soft Internet Explorer and Edge browsers.
Git: connecting local projects to local and remote Git reposi-
tories
You can now connect a local project to a Git repository by
right-clicking your project and choosing Git Initialize
Local Repository .
Once you have a local repository, you can connect to a re-
mote repository. Choose
Git Set Remote and enter
the URL of the remote Git repository to connect.
Native DataStore Object You can now create and manage native datastore objects
(NDSOs) as central persistency objects for Data Warehouse
environments. The objects are represented as specialized
CDS artifacts, and allow merging of delta and full loads into
its reportable content. Providing delta data for subscribers
will reduce the amount of data to be processed and improve
the performance.
It is possible to merge attributes with a simple move or ag-
gregation, and mark records in delta loads for deletion. The
object provides interoperability between native Data Ware-
houses and SAP BW/4HANA.
Native datastore object is available with DWF 2.0 and higher.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 415
SAP HANA Tools
Calculation View Editor (Modeler)
Feature Description
Performing Intersect and Minus Set Operations
You can perform intersect or minus set operations on data
sources in calculation views using the new intersect or mi-
nus views nodes respectively. This is in addition to the al-
ready supported union set operations on data sources.
Support for CDS Views as Data Sources In addition to the already supported data source types
(such as tables, calculation views, table functions, and
much more), you can also use CDS views or its synonyms
as data sources for modeling calculation views in SAP Web
IDE for SAP HANA.
Graphical Data Preview In addition to the existing support to preview output data
of calculation views in tabular format, you can also preview
output data of calculation views in graphical formats such
as line charts, pie charts, bar graph, heat maps, and other
graphical representations.
Associating Attributes with Other Related Attributes You can associate each attribute in the calculation view with
its one or more related attributes from the same calculation
view. The system internally stores the attribute relations in
the BIMC_ATTRIBUTE_RELATIONS table.
Masking Column Values You can dene data masking on column values of type VAR-
CHAR and NVARCHAR by creating expressions that dene
how to mask these column values in query results. Based on
the masking expression that you dene, unauthorized users
will only see masked or partially masked column values in
query results.
Use data sources from any tenant database
You can model calculation views in SAP Web IDE for SAP
HANA using data sources from any tenant database availa-
ble in the same SAP HANA instance.
Model table functions as view nodes Use the new table function view node to model a table func-
tion with both tabular input parameters and scalar input
parameters.
CDS Graphical Editor
Feature Description
Support for Additional Data Source Types
In addition to using entities as data sources, you can also
use other CDS views, SQL views, or calculation views as data
sources when modeling a CDS view in SAP Web IDE for SAP
HANA.
416 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Feature Description
Creating Associations Between Structure Types and Entities You can dene managed associations between structure
types and entities using the CDS graphical editor tool in SAP
Web IDE for SAP HANA.
Support for Additional Entity Element Modiers You can use SAP HANA SQL clauses “generated always as
expression” and “generated [always | by default] as identity”,
when dening elements in entities using the CDS graphical
editor.
Enhancements in CDS View Modeling When modeling a CDS view using a selected entity as data
source, and if associations are dened for the selected entity
with other entities, then you can use elements from the as-
sociated entities in the CDS view denition.
Database Explorer
Feature Description
Database Object Editor Enhancements Database object editors have been added for nearly all da-
tabase objects and can be used to view, lter, and search
for all objects of a specic type. Database object editors
can be accessed by right-clicking the database object in the
database browser and clicking Show <database-object>, for
example, Show Tables. Improvements have also been made
to the database object editors to ensure that they look and
behave consistently.
MDX Console Enhancements Improvements have been made to the MDX console to make
it easier to create MDX queries. New features include the
ability to search for MDX objects in the Object Search and
the ability to look up MDX syntax elements in the API refer-
ence.
SQL Console Enhancements A new administrative SQL console is available for HDI admin-
istrators to grant privileges on the container's target schema
to other users. Access the administrative console by right-
clicking the HDI container in the database browser and click-
ing Open SQL Console (Admin).
View Diagnostic Files for Oine Cockpit Resources The new Host Diagnostic Files folder contains diagnostic les
for cockpit resources that are either online or oine and
contains all diagnostic les that have been congured for the
SAP Host Agent.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 417
Feature Description
Support for Tracing Conguration Database explorer now supports database tracing, SQL trac-
ing, user-specic tracing, and end-to-end tracing. These
traces are congurable in their respective tracing editors in
the database explorer.
Support for User-dened HDI Containers When adding an HDI container to the database explorer,
user-dened containers now appear in the drop-down list of
available HDI containers.
Support for HDI-containers Contained in Instance Managers When adding a database to the database explorer, the
Database type drop-down list now oers the Application
Managed Service Instances option, which allows you to add
an HDI container that is contained in an instance manager.
Support for Advanced Connection Options When adding an HDI container or database, the Add
Database editor now contains the Advanced Options eld,
which allows you to specify advanced connection options,
such as encryption options and isolation levels.
New Advanced Connection Option CLIENT The new CLIENT advanced option sets the session client for
the connection. The value for this option is a three-character
string, for example: CLIENT=100.
Data Preview Enhancements The data preview now has two tabs, the Raw Data tab that
shows the current data preview result in table format, and
the Analysis Tab that provides the option to limit the result
data to the subset of columns selected by the user and
represents the result data in graphical format. The data
preview can be accessed for columns, tables, and views by
right-clicking the object in the database browser and clicking
Open Data.
Java and Node.js Development
Feature Description
Build Results in Workspace Find the build result of the latest build for each module in
your workspace in a separate folder.
Outdated Dependency Trigger a dependency check and get warnings if dependen-
cies are outdated.
Run Java Archives You can now build and run Spring Boot applications.
Java Unit Tests Trigger a build with unit tests and review the result in the test
result pane.
418 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Feature Description
Java Debugging Build your Java application in debug mode und use the built-
in debug tools.
Provide Snippets in CDS Code Editor You can insert snippets in your HDBCDS les. These snip-
pets cover dierent use cases and updated syntax. This is
part of feature parity to XS Classic.
Beautify your CDS Code Beautify your CDS code per your preferences set in the
project settings. Dene general settings and settings for
alignment, whitespaces and line breaks in detail.
Conditional Breakpoints for Node.js Debug your Node.js module using conditional breakpoints.
The list of all breakpoints in your workspace is located in the
debugger pane.
Text Analysis
Feature Description
Extensions for Text Analysis SAP Web IDE returns the line number of any errors that exist
in your custom Text Analysis (TA) dictionaries, rules, and
conguration settings. These errors appear in the Problem
View in the Web IDE after building your custom TA resources.
Clicking on an error opens the TA object and places the
cursor on the line containing the error.
In addition, many improvements have been made to the er-
ror messages to make them clearer and more useful.
Users can locate and repair errors in their custom Text Anal-
ysis dictionaries and rules faster and with less eort.
SAP HANA Smart Data Streaming Plugin
Refer to What's New in SAP HANA Smart Data Streaming (Release Notes).
Related Information
What's New in SAP HANA Smart Data Streaming (Release Notes)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 419
9.4.7SAP HANA Interactive Education (SHINE) for XS
Advanced (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new features in SAP HANA Interactive Education (SHINE) for XS
Advanced - demo content delivered as a package with sample data and design-time developer objects that
makes it easy to learn how to build applications on SAP HANA Extended Application Services Advanced Model.
The following new features included in this release of SHINE for XSA:
Fiori Launchpad
A new entry point to SHINE via the Fiori Launchpad. The tiles in the Fiori Launchpad appear based on the
user role.
SAPUI5 as a central service
SAPUI5 no longer needs to be bundled with an application. Applications can access SAPUI5 as a central
service and bind it to the web module. SHINE now uses SAPUI5 a central service.
Spatial
Spatial data describes the position, shape, and orientation of objects in a dened space. HANA supports
spatial data types, which are, in their turn, used in SHINE to visually represent on a map the sales and
geographic distribution of business partners.
Jobscheduler token-based authentication
In SHINE, jobs can be scheduled by using the token-based authentication feature of the Jobscheduler XSA
service. This avoids the need for specifying a user name and a password for scheduling jobs.
Local time-dimensional data
Time-dimensional data needs to be generated and populated into M_TIME_DIMENSIONAL table under
the _SYS_BI schema for displaying charts and reports with respect to time. There are MDX statements
available for populating the application local time-dimensional table within the application HDI container
with time dimensional data. SHINE now uses a local time-dimensional table instead of the global
M_TIME_DIMENSIONAL table under the _SYS_BI schema.
Time-based data generator
The time-based data generator in SHINE allows end users to generate random Purchase Orders and Sales
Orders, distributed across a specied time period, thus producing dynamic charts and reports.
9.5 Reference
SAP HANA Platform 2.0 SPS 01 introduces new and changed features as described in the reference
documentation.
SAP HANA SQL and System Views Reference (New and Changed) [page 421]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP
HANA SQL and System Views Reference.
SAP HANA Client Interfaces Reference (New and Changed) [page 429]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP
HANA Client Interface Programming Reference.
SAP HANA SQLScript Reference (New and Changed) [page 430]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP
HANA SQLScript Reference.
420
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
SAP HANA Predictive Analysis Library (New and Changed) [page 431]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the Predictive Analysis
Library (PAL).
SAP HANA Analytics Catalog (BIMC Views) Reference (New and Changed) [page 435]
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP
HANA Analytics Catalog (BIMC Views) Reference.
9.5.1SAP HANA SQL and System Views Reference (New and
Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP HANA SQL
and System Views Reference.
SQL Statements (New and Changed)
ALTER DATABASE
Statement (changed)
You can now change the system user password for a tenant database by using
the new ALTER DATABASE <database_name> SYSTEM USER PASSWORD
<password> syntax.
ALTER REMOTE SOURCE
Statement (changed)
This statement has new syntax to refresh or drop linked objects for the linked
database feature.
ALTER SYSTEM ALTER
TABLE PLACEMENT
Statement (changed)
A new table placement property, SAME_PARTITION_COUNT, causes all
partitions tables in a group to be congured to contain the same number of
partitions.
ALTER SYSTEM BACKUP
ENCRYPTION Statement
(new)
This statement Creates and manages backup encryption root keys.
ALTER SYSTEM [UN]PIN
PLAN CACHE ENTRY
Statement (changed)
When you are specifying to PIN a plan cache entry, the hint is now optional, and
there is new behavior. ALTER SYTEM PIN...WITH HINT binds the target query to
the HINT table. ALTER SYSTEM PIN without the WITH HINT clause pins the plan
to the SQL plan cache.
The ability to specify hosts (index servers) by using the AT [ LOCATION ] clause
has been deprecated. The statement now applies to all indexservers.
ALTER SYSTEM VALIDATE
ENCRYPTION ROOT KEYS
BACKUP Statement (new)
This statement veries that the encryption root key backup password that is
specied on the command line is the same as the one stored in the encryption
root key store.
BACKUP DATA { CREATE
| CLOSE | DROP }
SNAPSHOT
A new clause, FOR FULL SYSTEM, allows you control whether the statement is
applied to the current connected database, or to all databases in the system.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 421
CREATE AUDIT POLICY
Statement (changed)
A new audit action, VALIDATE USER, has been added that validates a user's
credentials.
CREATE | ALTER |
REFRESH | DROP
STATISTICS Statement
(changed)
You can now include the name of a linked database when you are specifying the
table that the data statistics object is built on.
CREATE | ALTER USER
Statement (changed)
You can now congure JWT provider-user mappings for a user.
For ALTER USER,you can specify a new user parameter, RSERV REMOTE
SOURCES.
CREATE | ALTER |
DROP JWT PROVIDER
Statements (new)
These statements create, alter, validate, and drop JWT providers.
CREATE | ALTER TABLE
Statements (changed)
You can now specify whether the table is the TABLE LEAD in a table group.
CREATE | ALTER VIEW
Statement (changed)
New syntax allows you to mask condential data in view columns.
For the linked database feature, <database_name> refers to the name of
the remote source.
CREATE COLLECTION
Statement (new)
Creates a collection table for storing JSON documents.
CREATE SYNONYM
Statement (changed)
For the linked database feature, <database_name> refers to the name of the
remote source.
CREATE TABLE Statement
(changed)
When creating a table using CREATE TABLE...LIKE, you can now specify
WITHOUT CONSTRAINT to not copy constraints such as the primary key or
UNIQUE constraints.
CREATE TRIGGER
Statement (changed)
You can now specify the order of trigger execution.
DELETE Statement
(changed)
For the linked database feature, <database_name> refers to the name of the
remote source.
DELETE Statement - JSON
Document Store (new)
This statement deletes documents (rows) from a collection table.
DROP COLLECTION
Statement (new)
This statement drops a collection table.
DROP DATABASE
Statement (changed)
Previously, when dropping a tenant database, the backups for the tenant
database were dropped too; this behavior has changed. Now, the backups for
the database are no longer dropped. Instead, to drop them when dropping the
tenant database, specify the (new) DROP BACKUPS clause.
GRANT Statement
(changed)
The new UNMASKED privilege allows you to mask condential data in views.
The new LINKED DATABASE privilege allows you to use the new linked
database feature.
422 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
INSERT Statement
(changed)
For the linked database feature, <database_name> refers to the name of the
remote source.
IMPORT Statement
(changed)
Two new parameters were added to <import_option> to support the export
import of virtual tables between systems. The LOOPBACK REMOTE SOURCE
parameter allows the reproduction of a virtual tables scenario in a local
environment for troubleshooting purposes. RENAME REMOTE OBJECT allows
the renaming of schema and database names when importing virtual tables into
a dierent system.
LOCK TABLE Statement
(changed)
A new WAIT <unsigned_integer> option allows you to specify a period of time
to wait for a table lock.
RENAME COLLECTION
Statement (new)
This statement renames a collection table.
SELECT Statement
(changed)
A new FOR XML clause allows you to return results as an XML document.
A new WAIT <unsigned_integer> option allows you to specify a period of
time to wait for a record lock.
The FROM clause allows you to specify associated tables.
For the linked database feature, <database_name> refers to the name of
the remote source.
SELECT Statement - JSON
Document Store (new)
You can now select data from a collection table.
TRUNCATE COLLECTION
Statement (new)
This statement truncates a collection table.
TRUNCATE TABLE
Statement (changed)
You can now specify a projection view for truncation.
For the linked database feature, <database_name> refers to the name of
the remote source.
UPDATE Statement
(changed)
For the linked database feature, <database_name> refers to the name of the
remote source.
UPDATE Statement - JSON
Document Store (new)
Updates data in a collection table.
VALIDATE USER
Statement (new)
Validates the credentials for a user without causing a login using the credentials.
SQL Functions (New and Changed)
ABAP_ALPHANUM Function (new)
Converts a string to what would result if the string
were transformed into an ALPHANUM type and then
converted back to a string.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 423
ABAP_NUMC Function (new)
Converts an input string to a string of a specied length,
containing only digits.
CURRENT_MVCC_SNAPSHOT_TIMESTAMP
Function (new)
Returns a timestamp snapshot of the current statement.
CURRENT_OBJECT_SCHEMA Function (new)
Returns the current schema name.
ENCRYPTION_ROOT_KEYS_EXTRACT_KEYS
Function (changed)
Now extracts backup encryption root keys.
INITCAP Function (new)
Converts the rst character of each word in a specied
string to uppercase and converts remaining characters
to lowercase.
HIERARCHY_ANCESTORS Function (changed)
The START specication is now optional. Also, the
DISTANCE clause now supports an expression for a
value.
HIERARCHY_COMPOSITE_ID Function (new)
Concatenates multi-column tuple-like node identiers
into single scalar values.
HIERARCHY_DESCENDANTS Function (changed)
The START specication is now optional. Also, the
DISTANCE clause now supports an expression for a
value.
HIERARCHY_LEVELED Function (new)
Creates a hierarchy based on source data having a
leveled format.
HIERARCHY_SIBLINGS Function (changed)
The START specication is now optional.
INSERT Statement - JSON Document Store (new) Inserts data into a collection table.
SOUNDEX Function (new)
Converts alphabet characters into a code that
represents their sound.
SUBSTRING Function (behavior change)
Previously, this function handled binary values similarly
to how string values would be handled. For example,
SELECT SUBSTRING(x'ABCDEF',1,2) "substring"
FROM DUMMY; would return 'AB'. This behavior has
been changed. The SUBSTRING function now interprets
the osets as byte positions, so the returned value would
be 'ABCD'.
WIDTH_BUCKET Function (new)
Returns the bucket number that the result of a given
expression is assigned to after it is evaluated.
XMLEXTRACT Function (changed)
The new <NamespaceDeclarations> parameter
species a namespace declaration of type VARCHAR or
NVARCHAR.
424 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
XMLEXTRCTVALUE Function (changed)
The new <NamespaceDeclarations> parameter
species a namespace declaration of type VARCHAR or
NVARCHAR.
System Views (New and Changed)
CDS_ANNOTATION_ASSIGNMENTS System View (new)
Provides CDS annotation assignments.
CS_CONCAT_COLUMNS System View (new)
Provides information on concat columns in the
database.
DATA_STATISTICS System View (changed)
The following column is new:
DATA_STATISTICS_SCHEMA_NAM.
The following columns have new data types:
CREATE_MEMORY_PERCENT (now REAL)
and LAST_REFRESH_MEMORY_PERCENT (now
REAL).
Many columns are now deprecated and should
no longer be used. See the DATA_STATISTICS
System View topic for information on which
columns are deprecated.
EFFECTIVE_MASK_EXPRESSIONS System View (new)
Provides information as to how data is exposed
to certain users in terms of data masking.
ENCRYPTION_ROOT_KEYS System View (changed)
Supports the backup root key type.
HINT Details (changed)
The new WORKLOAD_CLASS hint designates a
certain workload class for statement execution.
JWT_PROVIDERS System View (new)
Lists all JWT provider-user mappings.
JWT_USER_MAPPINGS System View (new)
Lists all JWT users.
M_ADMISSION_CONTROL_EVENTS System View (new)
Displays information about signicant events.
M_ADMISSION_CONTROL_QUEUES System View
Provides detailed information regarding queued
session requests by Session-Wise Admission
Control.
M_ADMISSION_CONTROL_STATISTICS System View (new)
Provides the overall statistics value of the
Session-Wise Admission Control feature.
M_BACKUP_CATALOG System View (changed)
The new ENCRYPTION_ROOT_KEY_HASH
column species the key used, if any, for
encrypting the backup.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 425
The new SOURCE_DATABASE_NAME column
species the name of the database that creates
the backup.
M_CS_COLUMNS_PERSISTENCE System View (new)
Provides column persistence information for
column tables.
M_CS_INDEXES System View (changed)
The new CONCAT_COLUMN_NAME column
species the name of the concat column in
the case of multi-column indexes. This value is
empty in the case of a single-column index.
M_CS_LOG_REPLAY_QUEUE_STATISTICS System View (new)
Provides information about column store log
replay queue statistics.
M_CS_LOG_REPLAY_QUEUE_STATISTICS_RESET System View
(new)
Provides information about column store log
replay queue statistics and the last time when
the queue was reset.
M_CS_TABLES System View (changed)
The new LAST_CONSISTENCY_CHECK_TIME
column species the last time
the table consistency was checked
with the CHECK_TABLE_CONSISTENCY
procedure. The new
LAST_CONSISTENCY_CHECK_ERROR_COUNT
column species the number of errors found in
the last table consistency check.
M_DATA_STATISTICS System View (new)
Provides an overview of the current state of
data statistics objects, including their current
content and properties. Many columns from the
DATA_STATISTICS view are now deprecated,
and their information is stored in this new view.
M_DYNAMIC_RESULT_CACHE System View (changed)
The following columns have
been added: IS_REFRESHING,
CURRENT_REFRESH_DURATION,
CURRENT_REFRESH_REASON,
LAST_REFRESH_DURATION, and
LAST_REFRESH_REASON.
M_ENCRYPTION_OVERVIEW System View (changed)
Now species whether SCOPE includes backup.
M_EXPENSIVE_STATEMENT_EXECUTION_LOCATION_STATISTICS
System View (new)
Provides location statistics for expensive
statements.
M_HOST_INFORMATION System View (changed)
A new key, cpu_sockets, has been added to
store the number of sockets per CPU.
426 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
M_JOINENGINE_STATISTICS System View (new)
Provides statistics about join engine runtime
objects that are used for column store join
operations.
M_LICENSE_MEASUREMENT_STATISTICS (new)
Collects license measurement statistics from
tenant databases.
M_LOAD_HISTORY_SERVICE System View (changed)
The following columns have been added:
ADMISSION_CONTROL_ADMIT_COUNT,
ADMISSION_CONTROL_REJECT_COUNT,
ADMISSION_CONTROL_QUEUE_SIZE, and
ADMISSION_CONTROL_WAIT_TIME.
M_LOG_REPLAY_QUEUE_STATISTICS System View (new) Provides information about log replay queue
statistics.
M_LOG_REPLAY_QUEUE_STATISTICS_RESET System View (new) This view contains values that have been
accumulated since the last reset of the main
view M_LOG_REPLAY_QUEUE_STATISTICS.
M_MEMORY_OBJECT_DISPOSITIONS (changed)
The new CATEGORY column species the
allocator category, the corresponding allocator,
and/or some of its sub-allocators that were
used to allocate memory objects.
M_MVCC_SNAPSHOTS System View (new)
Provides detailed snapshot information of
the Multiversion Concurrency Control (MVCC)
manager.
M_NUMA_NODES System View (new)
Provides resource availability information on
each NUMA node in the hardware topology,
including inter-node distances and neighbor
information.
M_NUMA_RESOURCES System View (new)
Provides information on overall resource
availability for the system.
M_PASSWORD_POLICY System View (changed)
The VALUE column has been extended from
VARCHAR(16) to VARCHAR(128).
M_SAVEPOINTS System View (changed)
The new BLOCKING_PHASE_START_TIME
column species the last blocking phase start
time. The new BLOCKING_PHASE_DURATION
column species the blocking phase duration.
M_SERVICE_NETWORK_METHOD_IO System View (new)
Provides service network method I/O statistics.
M_SERVICE_NETWORK_METHOD_IO_RESET System View (new)
Provides service network method I/O statistics
since the last reset.
M_SERVICE_THREADS System View (changed)
The following columns have
been added: LOCKS_OWNED,
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 427
PASSPORT_ROOTCONTEXT_ID,
PASSPORT_TRANSACTION_ID,
PASSPORT_CONNECTION_ID,
PASSPORT_CONNECTION_COUNTER,
PASSPORT_COMPONENT_NAME, and
PASSPORT_ACTION.
M_SERVICE_THREAD_SAMPLES System View (changed)
The following columns have been
added: PASSPORT_ROOTCONTEXT_ID,
PASSPORT_TRANSACTION_ID,
PASSPORT_CONNECTION_ID,
PASSPORT_CONNECTION_COUNTER,
PASSPORT_COMPONENT_NAME, and
PASSPORT_ACTION.
M_SQL_PLAN_CACHE System View (changed)
The new LOGICAL_CONNECTION_VOLUME_ID
column species the volume ID of the logical
connection. This value is 0 if there is no session
context dening it as a global plan.
M_SYSTEM_REPLICATION System View (changed)
The new SECONDARY_READ_ACCESS_STATUS
column indicates whether the secondary
system is read-enabled and if read access is
activated.
M_TABLES System View (changed)
The TABLE_TYPE column now displays
COLLECTION for collection tables.
M_VOLUME_IO_DETAILED_STATISTICS System View (changed)
The following columns have been added:
SUM_APPEND_TIME, SUM_APPEND_SIZE,
SUM_READ_SIZE, SUM_READ_TIME,
SUM_TRIGGER_ASYNC_READ_SIZE,
SUM_TRIGGER_ASYNC_READ_TIME,
SUM_TRIGGER_ASYNC_WRITE_SIZE,
SUM_TRIGGER_ASYNC_WRITE_TIME,
SUM_WRITE_SIZE, and SUM_WRITE_TIME.
M_WORKLOAD_CAPTURES System View (changed)
A new column, CAPTURE_FETCH_COUNT, has
been added.
The new CAPTURE_FILE_NAME column
species the le name of the captured
workload.
M_WORKLOAD_REPLAY_PREPROCESSES System View (changed)
A new column, CAPTURE_FETCH_COUNT, has
been added.
M_WORKLOAD_REPLAY_REPLAYS System View (changed)
The following new columns have
been added: REPLAY_SESSION_COUNT,
REPLAY_STATEMENT_COUNT,
428 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
REPLAY_FETCH_COUNT, and
REPLAY_COMMITTED_TRANSACTION_COUNT.
REMOTE_SOURCES System view (Changed)
A new column,
IS_LINKED_DATABASE_SUPPORTED, has been
added to indicate if linked database is
supported for the remote source.
TABLE_GROUPS System View (changed)
New PINNED and LEADING_TABLE columns
record whether the location of a table group
is manually pinned, and whether a table is the
lead table in the table group, respectively.
TABLE_PLACEMENT System View (changed)
A new column, SAME_PARTITION_COUNT, has
been added to record whether all partitions
tables in a group contain the same number of
partitions.
TRIGGER_ORDERS System View (new)
Provides information about triggers that are
dened for tables, including how the triggers
are ordered.
VIEW_COLUMNS System View (changed)
The new IS_MASKED column species whether
the column is masked.
VIEWS System View (changed)
The new HAS_MASKED_COLUMNS column
records whether the view has at least one
masked column.
9.5.2SAP HANA Client Interfaces Reference (New and
Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP HANA Client
Interface Programming Reference.
Client Support for Mac OS (new)
The SAP HANA client is now supported on Mac OS.
ODBC Enhancements
The new PREFETCH connection property requests the next block of rows of a result set
while the application is still processing the current block of rows.
Node.js Enhancements
Support for Node.js
Streaming
The new node.js stream module exposes the new
createArrayStream and createObjectStream functions, which
allow you to create readable streams by using a result set and
to return data as either a JSON object or a JavaScript array.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 429
New Statement
Class Method
The Statement class has a new method, functionCode(), that
retrieves the function code of the statement.
Node.js Driver
Included in the
Client Install
Package
The node.js driver is included with the client install package.
View the readme le for installation instructions.
Microsoft ADO.NET Support Enhancements
Support for MSDTC
The SAP HANA Data Provider for Microsoft ADO.NET now
supports the Microsoft Distributed Transaction Coordinator.
API Version Support (changed)
The JDBC driver now supports version 4.2.
SQLDBC Enhancements (changed)
SQLDBC now allows multiple threads to concurrently access the same connection.
Previously, concurrent access could have resulted in internal errors or other issues.
Using the same connection from multiple threads concurrently can result in operations
being serialized. For maximum performance of database calls from concurrent threads,
each thread should use its own connection. This enhancement also aects ODBC,
ADO.NET, and other interfaces that are based on SQLDBC.
9.5.3SAP HANA SQLScript Reference (New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP HANA
SQLScript Reference.
The following syntax extensions have been added:
Support for insertion of single rows into table variables
Support for removal of single and multiple rows from table variables
Dynamic SQL with IN/OUT scalar parameters
Enhancement of the SET SESSION expression: support key as variable
Support for the LOB type in scalar user-dened funtions
Explain Plan for CALL
430
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
9.5.4SAP HANA Predictive Analysis Library (New and
Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features for the Predictive Analysis Library (PAL).
General
Scoring functions are composed of two steps: parsing model and applying the model on data. In PAL, these
two steps are performed in single functions. It is also possible to run them separately. In this way, the model
parsing (de-serializing content from database table, converting text-format content into model object, etc.) is
executed only once. Then the model is kept and repeatedly applied to data. This is especially benecial to the
scenarios where the model is complex and the same model is applied by scoring functions multiple times. In
such scenarios, parsing the model takes signicant amount of time compared with the whole execution time of
scoring functions. It is wise to avoid doing it over and over again.
Splitting parsing model and executing scoring are achieved by a family of PAL functions called stated enabled
functions. As the name suggests, after being parsed, the model is kept in a container called state. A PAL
function state’s lifecycle is longer than that of a PAL scoring function. There are three types of operations on
the state.
Creation of state. Trained models are read from database tables and fed to PAL function
CREATE_PAL_MODEL_STATE. It generates states which contain the parsed models and returns the
identiers of the states.
List of states. This can be done by SQL statement:
SELECT * FROM SYS.M_AFL_STATES;
Scoring with state. Together with the data to be scored on, the state is given to PAL function
PREDICT_WITH_PAL_MODEL_STATE. This function enables state based scoring for certain algorithms
such as support vector machine and random forest.
Clearing of state. States, as containers of parsed model, consume memory. It is necessary to clear them
when they are obsolete. This is done by PAL function DELETE_PAL_MODEL_STATE.
The list of state enabled scoring functions:
Support vector machine
Random forest
New Algorithms
Factorized Polynomial Regression Models
Recommender system analyzes patterns of user interest in items (products) and provides personalized
recommendations that suit a user’s taste. Normally it seeks to predict the “ratings” or “preferences” that
users would give to items and make recommendations according to those predictions. Recommender
system in PAL supports the Factorized Polynomial Regression Models/Factorization Machines approach.
Factorization approach, for example matrix factorization, provides high accuracy in several important
prediction problems, including recommender systems. In its basic form, matrix factorization characterizes
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 431
both users and items by vectors of latent factors inferred from user-item rating patterns and high
correspondence between user and item factors will lead to a recommendation. Factorization machines
approach for recommender system is more general than common factorization approaches as it can
characterize latent factors not only for users and items themselves, but also for side features related to
them by making use of additional information, and therefore, makes the predictions more accurate. PAL
supports three kinds of additional side information besides the user-item ratings:
Global side features which are related to each specic user-item rating/transaction. For example,
location or time of a movie was rated by or lent to a user;
User side features which are related to each user, such as gender, age, education, etc.;
Item side features which are related to each item, such as genre of a movie.
ANOVA
Analysis of variance (ANOVA) is a collection of statistical models used to analyze the dierences among
group means and their associated procedures (such as “variation” among and between groups). It is useful
for comparing (testing) three or more means (groups or variables) for statistical signicance. ANOVA is
conceptually similar to multiple two-sample t-tests, but is more conservative (results in less type I error)
and is therefore suitable for a wide range of practical problems. The current release of PAL supports
one-way ANOVA and one-way repeated measures ANOVA.
One-sample Median Test
This is a one-sample non-parametric test to check if the median of the data is dierent from a user
specied one. It implements the sign test which does not have any assumption on the underlying
distribution of data.
T Test
This function is used to test if the mean of one sample or the mean dierence of two samples is
signicantly dierent from a user specied value. The most frequently used t-tests are:
One Sample T-Test
Paired Sample T-Test
Independent Sample T-Test
Wilcox Signed Rank Test
This is a one-sample or paired two-sample non-parametric test to check if the median of the data is
dierent from a specic value. It assumes that the underlying distribution of the data set is symmetric.
This function is able to work in two modes:
One-sample: with one column of data, it tests the null hypothesis that if the population where the data
is drawn from is symmetric about a user dened location parameter μ
0
.
Paired two-sample: with two equal sized columns of data, it tests the null hypothesis that the
underlying distribution of the dierence of these two is symmetric about 0.
Accelerated K-Means
The new accelerated k-means greatly improves the algorithm performance by applying triangle inequality
to avoid unnecessary distance calculations.
Decision Tree
Unify the three decision tree algorithms (C4.5, CHAID, and CART) into one DECISIONTREE function.
Enhanced Algorithms
Random Forest
Added stratied sampling for random data selection during training.
432
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Added the “ALLOW_MISSING_LABEL” parameter to allow missing target value in the training data.
Added the “MAX_DEPTH” parameter to set the largest depth of a tree during the training.
Added the “PRIORS” parameter to set the prior probability for the class label during the training.
Added the “VERPOSE” parameter to output all classes and the corresponding condence for scoring
data.
Outputs sample standard error for prediction of regression tasks.
Simplied the trained model.
Generalized Linear Models
Added elastic net regularization which minimizes
Where
Here and λ≥0. If α=0, we have the ridge regularization; if α=1, we have the LASSO
regularization.
Logistic Regression
Added proximal gradient descent as the method to t elastic net regularized logistic regression. The
implementation of proximal gradient descent is parallelized.
Added objective/log-likelihood, iteration number as the output statistics.
Sampling
Added the “RANDOM_SEED” parameter to indicate the seed to initialize the random number
generator.
Support Vector Machine
Added one class SVM.
One class SVM is an unsupervised algorithm that learns a decision function for outlier detection:
classifying new data as similar to or dierent from the given dataset.
ARIMA
For the sake of interpretability, the ARIMA model output table still takes key-value style, but has some
adaptation of the key names. The new key names are listed as below:
Key name Description
p Number of AR parameters
AR Coecients of AR parameters
d Degree of rst dierencing
q Number of MA parameters
MA Coecients of MA parameters
s The seasonal period
P Number of SAR parameters
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 433
Key name Description
SAR Coecients of SAR parameters
D Degree of seasonal dierencing
Q Number of SMA parameters
SMA Coecients of SMA parameters
mu The constant part
regressor The covariates’ names
beta The coecients of covariates
sigma^2 The variance
log-likelihood Log likelihood of the tted series
AIC Akaike information criterion
AICc Akaike information criterion correction
BIC Bayesian information criterion
dy(n-p:n-1)_ aux An indicator to the number of rows dy(n-p:n-1) occupies
dy(n-p:n-1)_i ith row of last p elements of the dierenced series
dy_aux An indicator to the number of rows dy occupies
dy_i ith row of the whole dierenced series
y(n-d:n-1)_aux An indicator to the number of rows y(n-d:n-1)_occupies
y(n-d:n-1)_i ith row of last d elements of original series
epsilon(n-q:n-1)_aux An indicator to the number of rows epsilon(n-q:n-1)_oc-
cupies
epsilon(n-q:n-1)_i ith row of last q elements of [GRAPHIC REMOVED –
INSERT HERE] [HYPERLINK REMOVED]
To ensure forward compatibility, the forecast algorithm can parse the old ARIMA model, too.
Added the “INCLUDE_MEAN” parameter to allow ARIMA model to include a constant part.
Added the “DISPLACEMENT” parameter to set the displacement for nite-dierence calculation of
gradient.
Added the “FORECAST_METHOD” parameter to select forecast method from formula forecast or
innovation algorithm.
Performance improvement for ARIMA train when the “SEASONAL_PERIOD” is large.
434
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
Auto ARIMA
Added the “METHOD” parameter to allow selection of dierent methods
Added the “ALLOW_LINER” parameter to check linear model ARMA(0,0)(0,0)m.
Added the “DISPLACEMENT” parameter to set the displacement for nite-dierence calculation of
gradient.
Added the “FORECAST_METHOD” parameter to select forecast method from formula forecast or
innovation algorithm.
Back Propagation Neural Network
Outputs the training log if the corresponding training log table is provided through the function call.
Currently the training log contains the mean squared error between predicted values and target values
for each iteration.
K-Medoids
Added Jaccard distance metric for categorical features.
Forecast Smoothing
Modied logic for model selection path in forecast smoothing. Set beta and trend_start to 0 when
there is no trend in a TESM model.
LiteApriori
Replace the OPTIMIZATION_TYPE parameter by the new SAMPLE_PROPORTION parameter. For
backward compatibility, the usage of OPTIMIZATION_TYPE is still valid.
9.5.5SAP HANA Analytics Catalog (BIMC Views) Reference
(New and Changed)
SAP HANA Platform 2.0 SPS 01 introduces new and changed features, as documented in the SAP HANA
Analytics Catalog (BIMC Views) Reference.
A new column IS_HDI_OBJECT (a ag to indicate whether the view is created in HDI (1) or Repo1 (0)) has
been added to the table BIMC_ALL_CUBES.
A new view BIMC_REPORTABLE_VIEWS, used by clients for easier retrieval of rows in cubes and
dimensions (master data reporting), has been added.
The former table BIMC_ATTRIBUTE_RELATIONS is now a view with row-level security on table
BIMC_ALL_ATTRIBUTE_RELATIONS.
The former table BIMC_VARIABLE_RANGE_DEFAULTS is now a view with row-level security on table
BIMC_ALL_VARIABLE_RANGE_DEFAULTS.
The former table BIMC_VARIABLE_MAPPING is now a view with row-level security on table
BIMC_ALL_VARIABLE_MAPPINGS.
The former table BIMC_VARIABLE_VALUE is now a view with row-level security on table
BIMC_ALL_VARIABLE_VALUES.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 01 Features
PUBLIC 435
10 SAP HANA Platform 2.0 SPS 00 Features
Find out about the new and changed features introduced with the SAP HANA platform 2.0 SPS 00.
10.1 Installation and Update
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for installation and update.
Documentation Changes [page 436]
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA installation and update documentation has been
changed.
SAP HANA Server Installation and Update (New and Changed) [page 438]
SAP HANA Cockpit Installation and Update (New) [page 439]
As of SAP HANA Platform 2.0 SPS 00, a new and enhanced implementation of SAP HANA cockpit is
available for installation.
10.1.1Documentation Changes
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA installation and update documentation has been
changed.
SAP HANA Master Guide (Changed)
The information in the SAP HANA Master Update Guide is now available in the section Updating an SAP HANA
System Landscape. This section also contains information about updating from SAP HANA Platform 1.0 to SAP
HANA Platform 2.0 SPS 00.
Parts of the information in the SAP HANA Technical Operations Manual is now available in the section Operating
SAP HANA.
Only an introduction into network-related information is now available in the SAP HANA Master Guide. The
SAP HANA Administration Guide now includes a new section called Landscape Management and Network
Administration.
436
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
SAP HANA Master Update Guide (Deleted)
The SAP HANA Master Update Guide is no longer available. The information contained in this document is now
available in the SAP HANA Master Guide.
SAP HANA Server Installation and Update Guide (Changed)
The Troubleshooting section has been updated. The chapter Importing Delivery Units Manually was added.
The section Updating the SAP HANA System was re-structued.
SAP HANA Cockpit Installation and Update Guide (New)
The SAP HANA Cockpit Installation and Update Guidel is now available. This guide describes how to install
and update the SAP HANA cockpit. The SAP HANA cockpit provides core system and database administration
features, for example, database monitoring, user management, and data backup.
SAP HANA Platform Lifecycle Management in SAP HANA Cockpit (New)
The SAP HANA database lifecycle manager (HDBLCM) Web user interface now includes a link to the SAP
HANA Platform Lifecycle Management documentation.
Related Information
Importing Delivery Units Manually
Troubleshooting
SAP HANA Platform Lifecycle Management
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 437
10.1.2SAP HANA Server Installation and Update (New and
Changed)
Integrated Download, Extract and Update with HDBLCM Web User Interface
(New)
The SAP HANA database lifecycle manager (HDBLCM) Web user interface now allows you to download, extract
and update SAP HANA components and XS advanced applications.
Worker Host Grouping (New)
To implement a multi-temperature memory strategy, you can assign hosts to worker groups.
Uninstall component with existing component-specic hosts/roles in one
step (Changed)
In previous versions of SAP HANA, you had to remove component-specic host roles and hosts rst before
you could uninstall additional components. Components including their host roles and hosts can now be
uninstalled in one step.
SUSE Linux Enterprise Server (SLES) 12 SP1 and Red Hat Enterprise Linux
(RHEL) 7.2 as Required Operating System Versions (Changed)
The SAP HANA database lifecycle manager performs a check to see if the minimal operating system
requirements are fullled. SAP HANA 2.0 SPS 00 is supported on SUSE Linux Enterprise Server (SLES) 12
SP1 and Red Hat Enterprise Linux (RHEL) 7.2.
Related Information
Upload and Extract SAP HANA Components Using the Web User Interface
workergroup
Multiple-Host System Concepts
Uninstalling SAP HANA Components
SAP Note 2235581 - SAP HANA: Supported Operating Systems
438
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
10.1.3SAP HANA Cockpit Installation and Update (New)
As of SAP HANA Platform 2.0 SPS 00, a new and enhanced implementation of SAP HANA cockpit is available
for installation.
The new SAP HANA cockpit unies the administration of single, multiple and tenant databases. It replaces both
the SAP HANA cockpit and the SAP DB Control Center that were available with SAP HANA 1.0. The new cockpit
can be used for the administration of systems running SAP HANA 2.0 or SAP HANA 1.0 SPS12.
The new cockpit represents a separate administration environment from the managed production databases.
The SAP HANA database lifecycle manager (HDBLCM) is used to install and update the SAP HANA cockpit in a
graphical user interface or the command-line interface.
Related Information
SAP HANA Cockpit Installation and Update Guide
10.2 Security
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for security.
Documentation Changes [page 439]
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA security documentation has been changed.
SAP HANA Database Security (New and Changed) [page 440]
As of SAP HANA Platform 2.0 SPS 00, new and changed security-related features are available in the
SAP HANA database.
10.2.1Documentation Changes
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA security documentation has been changed.
The SAP HANA Security Guide contains a new chapter on data protection.
The SAP HANA Security Checklists and Recommendations document contains a new chapter on SAP
HANA XS advanced.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 439
10.2.2SAP HANA Database Security (New and Changed)
As of SAP HANA Platform 2.0 SPS 00, new and changed security-related features are available in the SAP
HANA database.
Encryption (New and Changed)
The SAP HANA database now supports redo log encryption.
The management of the encryption root keys used for data volume encryption, redo log encryption, and
the internal application encryption service has been enhanced:
All root keys can be conveniently changed by SQL statement.
The new system privilege ENCRYPTION ROOT KEY ADMIN is required to change all root keys. A user
with RESOURCE ADMIN can no longer change the data volume encryption root key and the internal
application encryption root key.
You can create a dedicated password-protected root key backup to a secure location.
Authorization (New and Changed)
If you use an LDAP-compliant identity management server to manage users and their access to resources,
you can now leverage LDAP group membership to authorize SAP HANA users.
The new system privilege LDAP ADMIN is required to congure LDAP group authorization.
A user administrator can now convert a restricted user into a standard user, and vice versa. It is possible to
grant and revoke both the PUBLIC role as well as authorization to create objects in a user's own schema.
A new and enhanced implementation of the SAP HANA cockpit is available with SAP HANA 2.0. The
delivery units used to deploy the original implementation of the SAP HANA cockpit in SAP HANA 1.0
as auto content exist for downward compatibility reasons, but they no longer contain any content. The
following roles delivered in the these DUs are therefore no longer available:
sap.hana.admin.roles::*
sap.hana.admin.cockpit.sysrep.roles::SysRepAdmin
sap.hana.backup.roles::*
sap.hana.security.base.roles::*
sap.hana.security.cockpit.roles::*
sap.hana.admin.cockpit.sysdb.roles::SysDBAdmin
Security Administration with SAP HANA Cockpit (New and Changed)
A new and enhanced implementation of the SAP HANA cockpit is available with SAP HANA 2.0.
The new cockpit continues to support the monitoring of critical security settings, the granting of roles to
database users, as well as tasks related to auditing, data volume encryption, and certicate management.
440
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
In addition, the new SAP HANA cockpit supports the creation and management of database users.
Related Information
SAP HANA Data Masking
LDAP Group Authorization
Data and Log Volume Encryption
Root Key Backup
10.3 Administration
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for administration.
Documentation Changes [page 442]
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA administration documentation has been
changed.
SAP HANA System Administration (New and Changed) [page 442]
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for the administration of
SAP HANA.
SAP HANA Database Backup and Recovery (New and Changed) [page 446]
As of SAP HANA 2.0 Platform SPS 00, new and changed features are available for SAP HANA backup
and recovery.
SAP HANA High Availability (New and Changed) [page 448]
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for SAP HANA High
Availability.
SAP HANA Performance Monitoring and Analysis (New and Changed) [page 449]
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for SAP HANA
Performance Monitoring and Analysis.
SAP HANA Smart Data Access (New and Changed) [page 451]
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for SAP HANA smart data
access.
SAP HANA Hadoop Integration (New and Changed) [page 452]
SAP HANA Platform 2.0 SPS 00 introduces new features for the SAP HANA and Hadoop integration.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 441
10.3.1Documentation Changes
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA administration documentation has been changed.
SAP HANA Technical Operations Manual (Deleted)
The SAP HANA Technical Operations Manual is no longer available. The information contained in this document
is now available in the SAP HANA Master Guide and the SAP HANA Administration Guide.
SAP DB Control Center Guide (Deleted)
The SAP DB Control Center Guide is no longer available. With SAP HANA 2.0, SAP DCC is replaced by the SAP
HANA cockpit, which is documented in the SAP HANA Administration Guide.
SAP HANA Administration Guide (Changed)
The SAP HANA Administration Guide now includes a new section called Landscape Management and Network
Administration. This section consolidates the documentation for landscape management tasks such as
copying and moving SAP HANA systems. It also includes information required to integrate SAP HANA into
your network environment, for example ports and connections. In the SAP HANA 1.0 documentation, network-
related information was primarily available in the SAP HANA Master Guide.
The section SAP HANA Platform Lifecycle Management has also been restructured.
10.3.2SAP HANA System Administration (New and Changed)
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for the administration of SAP
HANA.
SAP HANA 2.0 Cockpit (New)
A new and enhanced implementation of SAP HANA cockpit is now available. In SAP HANA 1.0, the cockpit was
used to manage a single resource while SAP DB Control Center was used to manage multiple systems. The
functionalities of both have now been rolled into one comprehensive tool that unies individual, multiple, and
tenant database management.
You can use the SAP HANA 2.0 cockpit to monitor and manage systems running SAP HANA 2.0 or SAP HANA
1.0 SPS 12.
442
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
The new SAP HANA cockpit continues to provide database administrators with a single point of access to a
range of Web-based tools for the administration and detailed monitoring of SAP HANA databases, including
system resource monitoring, alerting, and tenant database administration. In addition, it provides the following
new and enhanced features:
Creation of groups of systems so that specic cockpit users can monitor aggregate information
Enhanced monitoring of alert information, across multiple databases, and within a single system
Conguration of system properties, (*.ini les), an administration task which was previously accomplished
only through the SAP HANA studio
Monitoring of system health metrics for multi-host systems, including indicators for the resource utilization
of hardware components (CPU, memory, network, and storage)
The ability to start or stop a system through Manage Services app
The ability to browse your database catalogs by using the newly integrated SAP HANA database explorer.
This database explorer is similar in functionality and appearance to the database explorer provided with
the SAP Web IDE for SAP HANA. The database explorer includes:
An SQL console for executing SQL queries and SQLScript procedures
An SQL analyzer for viewing query plans and analyzing the performance of SQL queries
An MDX console for executing MDX queries
A trace feature for viewing diagnostic les
The SAP HANA cockpit also provides new and enhanced features for:
Performance monitoring and analysis
Security administration
Backup and recovery
System replication
For more information about these feature enhancements, see the relevant section in this document.
See also SAP Note 2380291.
SAP HANA 1.0 Cockpit (Deleted)
The delivery units used to deploy the original implementation of the SAP HANA cockpit in SAP HANA 1.0 as
auto content exist for downward compatibility reasons, but they no longer contain any content. This includes
the following DUs:
HANA_ADMIN
HANA_BACKUP
HANA_HDBLCM
HANA_SEC_BASE
HANA_SEC_CP
HANA_SYS_ADMIN
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 443
SAP DB Control Center (Deleted)
SAP HANA 2.0 does not support SAP DB Control Center (SAP DCC). The SAP HANA 2.0 cockpit replaces SAP
DCC.
If you’re upgrading a system running SAP DCC to SAP HANA 2.0, SAP recommends that you remove the SAP
DCC delivery unit, as described in SAP Note 2385193.
Multitenant Database Containers (New and Changed)
A backup of a single database (single-container system) can be recovered into a tenant database in an
MDC system and retains the backup history. Backups can be located in the le system as well as in a
third-party backup tool using the HANA BACKINT API.
The standard copy/move process of tenant databases requires an initial certicate conguration in order
to enable communication between systems. In non-production setups or isolated environments, it may be
reasonable to allow a process without the need for trusted communication. The internal communication of
the copy/move processes may now also run unencrypted.
The performance trace can be enabled for multiple tenant databases at the same time to analyze cross-
database queries.
Workload Management (New)
In the area of Workload Management the admission control feature gives administrators the option to apply
processing limits and to decide how to handle new requests if the system is close to the point of saturation.
User-dened thresholds can be applied using conguration parameters to dene an acceptable limit of activity
in terms of the percentage of memory usage or percentage of CPU capacity. Administrators can then congure
the system so that, for example:
if the system approaches this limit then new requests will be queued until processing capacity is available
if the system exceeds the load thresholds then new requests will be rejected and a message returned to the
client that the server is temporarily overloaded.
A query timeout feature has now been implemented which can be used to apply a maximum time limit to
process any SQL statement. This is available through client programming interfaces (for example for JDBC:
java.sql.statement.setQueryTimeout). The timeout is not active by default (set to 0 seconds for no timeout).
This feature can be used as a way of automatically canceling client queries which are hanging or looping
indenitely.
Extension Node for Scaled-Out SAP Business Warehouse (New)
For scaled-out SAP Business Warehouse systems (version 7.50 and above) where a multi-temperature storage
strategy is required, the extension node feature is now available which makes it possible to use a dierent
(heterogeneous) type of host in the server landscape which is used exclusively for warm data.
444
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
In this case, the normal hardware sizing guidelines for storage can be relaxed: whereas normally a 2:1 ratio of
RAM to hot data is required, the extension node supports signicantly more storage capacity for warm data.
The conguration for this type of node is based on a new host sub role and a location value in the
TABLE_PLACEMENT system view. Once the data has been correctly modeled it is then distributed by the
landscape redistribution process to the appropriate server node.
Client-Side Statement Routing (New)
Client-side routing now routes statements for range-partitioned tables.
Client-side routing for hash-partitioned tables now routes batches, as well as prepared statements.
SAP HANA HDBSQL (New and Changed)
Use the new -V conguration option in SAP HANA HDBSQL to dene a substitution variable.
The default for the -b option is now 32 bytes. You can now use -b all to always display the whole binary
length.
The new -quiet option hides the SAP HANA HDBSQL welcome banner.
The new -oldexectimes option uses SAP HANA 1.0 execution-only timing. SAP HANA HDBSQL in SAP
HANA 1.x only reports time for client and server executions, not fetches for result sets. As of SAP HANA
2.0, SAP HANA HDBSQL includes times for executions and fetches by default.
Related Information
SAP Note 2380291
SAP Note 2385193
SAP HANA Administration Guide
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 445
10.3.3SAP HANA Database Backup and Recovery (New and
Changed)
As of SAP HANA 2.0 Platform SPS 00, new and changed features are available for SAP HANA backup and
recovery.
Enhancements for Log Backups
To improve the performance of log backups, SAP HANA can write all the log segments of a service that are
ready to be backed up at a particular time to a single log backup. You can dene the maximum size of this
single log backup.
This option is supported for both le-based log backups and third-party tools.
More information: Writing Multiple Log Segments to One Log Backup in Related Information
With SAP HANA 2.0, you can dene events to trigger a log backup.
By default, a log backup is created immediately after a log segment becomes full, or when the service-
specic timeout has been reached for a log segment.
Alternatively, you can specify that a log backup is created only after a service-specic timeout has been
reached.
This option is supported for both le-based log backups and third-party tools.
More information: Set the Interval Mode for Log Backups in Related Information
Encryption and Backup and Recovery
SAP HANA 2.0 supports data encryption in the persistence layer.
A database administrator must ensure that the encryption root keys are backed up. If a recovery is performed,
a database administrator must also ensure that the root keys are imported before the recovery is started.
More information: Points to Note: SAP HANA Backups and Encryption, Root Key Backup, and Import Backed-up
Root Keys in Related Information
Location of the Backups of the Backup Catalog
The location of the log backups is congured separately from the location of backups of the backup catalog.
Before you recover SAP HANA, you are prompted to specify path to search for the backup catalog.
More information: Destination for Backups of the Backup Catalog in Related Information
446
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
SAP HANA Multitenant Database Containers
It is now possible to use a data backup of an SAP HANA single-container system to recover to a tenant
database.
More information: Points to Note: Copying a Database Using Backup and Recovery, Points to Note: SAP HANA
Multitenant Database Containers and Backup, Points to Note: SAP HANA Multitenant Database Containers and
Recovery in Related Information
Extension Node for Business Warehouse
Database recovery with SAP HANA 2.0 supports extension node for Business Warehouse.
More information: Points to Note: SAP HANA Recovery and Data Temperature: Extension Node for Business
Warehouse in Related Information
SAP HANA on IBM Power Systems: Release Compatibility
SAP HANA 2.0 supports only IBM Power Little Endian (LE) systems.
Backups created with SAP HANA 2.0 are compatible with both supported hardware platforms (Intel and IBM
Power). You can recover SAP HANA 2.0 using backups created with SAP HANA 2.0 on either an Intel-based
system or an IBM Power-based system.
Backups created with SAP HANA 1.0 SPS 10 or newer running on an Intel-based system can be used to recover
SAP HANA 2.0 to both Intel-based and IBM Power-based systems. Backups created with SAP HANA 1.0 on an
IBM Power-based system cannot be used to recover SAP HANA 2.0.
More information: Points to Note: SAP HANA on IBM Power Systems in Related Information
SAP HANA Cockpit (Changed)
A new and enhanced implementation of the SAP HANA cockpit is now available.
The SAP HANA Administration Guide has been updated to reect the changed procedure to recover SAP HANA
and to schedule SAP HANA backups using SAP HANA cockpit.
More information: SAP HANA System Administration (New and Changed), Schedule Data Backups (SAP HANA
Cockpit), and Recover a Database (SAP HANA Cockpit) in Related Information
Related Information
Consolidated Log Backups
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 447
SAP HANA Backup Encryption
Root Key Backup
Import Backed-Up Root Keys or LSS Backup Before Database Recovery
Destination for Backups of the Backup Catalog
Points to Note: Copying a Database Using Backup and Recovery
Points to Note: SAP HANA Recovery
Extension Node
Points to Note: SAP HANA on IBM Power Systems
SAP HANA System Administration (New and Changed) [page 442]
Scheduling Backups
10.3.4SAP HANA High Availability (New and Changed)
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for SAP HANA High Availability.
Active/Active (Read Enabled) (New)
Starting with SAP HANA 2.0 active/active (read enabled) is integrated into the System Replication solution and
allows read-only access on the secondary system.
For more information on this new feature, see the following topics in the SAP HANA Administration Guide:
Active/Active (Read Enabled)
High Availability for SAP HANA
Congure the Secondary System
System Replication with Operation Mode Logreplay
Log Retention
System Replication Conguration Parameters
System Replication Command Line Reference
System Replication Details
Required Conguration Step for SAP HANA System Replication
Authentication (New)
Starting with SAP HANA 2.0 a new conguration step is required to setup SAP HANA System Replication. The
secondary system needs to be prepared for authentication by copying the system PKI SSFS .key and the .dat
le from the primary system to the secondary system.
For more information, seeSet up System Replication with hdbnsutil in the SAP HANA Administration Guide.
448
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
SAP HANA Cockpit (Changed)
A new and enhanced implementation of SAP HANA cockpit is now available.
The following administration activities are possible:
Performing the initial set-up, that is enabling system replication and establishing the connection between
two identical systems
Monitoring the status of system replication to ensure that both systems are in sync
Performing a takeover to the secondary system in the event of a disaster and failback once the primary
system is available again
Disabling system replication
For more information about these feature enhancements, see Managing System Replication in the SAP HANA
Cockpit in the SAP HANA Administration Guide.
Related Information
Active/Active (Read Enabled)
High Availability for SAP HANA
Log Retention
SAP HANA System Replication Conguration Parameters
SAP HANA System Replication Command Line Reference
SAP HANA System Replication Details
Overview of Steps
10.3.5SAP HANA Performance Monitoring and Analysis (New
and Changed)
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for SAP HANA Performance
Monitoring and Analysis.
Starting with SAP HANA 2.0 the following tools provide new and enhanced features:
Capture and Replay (Changed)
With SAP HANA 2.0 new features are available for the capture and replay tool in the SAP HANA cockpit:
When conguring new captures it is possible to set the conditions under which the capture is overwritten
based on two criteria:
The duration of the capture
The disk usage of the capture
For more information, see Capture a Workload in the Related Links section.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 449
When replaying the workload it is possible to compare replays based on the same capture with each other.
For more information, see Compare Replayed Workloads in the Related Links section.
After replaying the workloads it is possible to compare results of queries in the Replay Report. Furthermore,
the tab Load visualizes the system load during the replay process.
For more information, see Replay a Preprocessed Workload in the SAP HANA Administration Guide.
Workload Analyzer (Changed)
With SAP HANA 2.0 the workload analyzer tool available in the SAP HANA cockpit has two versions. The
workload analyzer from SAP HANA 1.0 is now called "workload analyzer based on thread samples". The new
version of the workload analyzer is called "workload analyzer based on engine instrumentation". The following
changed and new features are available for the workload analyzer tool:
Workload analyzer based on thread samples (changed)
The chart visualizing the system resource usage displays both a real-time and a historical analysis.
It is possible to visualize the system load using a timeline view mapped to the load graph.
Workload analyzer based on engine instrumentation (new)
This is a feature for analyzing captured workloads. Similar to the sampling-based workload analyzer it
includes load graph visualization, as well as a timeline view with application and statement hierarchy.
For more information, see Analyzing Workloads in the SAP HANA Administration Guide.
SQL Analyzer (New)
With SAP HANA 2.0 SPS 00, the SQL Analyzer is available in the SAP HANA cockpit and the SAP HANA
Database Explorer.
With this tool it is possible to analyze and understand query execution and performance aspects of the SAP
HANA database. It can be used to view detailed information on each query and can help evaluate potential
bottlenecks for these queries. The tool is similar to the Plan Visualizer tool in the SAP HANA studio.
The following features are available for the SQL Analyzer:
Overview
Operator list
Tables used
Statement statistics
For more information, see Analyzing Statement Performance in the SAP HANA Administration Guide.
Other Performance Management Tools (Changed)
The following performance management tools in the SAP HANA cockpit have been enhanced:
Performance Monitor
450
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
For more information, see Monitor and Analyze Past Performance and Collecting Performance Monitor Data
for SAP Support in the SAP HANA Administration Guide.
Monitor Statements
For more information, see Monitor and Analyze Critical Statements in the SAP HANA Administration Guide.
Threads
For more information, see Monitor and Analyze Threads in the SAP HANA Administration Guide.
Sessions
For more information, see Monitor and Analyze Sessions in the SAP HANA Administration Guide.
Expensive Statements
For more information, see Monitoring and Analyzing Expensive Statements in the SAP HANA
Administration Guide.
SQL Plan Cache
For more information, see Monitoring and Analyzing Statements with SQL Plan Cache in the SAP HANA
Administration Guide.
Related Information
Capturing and Replaying Workloads
Capture a Workload
Replay a Preprocessed Workload
Generate a Replay-Replay Comparison Report
Analyzing Workloads
Analyzing Statement Performance
The Performance Monitor
Performance Monitor Data for SAP Support
Threads
Session Monitoring
Monitor and Analyze Active Statements
Monitor and Analyze Expensive Statements
Monitor and Analyze Statements with SQL Plan Cache
10.3.6SAP HANA Smart Data Access (New and Changed)
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for SAP HANA smart data access.
SELECT FOR UPDATE on Virtual Tables (New)
The FOR UPDATE clause on the SELECT statement is extended to include virtual tables.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 451
Refresh Virtual Tables Metadata (New)
When the metadata in a remote table is changed, use the ALTER VIRTUAL TABLE statement to refresh the
virtual table to reect the change.
Support for SAP SDA Adapter for SAP MII (Deprecated)
As of SAP HANA 2.0, the SAP HANA Smart Data Access (SDA) adapter for SAP Manufacturing Integration and
Intelligence (MII) is no longer supported.
10.3.7SAP HANA Hadoop Integration (New and Changed)
SAP HANA Platform 2.0 SPS 00 introduces new features for the SAP HANA and Hadoop integration.
Create Custom Virtual Procedures
Create custom Spark procedures in SAP HANA to perform compilation and execution on a Hadoop cluster.
You can easily access Spark libraries from SAP HANA, then compile and execute the procedures on Spark
Controller. The new CREATE VIRTUAL PROCEDURE syntax supports Scala, providing a method for simple, and
strongly typed code. Use these custom procedures to access Hadoop's distributed le system (HDFS) libraries,
such as the machine learning libraries, and return the data model to SAP HANA for prediction.
Enable Remote Caching Using Spark Controller
When using the Spark controller to connect SAP HANA and Hadoop, you can enable remote caches in Spark
for queries with complex calculations. This allows you to use materialized data for the repetitive execution of
the same query.
SAP HANA Vora ODBC Connectivity (Requires SAP HANA Vora 1.3)
A more direct connectivity method between Hadoop and Vora has been implemented. You can establish a
connection between SAP HANA and Hadoop using the SAP HANA Vora remote source adapter voraodbc and
Vora's Wire protocol. With this new implementation you can join data by creating a remote source, then use
virtual tables to represent the SAP HANA Vora remote source tables you want to access.
452
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Kerberos Authentication Support in Spark Controller
You can now set up a Hadoop cluster with Kerberos authentication for SparkSQL using Spark Controller.
Support for Spark Controller Installation and Conguration Through the
Cloudera Manager
Support for installing and conguring Spark Controller using Cloudera Manager has been added. Using the
Cloudera Manager Web UI you can:
Install Spark Controller.
Distribute the Spark Controller package to each hosts on your Cloudera cluster.
Start and stop Spark Controller.
Change or add Spark Controller conguration parameters.
10.4 Development
SAP HANA Platform 2.0 SPS 00 introduces new and changed features for development.
SAP HANA XS Advanced Development (New and Changed) [page 454]
For SAP HANA Platform 2.0 SPS 00 SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
SAP Enterprise Architecture Designer, Edition for SAP HANA, edition for SAP HANA (New) [page 460]
As of SAP HANA Platform 2.0 SP00, SAP Enterprise Architecture Designer, Edition for SAP HANA,
edition for SAP HANA is available.
SAP Web IDE for SAP HANA (New and Changed) [page 460]
As of SAP HANA Platform 2.0 SP00, the following new features and changes are available in SAP Web
IDE and integrated SAP HANA tools.
SAP HANA Spatial (New) [page 467]
As of SAP HANA Platform 2.0 SPS 00, new features are available in the SAP HANA Spatial.
SAP HANA Graph (New and Changed) [page 467]
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for the administration of
SAP HANA Graph:
Hierarchy Functions (New) [page 468]
Hierarchy functions are available as of SAP HANA Platform 2.0 SPS 00:
Search, Text Analysis, and Text Mining [page 468]
SAP HANA 2.0 SPS 00 introduces the following new and changed features for search, text analysis, and
text mining.
SAP HANA Interactive Education (SHINE) for XS Advanced (New and Changed) [page 472]
SHINE for XSA is a demo content that makes it easy to learn how to build applications on SAP
HANA Extended Application Services Advanced Model. This demo content is delivered as a package
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 453
containing sample data and design-time developer objects for application database tables, views,
OData and user interfaces.
10.4.1SAP HANA XS Advanced Development (New and
Changed)
For SAP HANA Platform 2.0 SPS 00 SAP HANA supports development and deployment of SAP HANA
extended application services (XS) advanced model applications.
Application Run-Time Environment
SAP HANA XS advanced provides the following run-time environments for your application:
JavaScript/Node.js
JavaScript run time to which you can deploy your Node.js and XS JavaScript applications.
Note
The XS JavaScript (XSJS) run time is a compatibility layer that runs on top of Node.js, which enables
you to execute your existing code base, for example, .xsjs and .xsjslib les.
Java (Tomcat 8/TomEE)
SAP HANA XS advanced model provides a Java run time to which you can deploy your Java applications.
The Java run time for SAP HANA XS advanced provides a Tomcat or TomEE run time to deploy your Java
code.
Custom run time
You can also create and run a custom run-time environment of your own in XS advanced, so that you can
deploy applications written using languages such as Python or PHP, which are not supported by any of the
default run-time environments included in the XS advanced run-time store.
Restriction
SAP does not provide support for custom language, buildpack, or run-time scenarios.
Applications deployed to a custom run-time environment in XS advanced do not have automatic access
to (or use of) some important features that are built into and supported by the XS advanced framework,
including (but not limited to): authentication and security, logging and auditing, and connections to the
database. If you deploy an application to a custom run-time environment in XS advanced, you must
congure these components manually for the custom application
JavaScript Run Time
SAP HANA XS advanced provides the following updates and new features for the SAP HANA Platform 2.0 SPS
00 JavaScript run-time environment:
sap-hdbext
sap-hdbext is included in the XS_JAVASCRIPT software component for XS advanced and extends the
functionality of the hdb package, which is a JavaScript client for SQLDBC. With this realease, sap-hdbext
supports SAP HANA DB connection pooling for Node.js applications.
454
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
XS JavaScript (XS classic compatibility layer in XS advanced)
Support for $.util.Zip (with limitations)
Support for $.util.SAXParser (with limitations)
Support for $.text.mining
Java Run Time
SAP HANA XS advanced provides the following updates and new features for the SAP HANA Platform 2.0 SPS
00 Java run-time environment:
A central audit-log service
A new Java API for the audit log
A graphical user interface to manage the audit logs
Support for Apache Tomcat 8.0.36
Support for Apache TomEE 1.7.4
A personalized database connection, for example, including: the application name, the organization, and
the space
Conguration of the maximum header size for incoming HTTP requests
Application Router
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for the Node.js application router (approuter.js):
Routes are matched by both URL path and HTTP methods
Use of the Content-Security-Policy header as a “best practice”
CSRF token is generated once per session
Route sources can be matched in a case-insensitive way
Congure a maximum client-connection timeout
The application router supports extensions, for example, custom middleware
CSRFs tokens can be fetched with the HEAD request
Support for conguring the Cache-Control header in the application-router descriptor (xs-app.json);
the header is used when serving static resources.
Deployment Service
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for the deployment service (xs deploy):
List the last “n” MTA operations
Broaden support for the MTA specication:
Support for partial MTA specication version values
Support for metadata for properties and parameters
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 455
Support for “!sensitive” parameter (property tag)
Support for MTA-Module multiple entries
Support for the proper merging of structured parameters
Support for context-path routing (new MTA module parameter)
Allow references from resources to “modules” or “resources
CTS+ Integration: Adaptation of deploy process
Provide blue-green (bg-deploy) command in the XS CLI plug-in
Enable the deployment of a Multi-Target Application (MTA) from a Git repository
Provide support for the management of the XS advanced Service Broker
SAP HANA Deployment Infrastructure
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for SAP HANA Deployment Infrastructure (HDI):
HDI Conguration Parameter Reference
HDI Parameter Reference
HDI Build Plug-ins and File Formats Reference 2.0
HDI Admin Documentation
HDI Deployer
Support for many new features in the deployment service. For more information, see Deployment Service
above.
New design-time artifacts:
Result Cache
Updated design-time artifacts:
Synonym
Support for "database" eld (Cross-Database Access)
Core Data Services
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for Core Data Services (CDS):
Support for subqueries
Support for LIMIT/OFSET in queries
Support for the clause GENERATED ALWAYS AS <expression clause> in an entity denition
Support for the clause GENERATED [ALWAYS | BY DEFAULT] AS IDENTITY in an entity denition
Java OData support for CDS
The CDS text editor now includes a “beautify” (pretty-print) feature that formats code for easier scanning.
456
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Gerrit-Git Service for XS Advanced
As of SPS12, SAP HANA includes a Gerrit server that is integrated with the XS advanced run time. Gerrit
for XS advanced is an optional component of the XS Advanced platform which can be used to store and
manage versions of the source code for XS Advanced applications, for example SAPUI5 and JavaScript or Java
applications, in Git repositories. Gerrit for XS Advanced is attached to the user account and authentication
(UAA) service in the XS Advanced platform.
XS Advanced Command-Line Interface
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for the XS command-line interface:
Numerous improvements and additions to the parameters and options already available with existing
commands
OData Services
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for the OData services:
Support for annotations in metadata
Java OData support for CDS annotations (for example, @OData.publish : true)
Tools
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following new and updated
development tools:
CDS:
Beautify (a.k.a. "pretty-print") feature for code formatting in the CDS text editor
Code completion for tables and views in same HDI container
Report syntax errors in the new Problems View in SAP Web IDE for SAP HANA
Node.js:
Testing: the plain Node.js template now contains a sample Jasmine test
Testing: improvements to the design of the Test Result pane
Debugger: on-demand debugging of already running applications
Debugger: improvements to the design of the UI
New and improved run conguration for the Node.js run time
Java:
Support for the building of Java Modules in the SAP Web IDE for SAP HANA
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 457
Support for the building of Java modules (Web ARchives) with Maven
Support for the running of Java modules (WARs) with TomEE buildpack on XS advanced, including:
Creation of Java Modules
Tighter integration with the SAP HANA Deployment Infrastructure (HDI)
Java OData support for CDS
Migration (XS classic to XS advanced)
New tool to help migrate legacy XS classic applications to run in the new XS advanced run-time
environment
Note
The new SAP HANA XS Migration Guide is also available to guide you through the migration process.
Documentation
This section contains information about the following new or changed development-related documents:
SAP HANA Developer Guide for SAP HANA XS advanced model
SAP HANA XS Migration Guide
SAP HANA Analytics Catalog (BIMC) Reference
SAP HANA Developer Guide for SAP HANA XS advanced model
The SAP HANA Developer Guide for SAP HANA XS advanced model describes the recommended process
to follow when building and deploy applications that run in the SAP HANA extended application services,
advanced model (XS advanced) run time; it also describes the required technical structure of applications that
can be deployed to the XS advanced run-time platform using either the SAP Web IDE for SAP HANA or the XS
command line tools.
The following areas in the SAP HANA Developer Guide for XS advanced model have been added, updated, or
improved :
Getting Started
New and updated tutorials for the SAP HANA Run time Tools (a.k.a SAP HANA Database Explorer)
Maintaining Application Development and Deployment Descriptors
Improved and more comprehensive descriptions of the conguration les used to dene and describe the
build and deployment of a Multi-Target Application (MTA)
Dening the Data Model in XS Advanced
Improved and more comprehensive explanations of how to create and deploy the database artifacts
used to store and provision data for your application's back end and user interface.
New section describing how to congure the HDI deployer
New section describing how to congure access policies in CDS, for example, with Data Control
Language (DCL) “aspects” and role denitions
New and updated sections describing how to use new CDS features, for example, support for
subqueries or element modiers such as “GENERATED ALWAYS
Dening OData Services for XS Advanced Applications
458
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Improved and more comprehensive explanations of how to create and deploy OData services in XS
advanced, for example: changes and additions to the service-denition syntax and many some examples of
working service denitions.
Writing the XS Advanced Application Code
JavaScript/Node.js Run-Time Environment
Improved and more comprehensive explanations of how to make use of the features available in
the JavaScript/Node.js run-time environments, for example, which Node.js packages are available by
default and how you can consume them with your MTA. There is also some new information about the
unit-test framework, which you can use from within SAP Web IDE for SAP HANA.
Java Run-Time Environment
Improved and more comprehensive explanations of how to make use of the features available in the
Java run-time environments, for example, how to set up connections to the SAP HANA database,
how to congure logging and tracing, how to set up audit logs, how to congure authentication and
authorization, how to debug your Java application, and how to enable Java Data Services (a native Java
client for using Core Data Services functionality in the XS advanced Java run time).
Maintaining XS Advanced Application Routes and Destinations
Improvements to and extension of existing information as well as new information about features and
functionality added with SAP HANA Platform 2.0 SPS 00.
SAP Web IDE
A complete reference for SAP Web IDE for SAP HANA, a browser-based integrated development
environment (IDE) for the development of SAP-HANA-based applications comprised of web-based or
mobile UIs, business logic, and extensive SAP HANA data models. SAP Web IDE works in conjunction with
the SAP HANA Run-time Tools (HRTT), the SAP HANA deployment infrastructure (HDI), the Application
Lifecycle Management tools (ALM) and the XS advanced run-time platform
XS Command-Line Interface
Numerous improvements and additions to the parameters and options already available with existing
commands as well as important additions to the installation and deployment functions including more
control of the application version deployed and the services bound to the deployed application.
SAP HANA XS Migration Guide
The SAP HANA XS Migration Guide describes the process of migrating legacy applications running in the XS
classic run-time environment to the new XS advanced run-time environment. The guide describes the tools
and provides an example migration using the SAP HANA Interactive Education (SHINE) demo application
available with SAP HANA XS classic model.
SAP HANA Analytics Catalog (BIMC) Reference
The SAP HANA Analytics Catalog (BIMC) Reference lists and describes the tables and views with the prex
BIMC located in the schema _SYS_BI. It contains metadata required by analytic clients such as Analysis Oce
and Business Cloud. The metadata is also required for access by Multi-Dimensional Expressions (MDX). The
SAP HANA Analytic Catalog is an analytic extension of the database catalog (schema SYS).
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 459
10.4.2SAP Enterprise Architecture Designer, Edition for SAP
HANA, edition for SAP HANA (New)
As of SAP HANA Platform 2.0 SP00, SAP Enterprise Architecture Designer, Edition for SAP HANA, edition for
SAP HANA is available.
SAP Enterprise Architecture Designer, Edition for SAP HANA (SAP EA Designer) lets you capture, analyze,
and present your organization's landscapes, strategies, requirements, processes, data, and other artifacts
in a shared environment. Using industry-standard notations and techniques, organizations can leverage rich
metadata and use models and diagrams to drive understanding and promote shared outcomes in creating
innovative systems, information sets, and processes to support goals and capabilities.
SAP EA Designer supports consuming your content through:
Browsing diagrams and model objects online.
Exporting diagrams as SVG images or printing them.
Generating reports on your diagrams and model objects.
Running an impact analysis.
Posting comments to diagrams and model objects.
SAP EA Designer supports the creation and editing of the following kinds of diagrams:
Business Process - Business process diagrams help you identify, describe, and decompose business
processes. SAP EA Designer supports:
BPMN 2.0 Descriptive, which provides a small subset of objects suitable for business process design
and analysis.
BPMN 2.0 Executable, which includes all the standard BPMN 2.0 objects, and is aimed at technical
modelers and those who are reverse-engineering from SAP BPM or Eclipse BPMN2 Modeler.
Database - Physical data models help you analyze and optimize the structure of your database. You can
reverse-engineer any supported database to create a physical data model. Generation to SAP HANA,
directly to the catalog, or to Web IDE via HDI is also supported.
Enterprise Architecture Diagram - Enterprise architecture diagrams help you analyze and document your
organization, its functions and processes, the applications and systems that support them, and the
physical architecture on which they are implemented.
Process Map - A process map provides a graphical view of your business architecture, and helps you
identify your business functions and high-level processes, independent of the people and business units
who fulll them.
Requirements List - Requirements documents display a hierarchical list of written requirements.
10.4.3SAP Web IDE for SAP HANA (New and Changed)
As of SAP HANA Platform 2.0 SP00, the following new features and changes are available in SAP Web IDE and
integrated SAP HANA tools.
SAP Web IDE for SAP HANA is a browser-based integrated development environment (IDE) for the
development of SAP HANA-based applications comprised of web-based or mobile UIs, business logic, and
extensive SAP HANA data models. SAP Web IDE works in conjunction with the SAP HANA deployment
460
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
infrastructure (HDI), the Application Lifecycle Management tools (ALM), the XS Advanced runtime platform,
and various SAP HANA tools.
SAP Web IDE
Feature Description
Git Features (new) The Git tools have been enhanced with new capabilities. Now
you can:
Set up Git
Congure Git repositories
Use multiple branches
View the History pane
HTML5 Module Templates (new) Two new templates are now available for HTML5 modules:
SAPUI5 application with a basic project structure
SAP Fiori Master-Detail application
Layout Editor (new) A visual designer is now available for the development of
SAPUI5-based HTML5 modules.
Problems View (new) A new pane is available to view and analyze information
about problems in the modules and projects in your work-
space.
Run Console (changed) The enhanced Run console provides a holistic view of all
running modules in a project and a quick access to their
logs.
Runtime Performance Improvements (changed) Performance improvements when building and running
HTML5 and Node.js modules.
Selective Build (changed) You can selectively build artifacts in an HDB module rather
than build the entire module. This supports incremental de-
velopment and shortens the processing time.
User-dened Schema Names (new) You can now dene the name of the database schema that is
automatically created for an HDB module.
SAP HANA Tools (new and changed) Various SAP HANA tools are now available in SAP Web IDE.
For details, see below.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 461
SAP HANA Tools
Calculation View Editor (Modeler)
Feature Description
Rank Node (enhanced) You can now generate an additional output column for rank
nodes to store rank values.
Assigning Semantics (enhanced) In addition to the existing support for assigning semantics
to measures, you can now also assign semantics to attrib-
utes in a calculation view.
Column Lineage (enhanced) Column lineage support is now extended to trace source of
columns used in calculated column expressions, and also
for base measures used in restricted columns.
Cache Invalidation (enhanced) Transaction-based cache invalidation is performed when-
ever the underlying data is modied.
Restricted Columns (new) You can create restricted columns as an additional meas-
ure based on attribute restrictions. For example, you can
choose to restrict the value for the REVENUE column only
for REGION = APJ, and YEAR = 2016.
Support to Convert Attribute Values to Required Formats
(new)
You can assign conversion functions to attribute columns.
These functions help maintain conversion from any internal
to external format and from any external to internal format.
Support for Debugging Calculation Views (new) You can execute debug queries on calculation views and an-
alyze the runtime performance of views. For example, based
on the query that you execute, you can identify pruned and
unpruned data sources in calculation views and at design-
time.
Handling Null Values in Columns (new)
Dene default values for columns (both attributes and
measures). The system uses these default values in the
reporting tools to replace any null values in columns.
Support for Virtual Tables (new) In addition to the already supported data source types, you
can now also use virtual tables as a data source for model-
ing calculation views.
Hierarchies (new) You can use graphical modeling tools to create and dene
hierarchies. The tool supports both level hierarchies and
parent-child hierarchies.
Support for Generating Time Data and Creating Calculation
Views with Time Dimension (new)
You can generate time data into default time-related tables
present in the _SYS_BI schema and use these tables in cal-
culation views to add a time dimension.
Spatial Joins (new) You can create spatial joins to query data from database
tables that contain spatial data.
Time Travel Queries (new) Calculation views now support time travel queries, which
help query the past state of data. You can use input parame-
ters to specify the timestamp in time travel queries.
462 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Feature Description
Validation Rules to Validate Performance of Calculation Views
(new)
The tool supports certain validation rules, which when
executed, validate the calculation view and help identify
whether there are any design-time factors that could impact
the performance of calculation views at runtime.
Time-Dependent Hierarchies (new)
You can create parent-child hierarchies with time depend-
ency. If elements in the hierarchy are changing elements
(time-dependent elements), then enabling the parent-child
hierarchy as a time-dependent hierarchy helps display dif-
ferent versions of that hierarchy at runtime.
Currency Conversion and Unit Conversion (enhanced)
You can reuse the currency conversion or unit conversion
denition of a selected measure in multiple other measures
at a time.
You can also now associate measures with currency code
or unit values in any aggregation node (not only the default
aggregation node) in the calculation view.
Additional Features for Calculation Views
You can now do the following:
Create input parameters derived from scalar functions.
Use improved user interface for creating synonyms.
Use improved user interface for creating analytic privi-
leges.
Create dynamic analytic privileges and hierarchy ana-
lytic privileges.
Generate calculation view documentation.
Prune data in union nodes to optimize query execution.
Preview data for intermediate nodes in calculation
views.
Perform pattern matching and pattern matching with
Cypher query in graph nodes. (Cypher is a registered
trademark of Neo Technology, Inc.).
Group related measures.
CDS Graphical Editor
Feature Description
Creating CDS Views (new) You can use the graphical modeling tools in SAP Web IDE for
SAP HANA to create a design time CDS view. A CDS view
is a virtual table based on the dynamic results returned in
response to a SQL statement.
Creating Calculated Columns (new)
You can create additional columns in a CDS View. The values
of these columns are calculated at runtime based on the
result of an expression.
Creating Associations Using Graphical Tools (new) You can create associations using graphical modeling tools
in SAP Web IDE for SAP HANA to dene the relationship
between entities.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 463
Feature Description
Import Entity Denitions (new) You can import elements from other entities and use the
denition of imported elements to dene the elements of a
selected entity.
Support for additional types of data types (new)
Scalar Types
You can create and use scalar types for dening the
data types of elements. Scalar types are user-dened
scalar data types that reference existing structured
types (for example, user-dened) or the individual types
(for example, eld, type, or context) used in another
data-type denition.
Entity Elements
For dening the data type of elements in an entity or
structure, you can use the data type of elements in
other entities.
Structure Elements
For dening the data type of elements in an entity or
structure, you can use the data type of elements in
other structure.
Database Explorer
Feature Description
The SAP HANA Runtime Tools application is no longer a sep-
arate application. It has been integrated into SAP Web IDE
for SAP HANA as a perspective that is named the database
explorer.
The database explorer contains the same functionality as
the old runtime tools application, with the addition of several
new features and enhancements. These additions include:
Connecting to SAP HANA databases in addition to HDI
containers. With this feature you can view tracing les
for your SAP HANA databases.
Analyzing the performance of SQL queries with the SAP
HANA SQL analyzer. This new tool, available from the
SQL console, allows you to analyze and understand
query execution and performance aspects of your SAP
HANA database. It can be used to view detailed infor-
mation on each query and can help evaluate potential
bottlenecks for your queries.
Importing and exporting catalog objects to and from
HDI containers and databases.
Executing MDX queries using the new MDX console.
Adding generated time data into default, time-related
tables to help test and model applications.
Also, improvements have been made to the navigation of
catalog objects in the database browser tree. A second pane
has been added, which lists the items for a chosen database
object.
464
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Flowgraph Editor
Feature Description
Flowgraph Editor (new) The Flowgraph Editor is now available in SAP Web IDE. It is
a modeling tool for assessing, transforming, cleansing, and
enriching data.
Available nodes The following nodes are available:
Aggregation
Cleanse
Case
Data Mask
Data Source
Data Target
Date Generator
Geocode
History Preserving
Join
Lookup
Map Operation
Procedure (Stored)
Projection (Filter)
Row Generator
Table Comparison
Union
Additional features Additional features include:
Quick View
More intuitive prompts and messages
License validation
Improved navigation between views
Separate input/output ports
Better recovery from invalid state
Better security based on user rights
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 465
Java and Node.js Development
Feature Description
CDS textual editor
You can now:
Beautify sources, also known as pretty-print.
Use code completion for tables and views in the same
HDI container.
Report syntax errors in Problems View (see SAP Web
IDE features above).
Node.js development
Includes the following improvements:
The template for new plain node.js modules now con-
tains a sample Jasmine test.
Slight redesign of the Test Results pane and Debugger
pane.
On-demand debugging of already running applications
(no need to start in debug mode rst).
Java Development (new) You can now create, build, and run Java (WAR) modules.
Text Analysis
Feature Description
Extensions for Text Analysis SAP Web IDE now supports developing custom text analysis
dictionaries and rules, including:
Creating and maintaining custom text analysis diction-
aries and rule sets within SAP Web IDE.
Snippets feature simplies editing of text analysis dic-
tionaries.
Interactively test custom text analysis dictionaries and
rules within SAP Web IDE using text analysis run cong-
urations.
SAP HANA Smart Data Streaming Plugin
Feature Description
CCL editor Simplied CCL text editing with new smart data streaming-
specic features:
Automatic code completion
Case-insensitive syntax highlighting
Error validation and syntax checking
Code snippets
CCL graphical viewer
You can now view CCL elements in a data ow diagram,
and see a list of all elements in your smart data streaming
project in an outline view.
466 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Feature Description
Closer connection to the streaming runtime tool Smart data streaming projects from SAP Web IDE are de-
ployed to the streaming runtime tool for testing, manage-
ment, and monitoring. You can open the streaming runtime
tool directly from the Tools dropdown in the main menu.
For more information, see What's New in SAP HANA Smart Data Streaming (Release Notes).
10.4.4SAP HANA Spatial (New)
As of SAP HANA Platform 2.0 SPS 00, new features are available in the SAP HANA Spatial.
The following method is new:
ST_IntersectsRectPlanar
Related Information
ST_IntersectsRectPlanar Method
10.4.5SAP HANA Graph (New and Changed)
As of SAP HANA Platform 2.0 SPS 00, new and changed features are available for the administration of SAP
HANA Graph:
SAP HANA Graph provides two options for executing graph pattern queries. Besides using a graphical
pattern editor of the Graph Viewer tool, SAP HANA Graph also allows you to describe the pattern in
Cypher query language (Cypher is a registered trademark of Neo Technology, Inc.). The action for pattern
matching is MATCH_SUBGRAPHS. With SAP HANA Platform 1.0 SPS 12, the name of the action for pattern
matching is GET_ISOMORPHIC_SUBGRAPHS.
GraphScript has been added to SQLScript. GraphScript is a high-level, domain-specic language.
GraphScript is specically designed to ease the development and integration of complex graph algorithms
into the existing data management workow. At the same time, GraphScript provides competitive
execution performance for manually written and tuned graph algorithm implementations in a low-level
programming language.
Related Information
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 467
10.4.6Hierarchy Functions (New)
Hierarchy functions are available as of SAP HANA Platform 2.0 SPS 00:
SAP HANA provides a public hierarchy SQL interface.
Core elements are table functions for hierarchy generation and navigation.
Hierarchy enables ad hoc hierarchical queries accelerated by internal caching.
SAP HANA provides the following table functions:
HIERARCHY creates a (partial) hierarchy based on parent-child source data, an optional maximum
recursion depth input parameter and an orphan handling directive.
The following functions are provided for navigation inside a hierarchy:
HIERARCHY_DESCENDANTS returns all descendants of a set of origin nodes, pre-ltered (optional) by
a distance window.
HIERARCHY_ANCESTORS returns all ancestors of a set of origin nodes, pre-ltered (optional) by a
distance window.
HIERARCHY_SIBLINGS returns all siblings of a set of origin nodes.
Related Information
SAP HANA SQL Reference Guide for SAP HANA Platform
10.4.7Search, Text Analysis, and Text Mining
SAP HANA 2.0 SPS 00 introduces the following new and changed features for search, text analysis, and text
mining.
Search (New) [page 469]
Text Analysis (New and Changed) [page 470]
Text Mining (New and Changed) [page 471]
SAP File Processing (New) [page 472]
File Loader (Changed) [page 472]
468
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
10.4.7.1Search (New)
Batch Processing for Search Rules
Search rules support a batch processing mode. This batch mode allows to compare a set of records given in
an input table with a reference set of records with a single call to the search rule set procedure to nd any
duplicates within these two sets of data. The batch mode is described in section Search Rule Sets in Batch
Mode.
The Search Rule Sets Batch mode is introduced to provide the possibility to do mass data processing based on
Search Rule Sets.
Dynamic Search Rule Sets
With this feature, you can use the functionality of search rule sets without having the need to rst activate the
search rule set via the SAP HANA repository or SAP HANA HDI. Within the XML-Tag <ruleset>, you can store a
complete rule set denition.
Filtering on Date Data Type
You can now lter on a date data type, be it partial (e.g. 2016/09), decimal or string in faceted navigation
applications.
New Similarity Calculation Modes
The fuzzy search option similarCalculationMode oers two more modes: typeAhead and
searchCompare. The mode typeAhead is used when the user enters the beginning of a string and all strings
starting with the user input will be returned. The mode searchCompare combines the strength of modes
compare and search while eliminating some of the shortcomings of search mode search.
New CDS Annotation
The new Semantics annotation contains a subset of the semantic annotations dened as CDS core
annotations. The annotations on element level dene language codes and dates or time stamps.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 469
Related Information
10.4.7.2Text Analysis (New and Changed)
Web IDE Extensions for Text Analysis
SAP Web IDE now includes support for developing custom text analysis dictionaries and rules.
Create and maintain custom text analysis dictionaries and rule sets within the Web IDE.
Snippets feature simplies editing of text analysis dictionaries.
Interactively test custom text analysis dictionaries and rules within the Web IDE using text analysis run
congurations.
See chapter Managing Custom Text Analysis Congurations with XS Advanced inside the SAP HANA Text
Analysis Developer Guide for details.
XS Advanced Integration
The standard Node.js packages for the SAP HANA XS Advanced Model now include an API for text analysis.
This API provides a convenient JavaScript interface to the text analysis functionality in SAP HANA, and also
allows you to perform text analysis on any data, not just data stored in the SAP HANA database for which a
full-text index is being created. In addition, the XSJS compatibility layer has been extended to include the XS
Classic API for text analysis, making it easier to migrate your existing applications to the XS Advanced Model.
Refer to the SAP HANA Developers Guide for SAP HANA XS Advanced Model for information on how to obtain
and deploy these optional Node.js packages.
Text Analysis SQL API
The new TA_ANALYZE SQL procedure allows text analysis functions to be performed on arbitrary inputs, not
just data stored in the SAP HANA database. The procedure accepts both plain text and binary document input,
and provides access to all of the text analysis capabilities in SAP HANA.
Voice of the Customer for Arabic
Voice of the customer (sentiment analysis) functionality is supported for text in Arabic.
470
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Neutral Language Support
Text analysis can now be performed in a "language-neutral" manner on whitespace-delimited languages.
This allows text analysis and text mining to be used, at least in a limited manner, with whitespace-delimited
languages for which SAP does not currently provide full support (e.g., Chechen or Somali). The language-
neutral processing can be requested using the new "UD" language code. This code can be used with the
LANGUAGE, LANGUAGE COLUMN, and LANGUAGE DETECTION parameters on the CREATE FULLTEXT INDEX
SQL statement.
Refer to the SAP HANA Search Developer Guide for more information on how to use the neutral ("UD")
language code.
Turkish Parts of Speech for Negated Verbs
The Turkish language modules now dene unique part-of-speech tags to identify negated verbs. For example,
one form of the rst person singular English verb to like is seviyorum in Turkish. The negated form (to not like) is
sevmiyorum. The new part of speech tag for sevmiyorum, which is unique to Turkish, is V-Sg1-Neg, rst person
singular negated verb.
Expanded Part of Speech Tags in the $TA Table
Expanded part-of-speech information can now be requested from text analysis and accessed via the $TA
table. This expanded information is not generated by default; it must be explicitly requested using a
custom text analysis conguration. The expanded information is provided in a new $TA table column
called TA_TYPE_EXPANDED. (The TA_TYPE column continues to provide simplied part-of-speech names for
backward-compatibility.)
For example, the English words run, runs, running, and ran have the same value in TA_TYPE: verb. In the
TA_TYPE_EXPANDED column however, the respective values are V-Pres, V-Pres-3-Sg, V-PrPart, and V-Past.
10.4.7.3Text Mining (New and Changed)
XS Advanced Integration
The standard Node.js packages for the SAP HANA XS Advanced Model now include an API for text mining. This
API provides a convenient JavaScript interface to the text mining functionality in SAP HANA. In addition, the
XSJS compatibility layer has been extended to include the XS Classic API for text mining, making it easier to
migrate your existing applications to the XS Advanced Model.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 471
Refer to the SAP HANA Developer Guide for XS Advanced Model for information on how to obtain and deploy
these optional Node.js packages.
New DEFAULT Keyword for Text Mining SQL functions
The NEAREST NEIGHBORS and TOP parameters in the SQL functions for text mining can specify the value as
DEFAULT, instead of a numeric value. Using DEFAULT causes the function to use the same value that was used
at text mining initialization (either the original value from the text mining conguration, or an override value
specied using the TEXT MINING CONFIGURATION OVERLAY parameter or the initialize function in the
text mining XS classic or advanced APIs).
10.4.7.4SAP File Processing (New)
SAP File Processing is an optional capability of SAP HANA 2.0 that provides a set of HTTP services to extract
structured information (text and metadata) from unstructured les.
The rich set of HTTP APIs enables application programmers to integrate SAP File Processing features in client
applications.
Before you can start, you have to deploy SAP File Processing with the SAP HANA Database Lifecycle Manager
hdblcm to your SAP HANA system that is running XS Advanced.
10.4.7.5File Loader (Changed)
The File Loader component was introduced with SAP HANA 1.0 SPS 09. It can be used with SAP HANA 2.0 as
well.
Note
However, if you start the development of new projects on SAP HANA 2.0, we recommend the use of the new
HTTP services that are delivered with SAP File Processing for SAP HANA.
10.4.8SAP HANA Interactive Education (SHINE) for XS
Advanced (New and Changed)
SHINE for XSA is a demo content that makes it easy to learn how to build applications on SAP HANA Extended
Application Services Advanced Model. This demo content is delivered as a package containing sample data and
design-time developer objects for application database tables, views, OData and user interfaces.
As of SAP HANA Platform HANA 2.0 SPS00, the following new features are available in SAP HANA Interactive
Education (SHINE) for XS Advanced:
472
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Java Runtime: the Java implementation has been added to SHINE to showcase Create Read Update Delete
(CRUD) operations on oData V4 services implemented by using the new Java OData support for CDS
annotations in XS Advanced . This scenario is a part of the new User CRUD tile.
Automated Role Collection Creation: a role collection needs to be created via XS Advanced Administration
tool to access SHINE Data Generator. This procedure now be performed automatically within the SHINE
application.
Cross-Container Access: cross-container access is required to access database artifacts in another HANA
Deployment Infrastructure (HDI) container or in a foreign schema(for example, SYS or _SYS_BI). SHINE
now has two HDI containers (core-db and user-db) and it showcases how to access user-db artifacts in
core-db by dening and granting roles . SHINE also showcases how to access foreign schema objects (for
example, view within a SYS schema) via a User-Provided Service (CUPS) in the core-db container.
Service Replacement: service replacements in the MTA deployment descriptor (mtad.yaml) are required
to map real services to logical services. This feature is used in SHINE to map the User-Provided Service
(CUPS) to logical service names.
Schema Cong: the Schema Cong MTA Deployment Descriptor in allows you to provide an actual schema
name for a container instead of the default guid assigned by HDI. This feature is used in SHINE to provide a
schema name for the user-db HDI container.
MTA Deployment Extension Descriptor: it allows you to provide system-specic information only known to
the system administrator. MTA Deployment Extension Descriptor (mtaext) is used in SHINE to pass the
parameters required for CUPS creation.
oData Batch: batch requests allow grouping of multiple operations. This implementation in nodejs oData
v2 is used in SHINE for creation of multiple users with one request.
oData Metadata Caching: allows the caching of a metadata document in the browser for a dened time
period and the browser no longer needs to make repeated requests to the $metadata document.
10.5 Reference
SAP HANA Platform 2.0 SPS 00 introduces new and changed features which are described in the reference
documentation.
SAP HANA SQL and System Views Reference (New and Changed) [page 474]
As of SAP HANA Platform 2.0 SPS 00, the following new features and changes are available in the SAP
HANA SQL syntax and are documented in the SAP HANA SQL and System Views Reference.
SAP HANA Client Interfaces (New and Changed) [page 481]
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA Client Interface Programming Reference Guide
contains documentation for the following new and changed features.
SAP HANA Predictive Analysis Library (New and Changed) [page 483]
As of SAP HANA Platform 2.0, new and changed features for the Predictive Analysis Library (PAL) are
available.
SAP HANA SQLScript Reference (New and Changed) [page 488]
As of SAP HANA Platform 2.0 SP00, the following new features and changes are available in SAP HANA
SQLScript and are documented in the SAP HANA SQLScript Reference.
SAP HANA Core Data Services (CDS) Reference (New and Changed) [page 488]
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 473
As of SAP HANA Platform 2.0 SP00, the following new features and changes are documented in the
SAP HANA Core Data Services (CDS) Reference.
SAP HANA Analytics Catalog (BIMC Views) Reference (New) [page 489]
As of SAP HANA Platform 2.0 SP00, the new SAP HANA Analytics Catalog (BIMC Views) Reference is
available in the reference library.
10.5.1SAP HANA SQL and System Views Reference (New and
Changed)
As of SAP HANA Platform 2.0 SPS 00, the following new features and changes are available in the SAP HANA
SQL syntax and are documented in the SAP HANA SQL and System Views Reference.
SQL Statements (New and Changed)
ALTER DATABASE Statement
(changed)
You can now cancel a replica to clean up the system.
ALTER ROLE Statement (new)
Adds or drops the mapping of LDAP groups for a role.
ALTER STATISTICS Statement
(new)
Alters existing data statistics objects.
ALTER SYSTEM APPLICATION
ENCRYPTION Statement
(new)
Manages encryption keys for applications by using the internal data
encryption service.
ALTER SYSTEM CLEAR
TIMEZONE CACHE Statement
(new)
Removes cached timezone denitions.
ALTER SYSTEM CLEAR
RESULT CACHE Statement
(changed)
Clears the result cache.
ALTER SYSTEM LOG
ENCRYPTION Statement
(new)
Manages encryption keys for logs by using the internal data encryption
service.
ALTER SYSTEM PERSISTENCE
ENCRYPTION Statement
(new)
Controls whether persistent data is stored on disk in an encrypted or non-
encrypted format.
ALTER SYSTEM REFRESH
RESULT CACHE Statement
(changed)
You can now specify static or dynamic caching.
474 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
ALTER SYSTEM REFRESH
RESULT CACHE ENTRY
Statement (changed)
You can now refresh the result cache entry.
ALTER SYSTEM REMOVE
RESULT CACHE ENTRY
Statement (changed)
You can now remove the result cache entry.
Removes any user-dened hints from the system that are associated
with the specied statement.ALTER SYSTEM REMOVE STATEMENT HINT
Statement (new)
ALTER SYSTEM SET
ENCRYPTION ROOT KEYS
BACKUP PASSWORD
Statement (new)
Creates a password for root key backups.
ALTER SYSTEM STOP
DATABASE Statement (new)
Stops all of the services that belong to a database on all hosts.
ALTER TABLE Statement
(changed)
You can now apply the midsizelob_threshold system property to a specied
column or to all columns of a specied table.
ALTER VIEW Statement
(changed)
You can now specify static or dynamic caching.
ALTER SYSTEM REMOVE STATEMENT HINT Statement (new)The
existing ADD CACHE RETENTION clause now supports virtual tables.
ALTER VIRTUAL TABLE
Statement (changed)
You can now update a virtual table to reect metadata changes in the
corresponding remote table.
BACKUP DATA Statement
(changed)
You can now add a comment to a backup using the COMMENT clause.
CREATE | ALTER FUNCTION
Statement (changed)
You can now specify static or dynamic caching.
CREATE | ALTER | VALIDATE
| DROP LDAP PROVIDER
Statements (new)
Create, alter, validate, and drop LDAP providers.
CREATE AUDIT POLICY
Statement (changed)
The following new audit actions have been added:
ALTER APPLICATION ENCRYPTION
ALTER APPLICATION ENCRYPTION ROOT KEY
ALTER LOG ENCRYPTION
ALTER LOG ENCRYPTION ROOT KEY
ALTER ROOT KEYS BACKUP PASSWORD
CREATE GRAPH WORKSPACE
DROP GRAPH WORKSPACE
CREATE FUNCTION
Statement (changed)
For scalar functions, you can now specify the DETERMINISTIC keyword to
indicate that the function always returns the same value (when using the
same input parameters). Deterministic functions are advantageous because
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 475
they only need to be calculated once; the cached value can be used for
subsequent calls to the function.
CREATE PROCEDURE
Statement (changed)
The new MAP_MERGE operator allows you to use the mapper function to
unite intermediate result tables.
You can now use the graph script programming language in procedures
by specifying the GRAPH option of the LANGUAGE clause.
CREATE ROLE Statement
(changed)
You can now create a role and associate it with an LDAP DN.
CREATE STATISTICS
Statement (changed)
The enhancements listed below are also available in the new ALTER
STATISTICS Statement as well.
New REFRESH TYPE clause allows you to control the refresh behavior for
a data statistics object.
New ENABLE clause allows you to control whether the data statistics
object is used by the optimizer.
New TOPK data statistics object type.
New ACCURACY and PREFIXBITS properties for data statistics objects.
CREATE | ALTER USER
Statement (changed)
You can now congure LDAP group authorization for a user.
ALTER USER statement only: a new GRANT | REVOKE CREATE ANY ON
OWN SCHEMA clause allows a user with USER ADMIN to control another
user's ability to create objects in their own schema.
ALTER USER statement only: a new GRANT | REVOKE ROLE PUBLIC
clause allows a user with USER ADMIN to control whether another user
has PUBLIC role.
CREATE VIEW Statement
(changed)
You can now specify static or dynamic caching.
Use association propagation by specifying the WITH ASSOCIATIONS
clause.
CREATE VIRTUAL
PROCEDURE Statement (new)
You can now create virtual procedures.
EXPORT Statement (changed)
Two new export options, STATISTICS ONLY and NO STATISTICS, allow you to
control the export of data statistics objects.
GRANT Statement (changed)
The new CREATE VIRTUAL PROCEDURE object privilege authorizes
access to create custom virtual procedures.
The new ENCRYPTION ROOT KEY ADMIN system privilege authorizes all
commands related to management of root keys.
IMPORT Statement (changed)
Two new import options, STATISTICS ONLY and NO STATISTICS, allow you to
control the import of data statistics objects.
IMPORT FROM Statement
(changed)
Two new import options, STATISTICS ONLY and NO STATISTICS, allow you to
control the import of data statistics objects.
MERGE INTO Statement (new) Merges data into an existing column store table.
476 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
RECOVER DATABASE
Statement (changed)
You can now specify a distinct destination for backups of the backup catalog.
SELECT Statement (changed) The FOR UPDATE clause now supports virtual tables.
UNLOAD Statement (changed) A new PARTITION clause unloads the specied partition(s) from memory.
SQL Functions (New and Changed)
ADD_MONTHS_LAST Function (new) Computes the specied date plus the specied
number of months, with the output date being the
last day of the month if the input date is the last day
of the month, even if those two dates dier.
ENCRYPTION_ROOT_KEYS_EXTRACT_KEYS Function
(new)
Extracts root keys and sends them to a client session
as a CLOB.
GRANT Statement (changed) Support has been added for the new ENCRYPTION
ROOT KEY ADMIN system privilege.
HIERARCHY Function (new)
Generates a hierarchy.
HIERARCHY_ANCESTORS Function (new)
Returns all ancestors of a set of start nodes from a
hierarchy.
HIERARCHY_DESCENDANTS Function (new)
Returns all descendants of a set of start nodes from
a hierarchy.
HIERARCHY_SIBLINGS Function (new)
Returns all siblings of a set of start nodes, including
the start nodes, from a hierarchy.
JSON_QUERY Function (new) Extracts a JSON text from a JSON text using a SQL/
JSON path expression.
JSON_TABLE Function (new) Queries a JSON text and presents it as a relational
table.
JSON_VALUE Function (new) Extracts an SQL value of a predened type from a
JSON value.
NEWUID Function (new) Creates a unique identier within the database.
XMLEXTRACT Function (new) Returns an XML element matching the specied
XPath query.
XMLEXTRACTVALUE Function (new) Returns an XML value matching the specied XPath
query.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 477
System Views (New and Changed)
APPLICATION_ENCRYPTION_KEYS System View
(new)
Provides information about encryption keys used by
applications.
AUDIT_LOG System View (changed)
The new XS_APPLICATION_USER_NAME column
species the name of the XS application user.
Previously, the AUDIT_ACTION column was
VARCHAR(40). Now, it is VARCHAR(64).
AUDIT_POLICIES System View (changed)
Previously, the EVENT_ACTION column was
VARCHAR(32). Now, it is VARCHAR(64).
DATA_STATISTICS System View (changed)
New DATA_SOURCE_STORAGE_TYPE, REFRESH_TYPE,
IS_ENABLED, and LAST_REFRESH_REASON columns to
support additional data statistics functionality.
ENCRYPTION_ROOT_KEYS System View
(changed)
New ROOT_KEY_STATUS column species the key state.
FUNCTIONS System View (changed) The new CREATE_TIME column species the creation
time of the function.
GRANTED_ROLES System View (changed) New IS_GRANTED_BY_LDAP column species whether
the role is granted by LDAP.
HINT Details (changed) The new RESULT_LAG hint for Active/Active (read-
enabled) routes a statement to a secondary system on
an Active/Active (read-enabled) system.
LDAP_PROVIDER_URLS System View (new) Lists all LDAP provider URLs.
LDAP_PROVIDERS System View (new) Lists all LDAP providers.
LDAP_USERS System View (new) Lists all LDAP users.
M_ASYNCHRONOUS_TABLE_REPLICAS
(deprecated)
This view is now deprecated.
M_BACKUP_CATALOG_FILES System View
(changed)
In the case of a log backup, the new
LOG_SEGMENT_COUNT column species the number of
log segments contained in the backup.
M_BACKUP_CONFIGURATION System View
(changed)
The new BACKINT_CATALOG_BACKUP_PATH column
species the directory for backint-based catalog
backups.
The new FILE_CATALOG_BACKUP_PATH column
species the directory for le-based catalog backups.
The new LOG_BACKUP_TIMEOUT column species
the log backup timeout.
The new LOG_BACKUP_INTERVAL_MODE column
species the log backup interval mode.
478 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
M_CONNECTIONS System View (changed) There is a new
SOURCE_SITE_LOGICAL_CONNECTION_ID column,
which is the logical connection ID of the origin
site. Additionally, the IS_HISTORY_SAVED column is
deprecated. Do not use this value.
M_CS_LOB_SPACE_RECLAIMS System View
(new)
Provides information regarding executed LOB garbage
collection runs.
M_DELTA_MERGE_STATISTICS System View
(changed)
There is a new CRITICAL value, which is triggered based
on a critical decision function, has been added to the
MOTIVATION column.
M_DISKS System View (changed) The data type for the USAGE_TYPE column has changed
from VARCHAR(32) to VARCHAR(64) and a new usage
type, CATALOG_BACKUP, has been added.
M_DYNAMIC_RESULT_CACHE System View
(new)
Lists statistics for the dynamic result cache.
M_DYNAMIC_RESULT_CACHE_EXCLUSIONS
System View (new)
Lists cache exclusions of the dynamic result cache.
M_ENCRYPTION_OVERVIEW System View (new) Reports the encryption status for all data at rest where
encryption is supported.
M_EXECUTED_STATEMENTS System View
(changed)
The new SCHEMA_NAME column shows the name of the
schema in whose context the statement is executed.
M_EXPENSIVE_STATEMENTS System View
(changed)
The new SCHEMA_NAME column shows the name of the
schema in whose context the statement is executed.
M_LANDSCAPE_HOST_CONFIGURATION
System View (changed)
The new WORKER_CONFIG_GROUPS and
WORKER_ACTUAL_GROUPS columns assign hosts to
logical worker groups.
M_LOAD_HISTORY_SERVICE System View
(changed)
The new MUTEX_COLLISION_COUNT column displays
the number of collisions on mutexes while the
new READ_WRITE_LOCK_COLLISION_COUNT column
displays the number of collisions on read/write locks.
Additionally, the TRANSACTION_ID_RANGE column has
been removed.
M_MEMORY_OBJECTS System View (changed) The following new columns have been added:
MOVE_IN_COUNT - The total number of objects
moved in from a dierent statistic.
MOVE_IN_SIZE - The total size of objects moved in
from a dierent statistic.
MOVE_OUT_COUNT - The total number of objects
moved out to a dierent statistic.
MOVE_OUT_SIZE - The total size of objects moved
out to a dierent statistic.
M_REMOTE_STATEMENTS System View
(changed)
The new REMOTE_STATEMENT_DETAILS column
species the statement details.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 479
M_SECURESTORE System View (deprecated) The M_SECURESTORE System View is now deprecated.
M_SQL_PLAN_STATISTICS System View (new) Provides statistics of a live or evicted individual execution
plan.
M_SYSTEM_REPLICATION_MVCC_HISTORY
System View (new)
Displays the global MVCC timestamp history in the
secondary site for system replication.
M_TABLE_LOB_STATISTICS System View
(changed)
The new LOB_STORAGE_TYPE column returns a packed
LOB container or le LOB.
M_TABLE_STATISTICS System View (changed) The new MERGE_COUNT column returns the count of
merge into statements for the table.
M_WORKLOAD_CAPTURES System View
(changed)
The new PROGRESS column displays the progress of the
load process used for Workload Analyzer based on engine
instrumentation.
M_WORKLOAD_REPLAYS System View
(changed)
The new REPLAY_NAME and REPLAY_DESCRIPTION
columns display the user-specied name and description
of the replayed workload.
PROCEDURES System View (changed) The new CREATE_TIME column species the creation
time of the procedure.
ROLE_LDAP_GROUPS System View (new) Lists all of the LDAP group roles.
SCHEMAS System View (changed) The new CREATE_TIME column species the creation
time of the schema.
SEQUENCES System View (changed) The new CREATE_TIME column species the creation
time of the sequence.
STATEMENT_HINTS System View (changed) New SYSTEM_HINT_STRING column displays when a
system hint conicts with an existing hint.
SYNONYMS System View (changed) The new CREATE_TIME column species the creation
time of the synonym.
TABLES System View (changed) The new CREATE_TIME column species the creation
time of the table.
USERS System View (changed) New AUTHORIZATION_MODE column species the
authorization mode of a user, which can be either local
or LDAP.
VIEWS System View (changed)
New cache types for HAS_CACHE column.
New CREATE_TIME column species the creation
time of the view.
Privileges (New and Changed)
LDAP ADMIN privilege (new)
Authorizes administration of LDAP providers.
480 PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
ENCRYPTION ROOT KEY ADMIN
Authorizes administration of encryption root keys.
CREATE VIRTUAL PACKAGE
privilege (new)
Allows creation of virtual packages for objects such as functions and
procedures.
The CREATE VIRTUAL PACKAGE privilege replaces the CREATE VIRTUAL
FUNCTION PACKAGE privilege, which is now deprecated.
CREATE VIRTUAL FUNCTION
PACKAGE privilege (deprecated)
The CREATE VIRTUAL FUNCTION PACKAGE privilege is deprecated. Use
its replacement, CREATE VIRTUAL PACKAGE, instead.
10.5.2SAP HANA Client Interfaces (New and Changed)
As of SAP HANA Platform 2.0 SPS 00, the SAP HANA Client Interface Programming Reference Guide contains
documentation for the following new and changed features.
BINTEXT_IS_NCLOB ODBC Connection Property (New)
Determines which SQL type is used to describe BINTEXT columns.
Client Support for Additional Operating Systems (New)
The SAP HANA client is now supported on Linux on PowerPC (Little Endian) and Windows Server 2016.
Client-Side Support for Active/Active (Read Enabled) (New)
Active/Active (read enabled) allows SAP HANA system replication to support read-only access to the
secondary system. The SQL Console in the SAP HANA Database Explorer is unable to use Active/Active (read
enabled).
Node.js Client (New)
A Node.js driver is available for download. See 2391549
for the download location. The Node.js JavaScript
API can be used to connect to SAP HANA databases, issue SQL queries, and obtain result sets.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 481
sessionVariable Option (New)
Use the new sessionVariable option to set session variables when connecting to your database via JDBC or
ODBC.
API Support for Query Timeout (New)
You can set SQL_ATTR_QUERY_TIMEOUT on an ODBC Statement Handle via SQLSetStmtAttr(). The
client now supports the Microsoft ADO.NET Command.CommandTimeout property. Additionally, SAP HANA
HDBSQL now supports the -qto (/querytimeout) option to set a server-side timeout for all SQL operations.
New Default Value for SPATIALTYPES (Changed)
The SPATIALTYPES connection property has a new default value of 2.
New Default Value for emptyTimestampIsNull (Changed)
The emptyTimestampIsNull JDBC connection property now defaults to TRUE rather than FALSE.
Empty Timestamp Is Null Connection Property Supported for ODBC and
ADO.NET
Support has been added for the Empty timestamp is null ADO.NET connection parameter, and the
EMPTYTIMESTAMPISNULL ODBC connection property. When enabled, both these connection options specify
that DAYDATE, SECONDTIME, SECONDDATE, and LONGDATE values inserted as empty strings are returned as
NULLs.
SAP HANA Clients Only Support SPS 10 and Higher (Changed)
SAP HANA clients support connecting to SAP HANA 1.0 SPS 10 and higher servers. Connecting to SAP HANA
1.0 SPS 9 and earlier servers results in an error.
482
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
JDBC Driver Uses JDK 1.8 (Changed)
The SAP HANA JDBC driver now includes support for the Java Development Kit (JDK) 1.7 (JDBC 4.1) and JDK
1.8 (JDBC 4.2) APIs. Previously, support was limited to the JDK 1.6 (JDBC 4.0) APIs. The minimum JDK version
supported by the SAP HANA JDBC driver is now JDK 1.6 (JDBC 4.0). Previously, it was JDK 1.4 (JDBC 3.0).
New ODBC Data Type SQL_TYPE_DST_GEOMETRY for SPATIALTYPES ODBC
Connection Property
Both ST_POINT and ST_GEOMETRY columns are described with this type, by default.
10.5.3SAP HANA Predictive Analysis Library (New and
Changed)
As of SAP HANA Platform 2.0, new and changed features for the Predictive Analysis Library (PAL) are available.
General
In the new release of PAL, it is possible to run parallel execution of selected PAL functions with partition
table as input from SAP HANA SQLScript using the “WITH HINT (PARALLEL_BY_PARAMETER_PARTITIONS
())” clause. The main scenario is to run scoring function with a trained model from PAL supervised learning
algorithms, such as decision trees and random forest. Given a partitioned data table, the parallel execution of
the scoring function will be initiated on each data partition, sharing the same trained model and other function
parameters from the other unpartitioned tables. This feature works on both single-node and multiple-node
SAP HANA environment. An example is illustrated below:
CREATE COLUMN TABLE PAL_C45_DATA_TBL (
...
)
GROUP TYPE "MULTI_NODE"
GROUP NAME "NODE_ALL"
PARTITION BY 'ROUNDROBIN 8';
...
CALL PAL_DT_SCORING_PROC(PAL_C45_DATA_TBL, PAL_C45_CONTROL_TBL,
PAL_C45_TREEMODEL_TBL, ?) WITH HINT (PARALLEL_BY_PARAMETER_PARTITIONS(p1));
New Algorithms
Generalized Linear Models
Generalized linear models (GLM) is used to regress responses satisfying exponential distributions, for example,
Normal, Poisson, Binomial, Gamma, inverse Gaussian, etc. Compared with the classical linear regression, GLM
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 483
regresses a linear predictor η instead of the response itself. The linear predictor and the expected response μ
is connected via link function, η=g(μ) or μ=g
-1
(η), which guarantees that the regressed responses are in the
valid range. Possible link functions are identity, log, reciprocal, logit, probit, complementary log-log, and inverse
square.
Given observations y
i
, i=1,2,,n of response, and covariates x
i
, i=1, 2,, n, where x
i
is a p-dimensional
vector, the coecients are to estimated,
where β
0
is the intercept, and β is a p-dimensional vector, corresponding to the coecients with respect to the
covariates.
Cox Proportional Hazard Model
Cox proportional hazard model (CoxPHM), a special generalized linear model, is a well-known realization of
survival model demonstrating the failure/death at some time. It has the following generalization:
h(t,x)=h
0
(t,α)exp(x
T
β)
where h
0
is called baseline hazard function, and α is a parameter inuencing the baseline hazard function.
In contrast to standard generalized linear models, CoxPHM does not have an intercept, as it is eliminated by
division.
Sequential Pattern Mining
Given a database of sequences each of which consists of a list of transactions ordered by timestamp,
sequential pattern mining problem is to discover all frequent sequential patterns with a user-dened threshold
(i.e. support). For example, 7% of customers buy travel insurance two days after they buy international ight
ticket. In PAL, state-of-the-art algorithm is implemented which is ecient for large search space and long
pattern dense dataset.
Gradient Boosting Decision Tree
Gradient boosting and decision tree (GBDT) is an ensemble machine learning technique for regression and
classication problems. GBDT builds the model in a stage-wise fashion and allows optimization of some loss
functions. For each iteration/week model, negative gradient (e.g. residual) is the training sample for new
classication/regression tree to t and sum up the output values of all trees to get the nal score. In the rst
version, PAL GBDT supports mixed feature types, both classication and regression, square loss and logistic
loss, L1 and L2 regularization, and model evaluation and cross-validation.
Linear Discriminant Analysis
Suppose that you are given an N×D (dataset) matrix X with an N×1 (label) vector Y, each row x
(i)
of X is a
D-dimensional sample belonging to class y
i
and the total number of classes is C. Linear discriminant analysis
(LDA) assumes that the samples within each class k obey normal distribution with dierent means μ
k
but same
covariance matrix Σ:
P(xy=k)~N(μ_k,Σ),
i.e.
Under this modeling assumption, you can t the model parameters μ
1
,…,μ
C
and Σ by estimating the training
dataset.
484
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
The implementation of LDA in PAL includes three functions: LDAFIT, LDACLASSIFY and LDAPROJECT, where
the main function is LDAFIT. It performs LDA of a given dataset X with label Y and returns:
A classier which can be used in LDACLASSIFY to classify further unlabeled data;
A projection model which can be used in LDAPROJECT to reduce the dimension of dataset X by projection.
The projected data can be used for visualization or further classication.
Empirical prior of each class and some other basic information.
Fast Fourier Transform
This function realized discrete Fourier transform (DFT). Consider that a sequence of N complex elements
x
0
,x
1
,,x
N-1
, can be transformed into an N-periodic sequence of complex numbers,
which is the so-called discrete Fourier transform (DFT). For simplicity, as it is N-periodic, k=0,1,,N-1 is
often adopted.
Likewise, x
n
can be transformed back from X
k
via inverse discrete Fourier transform (IDFT),
Also, the inverse transform is N-periodic, and generally n=0,1,,N-1 is used.
Executing DFT straightforwardly will take a time complexity of O(N
2
). Danielson-Lanczos formula shows that
the discrete Fourier transform can be computed in O(Nlog
2
N), which is the so-called fast Fourier transform
(FFT).
However, this formula requires that the length of sequence is of order of 2, which is not satised generally. In
PAL, chirp z-transform algorithm is employed to deal with the situation that length of sequence is not exactly
power of 2, taking advantage of convolution, which assures O(Nlog
2
N) time complexity.
Data Summary
Data summary provides an overview of the data set, which reveals the most important information of each
variable. It is able to handle both continuous and categorical variables even with null value in the data set.
For any continuous variable, if one denotes the data in one column as x
i
(i=1,…,n), data summary returns the
following statistical quantities of x
i
. It is worth noting that these statistical quantities are calculated assuming
that the data is a sample instead of a population.
For a categorical variable, this algorithm returns the occurrence and the percentage of each category. Note that
null is also treated as a category for the categorical variable.
Correlation Function for Time Series
A correlation function gives the statistical correlation between random variables. If one considers the
correlation function between random variables and itself at dierent time points, then this is often referred to
as an auto-correlation function (ACF). Correlation functions of dierent random variables are sometimes called
cross-correlation functions (CCF). Correlation functions used in astronomy, nancial analysis, econometrics,
and statistical mechanics dier only in the particular stochastic processes they are applied to.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 485
PAL considers the sample correlation function only. Given a variable with observations x
1
,x
2
,,x
n
, the
sample auto-covariance function (ACVF) at lag h is
And its corresponding auto-correlation function is
Evidently, and .
In contrast with auto-correlation function, partial auto-correlation function (PACF) measures the relationship
between x
t
and x
t-k
after removing the eects of other time lags 1,2,,k-1, which is very useful in time series
forecast. PACF can be solved iteratively with Durbin-Levinson algorithm.
The cross-covariance function and cross-correlation function between series x and y, likewise, has denitions
γ
XY
(h)=E[(x
t
X
)(y
t+h
Y
)]
ρ
XY
(h)=E[(x
t
X
)(y
t+h
Y
)]/(σ
X
σ
Y
)=γ
XY
(h)/(σ
X
σ
Y
)
where μ
X
and σ
X
are the mean and the standard deviation of the process x
t
, which are constant over time due
to stationary; and similarly for y
t
, respectively.
Condition Index
Condition index is used to detect collinearity problem between independent variables which are later used as
predictors in a multiple linear regression model. This method rstly employs the principle component analysis
(PCA) to nd out the eigenvalues and the corresponding eigenvectors of the matrix formed by independent
variables, then calculates the condition index and variance decomposition proportion. For example, if you feed
in a data matrix(X
ij
)
n×p
, this function gets singular values σ
i
(i=1,…,p) and the V matrix(V
kj
)
p×p
from the
singular value decomposition, then proceeds to calculate condition index
CI
i
=σ
max
/σ
i
,
and the condition number
CN=σ
max
/σ
min
,
which is the largest value of condition indices. Note that a diagonal matrix D=diag(σ
1
,…,σ
p
), you can
calculate variance decomposition proportions π
jk
=ϕ
jk
/ϕ
k
, where
and . This quantity
illustrates how much variance of the estimated coecient for a variable can be explained by the k-th principle
component.
Generally speaking, a dataset with condition number larger than 30 indicates the existence of a possible
collinearity. Variables which are involved in collinearity have variance decomposition proportions greater than
0.5.
486
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Enhanced Algorithms
Multiple Linear Regression
Added Cholesky decomposition as the new algorithm to solve the linear equation.
Added ADMM (alternating direction method of multipliers) as the new algorithm to solve elastic net
regularization problem.
Enabled categorical variable support.
Added optional statistical tests: Durbin-Watson test, Ramsey RESET test, Breusch-Pagan test, and
Kolmogorov-Smirnov normality test.
Enhanced multi-thread strategy when using QR decomposition.
Principal Component Analysis (PCA)
Signicant performance enhancement
Latent Dirichlet Allocation (LDA)
Signicant performance enhancement
Random Distribution Sampling
Added Poisson distribution.
Random Forest
Added parameter NODE_SIZE to control the minimum number of records in leaf node.
Added parameter CALCULATE_OOB to control if OOB error is calculated.
Added parameter SPLIT_THRESHOLD to set the threshold for Gini index to control tree growing.
Exposed parameter THREAD_NUMBER to allow explicit control over the multi-threading setting.
Exposed parameter SEED to set the seed for random number generator.
Forecast Smoothing
Enhanced model selection logic.
Added range limit of tuning parameters (e.g. ALPHA, BETA, GAMMA).
Added prediction interval of forecast.
C4.5 Decision Tree
Default value of parameter SPLIT_THRESHOLD changed to 1e-5.
CART Decision Tree
Default value of parameter SPLIT_THRESHOLD changed to 1e-5.
Seasonality Test
Outputs seasonal and trend components in additional to random component for seasonality test.
Enabled multi-threading.
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 487
Trend Test
Added additional statistics as output.
K-means, K-medians, K-medoids
Default value of parameter EXIT_THRESHOLD changed to 1.e-6.
Auto ARIMA
Enabled multi-threading for exhaustive parameter search.
Support Vector Machine (SVM)
Default value of parameter RBF_GAMMA changed to 1.0 / number of features.
10.5.4SAP HANA SQLScript Reference (New and Changed)
As of SAP HANA Platform 2.0 SP00, the following new features and changes are available in SAP HANA
SQLScript and are documented in the SAP HANA SQLScript Reference.
Enhancement of SQLScript Query Export: nested calls, DMLs, DDLs and dynamic SQL can be now
exported as well
Support of explicit parallelization of read-write procedure calls
Size operator for tabular arguments
Initialization of declared table variables
Scalar UDF result cache
Support for synonyms in HEADER ONLY-artifacts
MAP_MERGE operator for evaluating each input in parallel and union all intermediate results
BIND_AS functions for parameterization control.
10.5.5SAP HANA Core Data Services (CDS) Reference (New
and Changed)
As of SAP HANA Platform 2.0 SP00, the following new features and changes are documented in the SAP HANA
Core Data Services (CDS) Reference.
The SAP HANA Core Data Services (CDS) Reference for SAP HANA 2.0 SPS 00 includes information for CDS
support in both the XS classic and the XS advanced run-time environments.
For SAP HANA Platform 2.0 SPS 00, SAP HANA XS advanced provides the following updates and new features
for Core Data Services (CDS), which are documented in the SAP HANA Core Data Services (CDS) Reference:
Support for subqueries
Support for LIMIT/OFSET in queries
Support for the clause GENERATED ALWAYS AS <expression clause> in an entity denition
Support for the clause GENERATED [ALWAYS | BY DEFAULT] AS IDENTITY in an entity denition
488
PUBLIC
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
Java OData support for CDS
Support for DCL-based access policies in CDS
CDS access-policy documents are coded in the Data Control Language (DCL). In a CDS access-policy
document, you can create CDS roles and CDS aspects for instance-based authorizations.
Support for CDS aspects
CDS aspects associate an attribute with permitted values of a user.
Support for CDS roles
CDS access-policy documents contain a set of CDS role denitions coded in the Data Control Language
(DCL). You can use CDS roles to create instance-based authorizations.
10.5.6SAP HANA Analytics Catalog (BIMC Views) Reference
(New)
As of SAP HANA Platform 2.0 SP00, the new SAP HANA Analytics Catalog (BIMC Views) Reference is available
in the reference library.
The SAP HANA Analytics Catalog (BIMC Views) Reference describes the SAP HANA Analytics Catalog, which
consists of tables and views with the prexBIMC” located in the schema _SYS_BI. The catalog contains
metadata required by analytic clients such as Analysis Oce and Business Objects Cloud. The metadata is also
required for access via Multi-Dimensional Expressions (MDX).
The SAP HANA Analytics Catalog is populated with metadata when the following analytic models are deployed:
Calculation views
Analytic views
Attribute views (the column CUBE_NAME is lled in with the '$ATTRIBUTE' value for these models)
What's New in the SAP HANA Platform 2.0
SAP HANA Platform 2.0 SPS 00 Features
PUBLIC 489
11 Deprecated Features
A deprecated feature in the SAP HANA platform is a feature that will be removed in a future support package
stack, at the earliest one support package stack after the start of deprecation.
Certain features are deprecated in specic support package stacks of the SAP HANA platform, starting with
SAP HANA 2.0 SPS 01.
SAP HANA Extended Application Services classic model (XS classic) and SAP HANA Repository are
deprecated as of SAP HANA 2.0 SPS 02.
Related Information
SAP HANA 2.0: Deprecations reported by the HANA statistics server (SAP Note 2425002)
Deprecation of SAP HANA extended application services, classic model and SAP HANA Repository (SAP Note
2465027)
Central Note for Behavioral Changes in SAP HANA (SAP Note 2679360)
490
PUBLIC
What's New in the SAP HANA Platform 2.0
Deprecated Features
12 Important Disclaimer for Features in SAP
HANA
For information about the capabilities available for your license and installation scenario, refer to the Feature
Scope Description for SAP HANA.
What's New in the SAP HANA Platform 2.0
Important Disclaimer for Features in SAP HANA
PUBLIC 491
Important Disclaimers and Legal Information
Hyperlinks
Some links are classied by an icon and/or a mouseover text. These links provide additional information.
About the icons:
Links with the icon
: You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:
The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.
Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering an SAP-hosted Web site. By using
such links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.
Videos Hosted on External Platforms
Some videos may point to third-party video hosting platforms. SAP cannot guarantee the future availability of videos stored on these platforms. Furthermore, any
advertisements or other content hosted on these platforms (for example, suggested videos or by navigating to other videos hosted on the same site), are not within
the control or responsibility of SAP.
Beta and Other Experimental Features
Experimental features are not part of the ocially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by
SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use
the experimental features in a live operating environment or with data that has not been suciently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to inuence the future product accordingly. By providing your
feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.
Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.
Bias-Free Language
SAP supports a culture of diversity and inclusion. Whenever possible, we use unbiased language in our documentation to refer to people of all cultures, ethnicities,
genders, and abilities.
492
PUBLIC
What's New in the SAP HANA Platform 2.0
Important Disclaimers and Legal Information
What's New in the SAP HANA Platform 2.0
Important Disclaimers and Legal Information
PUBLIC 493
www.sap.com/contactsap
© 2024 SAP SE or an SAP aliate 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
aliate 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 specications may vary.
These materials are provided by SAP SE or an SAP aliate company for
informational purposes only, without representation or warranty of any
kind, and SAP or its aliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP aliate 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.
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 aliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.
Please see https://www.sap.com/about/legal/trademark.html for
additional trademark information and notices.
THE BEST RUN 