Differences Between SAP HANA and S4HANA

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Differences between SAP HANA and

S/4HANA
 Publicado el 20 de abril de 2018

Taryck Bensiali
SeguirSeguir a
Senior SAP Architect at Sopra Steria

What is SAP HANA & SAP S/4HANA?


SAP HANA is more than a database, it is a platform.

SAP S/4 HANA is the successor of the R/3 (ECC) ERP on SAP HANA

SAP HANA in details

From mid-2000, start an idea:

How would we build an ERP now if we build it from scratch?

1. Forget our 35 years old choices


2. Store data in-memory
3. Have OLTP (online transaction processing) and OLAP (Online
Analytical Processing) together in one system sharing the same
data.
4. Simplified data model
All this considerations leads to think of a new database, made by SAP, dedicated to SAP
Product:

 In-Memory
 Column store
 Compression
 Partitioning
 No longer need of aggregate table
 Insert Only
This database R&D has/will be financed by the 15% (average) of licence gather by SAP
that are redistributed to Database vendors (mainly Oracle).

This database features have been enhanced with other services to build the SAP HANA
Platform. Source.

Application Services

Web Server like:


 XS :Spider monkey
 XSA : Node.js

Database Services

Most of these services require a licence (not included within the runtime version).

Integration Services

Most of these services require also a licence (not included within the runtime version).

Licenced in several version


The licence model of SAP HANA, is far from being clear or simple. Please find the most
suitable (non official) document on this subject: SAP HANA 2.0 editions and
options – by the SAP HANA Academy.
However there 2 distinct cases:

 Runtime edition: You pay for a SAP product that require SAP
HANA, which is included (as a database mainly) in your product
licence costs. No additional fee.
 Full edition: You pay for SAP HANA whatever you store within
this SAP HANA (either a SAP product or your own developments)
So, having a SAP Product installed on a non-runtime edition of SAP HANA, means in
some way to pay twice for SAP HANA (at least the database side)....

Zoom on S/4HANA

S/4 HANA is the successor of SAP R/3 (ECC) and is based on the possibilities provided by
SAP HANA, that why it's name contains both S/4 (R/3 related) and HANA (HANA
Database related). Please note that it is considered as a new product, which means that
upgrading from R/3 (or ECC) to S/4 leads to buy new licences. Around five times
your maintenance cost.

S/4 HANA runs only under SAP HANA where SAP R/3 (ECC) was database agnostic.

The main objectives of S/4 HANA is to have a simplified data model (versus SAP R/3 or
ECC) and to provide Analytics (OLAP) and Transactional (OLTP) on the same
system/data in real time.

S/4 HANA start with "Simple Finance" module, which provide a simplified data model
for R/3 (ECC) FI & CO modules. "Simple Finance" is considered now to be stable and
efficient.

The "Simple Logistics" module of S/4 HANA is almost all other SAP R/3 (ECC) Modules :
MM, SD, PP, PM, WM, ... At this moment, this module provide interesting new features,
but also some drawbacks, which prevent some customers to switch to "Simple Logistics".

What are the relationship between this two SAP


Products?
Well, as we already said, S/4 HANA runs only on SAP HANA, so the relationship is
obvious : You need SAP HANA to run S/4 HANA. SAP HANA is included in S/4 HANA
as "the database" of the S/4 ERP. However this doesn't means that you could use all the
feature of the SAP HANA Platform. Because on S/4 HANA you only have, by default,
(means without paying additional licence) the "runtime" version of SAP HANA.
Using all capabilities of SAP HANA Platform require a SAP HANA "Enterprise Edition"
(at least an non-runtime edition) which cost is based on storage/memory volumes, meaning
that all the "free storage" (in term of licence, not in term of hardware) you've got with S/4
HANA is gone. You'll have to pay (unit size is block of 64Gb) the SAP HANA "Enterprise
licence" for all the data you store for S/4 HANA, which is probably prohibitive.

Despite S/4 HANA and HANA looks like very similar regarding their names, it is
two distinct products that are connected, especialy in term of licence. Think twice
before chosing you licencing model.

What are the next steps of SAP HANA?


Intel & Micro 3D Xpoint SSD (Solid State Disk) technology is very promissing
for SAP HANA. To understand the interest of this technology for SAP HANA, we
must deep dive into the memory managment of SAP HANA, especialy the delta
merge operation.

SAP HANA data storage is organized to be optimized for read access. Each time
changed are made to the database they are stored in the "delta store". Periodicaly the
"delta store" is merge with the "main store" that is optimized for read access like this:

Using 3D Xpoint, which is 1 000 times faster than actual SSD, allow to have non-
volatile memory for main store, which provide the following advantages:

 Bigger In-Memory database no longer limited by DRAM size


 Speeding up restart because main store no longer need to be
reloaded from traditional HDD
 Introduce a new warm storage faster than dynamic tiering.
 ...

What are the next steps of SAP S/4 HANA?


SAP HANA could be either Scale UP (a bigger server) or Scale OUT (adding
new servers). However S/4 HANA do not support (yet ?) the Scale OUT option because
there is too many join operation between different tables that would spread on several
servers in the Scale OUT scenario. See SAP Note 1825774 - SAP Business Suite
Powered by SAP HANA - Multi-Node Support (require SAP S-User)

Scale OUT scenario is mainly used on analytical systems such as SAP BW, SAP
CAR, ...

So S/4 HANA size is limited by the size of one node/server which is around
12Tb. The next step would be probably to allow S/4 HANA to run on several nodes. Here
is, from my point of view, the requirements/solution:

 Duplicate small tables on all nodes (to allow query with join
operations)
 Spread (using partitions) big tables on several nodes

NUMA Issues

However, even on a single server you could have performance issue due to NUMA (Non-
uniform memory access). See SAP Note 2470289 - FAQ: SAP HANA Non-
Uniform Memory Access (NUMA) (require SAP S-User).
Roughly, your SAP HANA server/node is made by aggregating several blades which each
contains CPU and RAM. The access from a CPU to the RAM on the same blade is
fast because it use the local memory bus. While the access from a CPU to the RAM
on anotherblade is slow, because it needs to use the communication bus that connect
all the blades together, which is slower than the local memory bus.

This performance issue, is "like" the scale-out scenario (that is not supported) except that,
in the scale-out scenario the communication is made throught the network, while on the
NUMA scenario the communication is made throught the communication bus,
which is much much faster than the network, so NUMA issues ocurs only on
big/huge volumes.

Please feel free to comment, to provide additional information or to react on this article.

Feel free to contact me directly on Linked-In for any personal situation, which cannot be
exposed on the public comments.
Best regards,

You might also like