HANA News Blog

Ongoing HEX performance issues with SPS07

Jens Gleichmann • 5. November 2024

Query Execution Engine Overview

SAP HANA Performance Guide for Developers
© 2023 SAP SE or an SAP affiliate company. All rights reserved. 
Source: SAP HANA Performance Guide for Developers

I personally love the current statement in the SAP HANA troubleshooting guide regarding HEX:


"In SAP HANA, the SQL query processor parses SQL statements and generates SQL query execution plans.

As the query processor and the query optimizer continue to be developed (in, for example, the new HANA

Execution Engine - HEX) the resultant execution plans for a given query may change from one HANA release to

another, or the plan may change because the data being queried has been reorganized; it is therefore possible

that the performance of an SQL query statement may degrade."


With SPS06 and even more so with SPS07, the HEX engine was used more frequently. 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. We faced scenarios with 10x times more runtime and +30% CPU load. There are also other scenarios, please have a look at the table below. 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 statements. If you have similar performance issues after the upgrade to SPS07 feel free to contact us!


Our current recommendation is to use min. Rev. 79 with some workarounds. The performance degradation is extreme in systems like EWM and BW with high analytical workload, but also a lot of S/4 systems are affected. Some issues can only be fixed with an update. This means no workaround!


There are also cases in SAP standard coding that can be solved using always the latest SAP's delivered statement hints (2700051) or by implementing SAP notes for adding an ABAP hint (e.g. 3359519). We are checking this performance aspects in our health check services. If you want to be on the safe side, contact us - it's better to be safe than sorry.


### Update 11 / 2024 ###

Starting with Rev. 76, the problems became less. But in the last weeks more and more customers with special scenarios upgraded to SPS07 and again a lot of new issues raised. The new recommendation is to use at least Rev. 79 with workarounds.


Here we collected some of the current notes which affecting the performance of the system in the context of HEX [status: 05-11-2024]:

With SAP HANA 2.00.070 - 2.00.071 an issue with the HEX engine results in unexpected overhead valuating TOP / LIMIT conditions (SAP Note 3369534)
Update HANA HEX Issues 11-2024

HEX Issue Overview

Some statistics on the current support S/4HANA releases:

S/4 Release details

DB Hint issues*

number of fixes for HEX performance issues in S/4*

statistic of number of fixes and their related SPS*

You can see that the most fixes were applied in the latest / upcoming SPS (e.g. S/4 HANA 2022 SPS04 - SAPK-10704INS4CORE which was released in 07/2024). This means a lot of customers are currently affected by the performance issues and can only apply the single notes!


*The statistics figures are without guarantee and subject to change   

SAP HANA News by XLC

HANA Roadmap
von Jens Gleichmann 21. November 2024
End of maintenance for HANA 2.0 SPS05 in 2025 - plan your upgrade path
SAP HANA 2.0 SPS08 Release for Customers
von Jens Gleichmann 21. November 2024
SAP HANA 2.0 SPS08 was released to customers at the end of November 2024. The release has 4 years of maintenance. In parallel, SPS05 will remain under maintenance until December 2025 and SPS07 until April 2028.
Feedback of customer projects and the labyrinth of the roles & responsibilities list
von Jens Gleichmann 18. November 2024
Feedback of customer projects and the labyrinth of the roles & responsibilities list
HANA OS maintenance
von Jens Gleichmann 29. Oktober 2024
Please notice that when you want to run HANA 2.0 SPS07, you need defined OS levels. As you can see RHEL7 and SLES12 are not certified for SPS07. The SPS07 release of HANA is the basis for the S/4HANA release 2023 which is my recommended go-to release for the next years. Keep in mind that you have to go to SPS07 when you are running SPS06 because it will run out of maintenance end of 2023.
News for the hyperscaler AWS, GCP and MS Azure
von Jens Gleichmann 20. September 2024
news instances with SAPS, memory and CPU values in comparison
Unforeseen cloud cost increases
von Jens Gleichmann 13. September 2024
Unforeseen cloud cost increases - RedHat announced back in January this year that the costs for cloud partners will be changed effective April 1, 2024. They called it scalable pricing.
HANA 2.0 SPS08 Roadmap
von Jens Gleichmann 13. September 2024
SAP HANA 2.0 SPS08 Roadmap and features Q4 2024
SUSE maintenance
von Jens Gleichmann 16. August 2024
How to interpret the SUSE Lifecycle
RISE with SAP: Roles & Responsibilities
von Jens Gleichmann 24. Mai 2024
For every possible RISE with SAP customer it is essential to know the difference of the status quo system construct (on-prem self managed / hosted or managed by a MSP) and the RISE offering with a lot of excluded tasks or tasks with additional costs. If you don't need this tasks, it might be a perfect solution, but our experience is that most customers need some of the services with extra costs.
vm.swappiness settings
von Jens Gleichmann 24. März 2024
The details of swapping in the context of SAP HANA
more
Share by: