Skip to content
NextLytics
Megamenü_2023_Über-uns

Shaping Business Intelligence

Whether clever add-on products for SAP BI, development of meaningful dashboards or implementation of AI-based applications - we shape the future of Business Intelligence together with you. 

Megamenü_2023_Über-uns_1

About us

As a partner with deep process know-how, knowledge of the latest SAP technologies as well as high social competence and many years of project experience, we shape the future of Business Intelligence in your company too.

Megamenü_2023_Methodik

Our Methodology

The mixture of classic waterfall model and agile methodology guarantees our projects a high level of efficiency and satisfaction on both sides. Learn more about our project approach.

Products
Megamenü_2023_NextTables

NextTables

Edit data in SAP BW out of the box: NextTables makes editing tables easier, faster and more intuitive, whether you use SAP BW on HANA, SAP S/4HANA or SAP BW 4/HANA.

Megamenü_2023_Connector

NextLytics Connectors

The increasing automation of processes requires the connectivity of IT systems. NextLytics Connectors allow you to connect your SAP ecosystem with various open-source technologies.

IT-Services
Megamenü_2023_Data-Science

Data Science & Engineering

Ready for the future? As a strong partner, we will support you in the design, implementation and optimization of your AI application.

Megamenü_2023_Planning

SAP Planning

We design new planning applications using SAP BPC Embedded, IP or SAC Planning which create added value for your company.

Megamenü_2023_Dashboarding

Dashboarding

We help you with our expertise to create meaningful dashboards based on Tableau, Power BI, SAP Analytics Cloud or SAP Lumira. 

Megamenü_2023_Data-Warehouse-1

SAP Data Warehouse

Are you planning a migration to SAP HANA? We show you the challenges and which advantages a migration provides.

Business Analytics
Megamenü_2023_Procurement

Procurement Analytics

Transparent and valid figures are important, especially in companies with a decentralized structure. SAP Procurement Analytics allows you to evaluate SAP ERP data in SAP BI.

Megamenü_2023_Reporting

SAP HR Reporting & Analytics

With our standard model for reporting from SAP HCM with SAP BW, you accelerate business activities and make data from various systems available centrally and validly.

Megamenü_2023_Dataquality

Data Quality Management

In times of Big Data and IoT, maintaining high data quality is of the utmost importance. With our Data Quality Management (DQM) solution, you always keep the overview.

Career
Megamenü_2023_Karriere-2b

Working at NextLytics

If you would like to work with pleasure and don't want to miss out on your professional and personal development, we are the right choice for you!

Megamenü_2023_Karriere-1

Senior

Time for a change? Take your next professional step and work with us to shape innovation and growth in an exciting business environment!

Megamenü_2023_Karriere-5

Junior

Enough of grey theory - time to get to know the colourful reality! Start your working life with us and enjoy your work with interesting projects.

Megamenü_2023_Karriere-4-1

Students

You don't just want to study theory, but also want to experience it in practice? Check out theory and practice with us and experience where the differences are made.

Megamenü_2023_Karriere-3

Jobs

You can find all open vacancies here. Look around and submit your application - we look forward to it! If there is no matching position, please send us your unsolicited application.

Blog
NextLytics Newsletter Teaser
Sign up now for our monthly newsletter!
Sign up for newsletter
 

SAP BW/4HANA & Data Tiering with NSE - a Performance Comparison

Today we are talking about data management in your HANA system and what simple Data Tiering option you have available to save valuable memory that HANA works with. Not all objects need the power of limited RAM, learn in this blog post: 

  • What NSE is and when to use it
  • How easy it is to use
  • How much performance loss you have (we measured)
  • Tips and tricks in use.

Theory - What is Native Storage Extension (NSE)?

SAP NSE was first introduced with HANA 2.0 SPS04* and for the first time provides many customers with an easy way to move data from main memory to disk, usually without investing in new hardware. With just a few steps, this Data Tiering technology can save important main memory of the HANA database. NSE is a simpler and more up-to-date alternative to the previously known Extension Node.

Multi-Temperature Data Management

The following graphic classifies the technologies accordingly according to the concept of multi-temperature data management.

1_Multi_Data_Temp_Data Tiering

Multi-temperature data management in the context of volume, change frequency, performance and cost

  • SAP HANA In-Memory represents the "hot" storage.
  • SAP HANA Native Storage Extension or Extension Node represents the "warm" storage.
  • SAP HANA Date Lake and SAP IQ act as the "cold" storage.

In this blog post, we look at the latest solution to implement a "warm" storage.

NSE Implementation

The implementation of NSE is very simple. Whereas previously a scale-out system had to be implemented with the Node extension, which meant increased maintenance effort, the Native Storage Extension is simply implemented as a scale-up system and scaled vertically. NSE is already available from HANA 2.0 SPS04 and can also be easily used in BW4/HANA modeling with SPS05, as shown in the following figure.

2_Data_modeling_Data Tiering

BW/4HANA: Data tiering options from SPS05

The use is possible out-of-the-box and very flexible. You can convert any data store such as aDSO to "warm" storage ("page loadable") at any time and just as easily make it available again as "hot" data ("column loadable") should the requirements for the availability of the data have changed. This is possible either on object level or on partition level.

Performance & the Buffer Cache

Query performance is slightly reduced for "warm" data compared to "hot" data. "Page loadable data is loaded into memory in granular units as required for query processing. The access to the data, e.g. for the query engine, is identical. To enable high performance, a so-called buffer cache is used, which allocates 10% of the total "hot" memory by default. Requested data from the "warm" memory is buffered accordingly and is thus available for reporting more quickly.

