ERPClimb logoERPClimb
BW Performance
BW / Analyticsintermediate 8 min read

Improving InfoProvider and Query Performance with Aggregation and Design Choices (Part 5)

Preview · a free account unlocks the full lesson

Key takeaway

Explains practical techniques for improving InfoProvider and query performance including compression, partitioning, aggregates versus HANA-native optimizations, and query design choices.

In this lessonShow sections

Visual overview

Improving InfoProvider and Query Performance with Aggregation and Design Choices (Part 5) — learning sheetIn one line: Explains practical techniques for improving InfoProvider and query performance including compression, partitioning, aggregates versus HANA-native optimizations, and query design choices.ERPClimb.com / BW / LESSON 5/7 / LEARNING SHEETImproving InfoProvider and Query Performance withAggregation and Design Choices (Part 5)1 · IN ONE LINEExplains practical techniques for improving InfoProvider and query performance includingcompression, partitioning, aggregates versus HANA-native optimizations, and query designchoices.2 · KEY IDEAS EXPLAINED1Once a BW consultant understands where bottlenecksoriginate, the next skill is applying targetedtechniques to improve InfoProvider storageefficiency and query response time. Thesetechniques differ meaningfully between classicBW-on-anyDB, BW-on-HANA, and BW/4HANA, so it is…2In classic InfoCube-based models, compression(also called collapsing) merges request-based datainto the compressed fact table, removing requestIDs and reducing the number of records throughsummarization of identical dimension combinations.Uncompressed InfoCubes with many requests…3Partitioning is another classic technique:dividing a large InfoCube's fact table by a timecharacteristic (such as fiscal period) allows thedatabase, and later HANA, to prune partitionsduring query execution, scanning only relevanttime ranges instead of the entire table. In…4Aggregates were a cornerstone technique in classicBW: pre-calculated, pre-aggregated summary tablesbuilt on frequently queried characteristiccombinations, allowing the OLAP engine to answercertain queries from a much smaller pre-summarizedtable rather than scanning the full fact table…3 · DO · AVOIDBest practice!Common mistakeValidate loaded data before runningcompression, since compressed requests…Base aggregate design, where still applicable,on actual query runtime statistics rather than…Re-evaluate whether classic techniques likeaggregates and partitioning are still the…✕Compressing InfoCube requests beforeconfirming the loaded data has passed…✕Building aggregates based on assumptions aboutquery usage rather than actual query…✕Assuming aggregates or BW Accelerator conceptsstill apply the same way in BW/4HANA without…4 · IN A REAL PROJECTA manufacturing client's monthly finance InfoCube query took over three minutes to render in Analysis forOffice. Investigation showed the InfoCube had not been compressed in over a year, leaving hundreds ofuncompressed requests that the OLAP engine had to scan through for every query execution. After validating the…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Once a BW consultant understands where bottlenecks originate, the next skill is applying targeted techniques to improve InfoProvider storage efficiency and query response time. These techniques differ meaningfully between classic BW-on-anyDB, BW-on-HANA, and BW/4HANA, so it is essential to know which optimizations are still relevant in each deployment.

In classic InfoCube-based models, compression (also called collapsing) merges request-based data into the compressed fact table, removing request IDs and reducing the number of records through summarization of identical dimension combinations. Uncompressed InfoCubes with many requests accumulate redundant data and slow both loads and queries because every query must scan across all uncompressed requests.

Regular compression, run as part of a process chain after successful load validation, keeps fact tables lean. However, compression is generally irreversible for request-level rollback, so it should only run after data has been validated as correct downstream.

Partitioning is another classic technique: dividing a large InfoCube's fact table by a time characteristic (such as fiscal period) allows the database, and later HANA, to prune partitions during query execution, scanning only relevant time ranges instead of the entire table.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.