HANA News Blog

BW data tiering - a success story

Jens Gleichmann • 20. Dezember 2024

Efficiently managing data for better performance and lower total costs

 A few years ago, you often heard the phrase “data is the new oil”. Well this may be one of the reasons the BW systems are growing so fast. Since years there a possibilities with BW on anyDB and BWoH to save ressources with NLS. But for some scenarios this is not suitable in terms of performance or design. The challenge: Stop the growing and needed resizing of a already out of sizing BW/4HANA system of already 24TB (Scale-up). For additional optimization besides NLS, we analyzed the system and found more than just one product or feature could solve.

We found aspects which we see mostly in systems: a grown data model over several years. But we found ways to optimize:


  1. Removed overhead in key attributes which reduced the PK size (often more than 50% of the overall table size)
  2. optimized the partitioning design
  3. used NSE for write optimized ADSOs
  4. introduced NSE for several ADSOs
  5. optimized usage of inverted individual indexes

We saved over 800GB just with removing unnecessary key attributes.

With an optimized partitioning strategy and the new possibilities of BW/4HANA we could reduce the meta data overhead in the dictionary which also saved over 500GB in total.   

    The introduction of NSE was the real game changer which saved more as we estimated. The estimation was round about to page out 4TB. In the end we paged out 5,4TB which results in terms of sizing in round about 10TB savings (some memory for the buffer cache must be counted in).


    The journey is not over yet, we still have some ADSOs not covered and calculate with additional 1TB to be paged out. On top we are working on another possibility to convert the current inverted hash indexes to inverted value and save another 1,5 - 2TB of memory.

A great team effort which could only be achieved when BW team and DBAs working close together. The target of saving 8TB was exceeded.

BW/4HANA sizing savings for all data tiering optimizations with NSE

Sizing savings for all optimizations

distribution of the savings in terms of optimization tasks

Data Tiering

estimated savings

Payload and Sizing Savings

Data Tiering

Total Savings

current and planned savings

Data Tiering

SAP HANA News by XLC

von Jens Gleichmann 14. April 2026
KVM as alternative with low TCO
inverted individual index is a special type of SAP HANA index wich can save memory
von Jens Gleichmann 6. April 2026
An inverted individual index is a special type of SAP HANA index which can only cover unique indexes. This includes all primary key structures. Unlike traditional column store indexes on more than one column (inverted value, inverted hash) an inverted individual index (Inv Idv Idx) doesn't need a dedicated concat.
Total NSE savings
von Jens Gleichmann 5. April 2026
This blog presents the results of a customer case which can be used as a reference for other implementations
SAP HANA performance issues with THP on multi-NUMA node systems
von Jens Gleichmann 30. März 2026
SAP HANA systems may experience high swap usage, hangs, or performance issues when THP (Transparent Huge Pages) is enabled with "madvise". This occurs on multi-NUMA node systems where one or more NUMA nodes are close to full memory usage while others have plenty of free memory, and counters for THP allocations, direct
Transparent Huge Pages (THP) with madvise can trigger high swap usage and performance issues
von Matthias Sander 26. Januar 2026
Transparent Huge Pages (THP) with madvise can trigger high swap usage, performance issues, or even system hangs on multi-NUMA systems.
HANA performance degradation after upgrade to SPS07+SPS08
von Jens Gleichmann 9. Januar 2026
With SPS06 and even stronger in SPS07 the HEX engine was pushed to be used more often. This results on the one hand side in easy scenario to perfect results with lower memory and CPU consumption ending up in faster response times. But in scenarios with FAE (for all entries) together with FDA (fast data access), it can result in bad performance. After some customers upgraded their first systems to SPS07 I recommended to wait for Rev. 73/74. But some started early with Rev. 71/72 and we had to troubleshoot many statement. If you have similar performance issues after the upgrade to SPS07 feel free to contact us! Our current recommendation is to use Rev. 74 with some workarounds. The performance degradation is extreme in systems like EWM and BW with high analytical workload.
SAP HANA NSE - a technical deepdive with Q&A
von Jens Gleichmann 24. November 2025
SAP NSE was introduced with HANA 2.0 SPS04 and based on a similar approach like data aging. Data aging based on a application level approach which has a side effect if you are using a lot of Z-coding. You have to use special BADI's to access the correct data. This means you have to adapt your coding if you are using it for Z-tables or using not SAP standard functions for accessing the data in your Z-coding. In this blog we will talk about the technical aspects in more detail.
Partitioning process
von Jens Gleichmann 24. November 2025
SAP HANA scaling and tuning with proper partitioning designs
R+R: intersection and missing services
von Jens Gleichmann 25. September 2025
In transformation projects like SAP RISE / SAP Cloud ERP, the Roles & Responsibilities (R+R) list often serves as the backbone for collaboration between customer, partner, and SAP. Yet too often, this list is treated as a static document rather than a living framework. Sometimes nobody knows exactly what was defined by
Why Databases Need Optimizer Statistics – With a Focus on SAP HANA
von Jens Gleichmann 28. Mai 2025
In the world of modern database management systems, query performance is not just a matter of hardware—it’s about smart execution plans. At the core of generating these plans lies a critical component: optimizer statistics. This article explores why databases need optimizer statistics, with particular emphasis on SAP HANA, while drawing parallels with Oracle, Microsoft SQL Server (MSSQL), and IBM DB2.
more