Here, some Dimensions must be taken into account in the implementation, since the volume of the "hot" memory should be a maximum of 4x and that of the "warm" memory a maximum of 8x as large as the volume of the buffer cache.

3_NSE_size_Data Tiering

Example implementation of NSE on a HANA database with 2TB of memory


A comparison of SAP BW, HANA Native and SAP DW-Cloud - Download the Whitepaper here!

Neuer Call-to-Action


NSE Advisor - Identify suitable savings potentials

In order to find out which data stores offer a large savings potential in "hot" storage, the so-called NSE Advisor can be used. Suitable objects are to be identified. This means that the NSE Advisor is activated under a representative workload to check the performance of queries, memory utilization and the duration of processes. The goal of the heuristics is:

  • Objects that are small and accessed frequently should be kept in memory to improve performance.
  • Objects that are large and rarely accessed are better stored on disk to reduce memory consumption. These objects are fetched into memory only when needed and only for the pages that are accessed.

The result is a suggestion list with tables that offer savings potential and should be transferred to the "warm" memory. Experience has shown that a long runtime (e.g. one week) of the NSE Advisor leads to better results. For complex cases, however, a manual analysis is indispensable.

Test scenario - Are disadvantages due to NSE noticeable?

So much for the theory about NSE but how much memory is ultimately saved when NSE is introduced and the data temperature of the aDSO is maintained accordingly? Are performance losses noticeable in reporting?

We have gone to the bottom of these questions for you and have prepared two aDSO, which are identically constructed and are each available in "warm" memory and "hot" memory.

The two aDSO define themselves as follows:

  • 1 key field of the data type CHAR
  • 24 further fields of the data type CHAR
  • 1 key figure of the data type DEC
  • 5 million lines of test data in the active data table

The aDSO with the description Data-Temperature: hot is maintained with the data temperature "hot" and Data-Temperature: warm with the temperature "warm", as can be seen in the following screenshot. The size is almost identical, because there is no further compression of the data.

4_DTO_Cockpit_Data Tiering

DTO cockpit: aDSO hot and aDSO warm in maintained state

In order to check the performance, a sufficiently complex query was created on each of the two aDSOs, which can then be checked for runtime. In SAP BW/4HANA, the evaluation is performed using the query CDS view Rv_C_OlapStatAQuery. This view contains the relevant fields with runtime information:

  • TIMETOFRONTEND (runtime frontend)
  • TIMEOLAP (runtime OLAP)
  • TIMEDM (runtime data manager)
  • TIMEPLAN (runtime planning)

Results

Full use of the buffer cache

The queries were started identically often via the query monitor. The average values determined for the run with full use of the buffer cache are as follows:

Description

Runtime Data Manager (in seconds)

Hot Query

0,221

Warm Query

0,495 (+125%)*

Results with full use of buffer cache *(rounded with Hot Query as base)

Without full use of the buffer cache

In the following test series, the buffer cache was artificially reduced to 5 megabytes in order to force access to the hard disk without a buffer cache. The average values determined are as follows:

Description

Runtime Data Manager (in seconds)

Hot Query

0,221

Warm Query

0,527 (+138%)

Results without full use of buffer cache *(rounded with Hot Query as base)

Evaluation of the results

The results of the test show that performance suffers significantly when SAP NSE is used. Accessing the query via the buffer cache is associated with an increased runtime of 125% on average and even 138% without full use of the buffer cache.

Interesting facts

To check which objects are in the buffer cache or generally as "page loadable" there are some useful DDL statements that can be executed on the HANA database.

-- Shows which Data is currently inside the buffer cache:
SELECT * FROM M_CS_ALL_COLUMNS WHERE LOAD_UNIT = 'PAGE';

-- Shows which Tables are currently inside the buffer cache:
SELECT * FROM M_CS_TABLES WHERE LOAD_UNIT = 'PAGE';

-- Shows Information on cache configuration, cache status and current memory usage:
SELECT * FROM M_BUFFER_CACHE_STATISTICS;

-- Shows Statistics on each pool in a buffer cache:
SELECT * FROM M_BUFFER_CACHE_POOL_STATISTICS;

 

NSE - Our Conclusion

The Native Storage Extension is a simple way to save valuable HANA memory. This potential should be considered in any case, but especially on the lower layers of the LSA++.

5_LSA_Data Tiering

Multi-Temperature Data Management in the LSA++ Context

Our recommendation for action clearly states an implementation on the staging layer or corporate memory layer. On layers with frequent access to data required for reporting, it is essential to consider the performance aspects from using SAP NSE, as these can vary depending on the scenario.

Implementing SAP NSE on a BW/4HANA system is easy to do and analyzing your own data stores is a worthwhile investment.

Do you have questions about HANA Native Storage Extension or about Multi-Temperature Data Management? Are you trying to build up the necessary know-how in your department or do you need support with a specific question? We are happy to help you with this. Request a non-binding consulting offer today.

Learn more about SAP BW

 

*source: https://help.sap.com/docs/SAP_BW4HANA/

,

avatar

Steven

Steven works as an SAP BW / BI consultant. His special focus is on SAP BW and various backend technologies such as SQLScript. Through his two final theses in his studies of business informatics, he was already able to gain deeper knowledge in this area. In his free time he likes to spend time outdoors and travel the world.

Got a question about this blog?
Ask Steven

Blog - NextLytics AG 

Welcome to our blog. In this section we regularly report on news and background information on topics such as SAP Business Intelligence (BI), SAP Dashboarding with Lumira Designer or SAP Analytics Cloud, Machine Learning with SAP BW, Data Science and Planning with SAP Business Planning and Consolidation (BPC), SAP Integrated Planning (IP) and SAC Planning and much more.

Subscribe to our newsletter

Related Posts

Recent Posts