ERPClimb logoERPClimb
BW Performance
BW / Analyticsintermediate 7 min read

Optimizing InfoProvider Design and Query Execution for Better Performance (Part 3)

Preview · a free account unlocks the full lesson

Key takeaway

A practical look at how InfoProvider modeling choices—partitioning, compression, aggregates versus HANA-native aggregation, and CompositeProvider design—affect query and load performance, with concrete tuning techniques.

In this lessonShow sections

Visual overview

Optimizing InfoProvider Design and Query Execution for Better Performance (Part 3) — learning sheetIn one line: A practical look at how InfoProvider modeling choices—partitioning, compression, aggregates versus HANA-native aggregation, and CompositeProvider design—affect query and load performance, with concrete tuning techniques.ERPClimb.com / BW / LESSON 3/7 / LEARNING SHEETOptimizing InfoProvider Design and Query Execution forBetter Performance (Part 3)1 · IN ONE LINEA practical look at how InfoProvider modeling choices—partitioning, compression, aggregatesversus HANA-native aggregation, and CompositeProvider design—affect query and loadperformance, with concrete tuning techniques.2 · KEY IDEAS EXPLAINED1Once a consultant can identify whether aperformance issue lives in load, storage, or queryexecution, the next skill is knowing the concretemodeling and configuration levers available toaddress each. This lesson focuses on the storageand query layer, since this is where most durable…2Partitioning is one of the most effectivetechniques for large InfoProviders. In classicInfoCubes, database-level partitioning (typicallyby a time characteristic such as fiscal year orperiod) allows the database to prune irrelevantpartitions during query execution, so a query…3Compression (or in ADSO terms, activation and thecollapse of change logs) matters becauseuncompressed InfoCube data is stored as a sequenceof requests, and every additional uncompressedrequest adds a join condition the OLAP engine mustresolve at query time. Over months of daily loads…4Aggregates were the classic answer to slow querieson disk-based BW: pre-calculated, smaller summarytables that the OLAP engine could substitutetransparently when a query's drill-down matchedthe aggregate's characteristics. Building theright aggregates required analyzing query…3 · DO · AVOIDBest practice!Common mistakePrefer UNION over JOIN in CompositeProviderswherever the business logic allows it.Schedule InfoCube compression regularly aspart of the process chain, after validating…Base aggregate design on actual querystatistics, not assumptions about usage…✕Building CompositeProvider joins forconvenience without checking join cardinality…✕Leaving InfoCube compression disabled orirregularly scheduled, causing gradual…✕Creating aggregates based on assumptionsrather than actual query navigation…4 · IN A REAL PROJECTA manufacturing client's BW/4HANA system had a CompositeProvider joining a large sales ADSO with a slowlychanging master data ADSO at query runtime for every report execution, because the original design avoidedpre-joining to 'stay flexible.' As transaction volume grew past several hundred million records, join-time…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Once a consultant can identify whether a performance issue lives in load, storage, or query execution, the next skill is knowing the concrete modeling and configuration levers available to address each. This lesson focuses on the storage and query layer, since this is where most durable, structural performance improvements come from.

Partitioning is one of the most effective techniques for large InfoProviders. In classic InfoCubes, database-level partitioning (typically by a time characteristic such as fiscal year or period) allows the database to prune irrelevant partitions during query execution, so a query filtered to the current year does not scan five years of historical data. In ADSOs and BW/4HANA, similar partitioning concepts apply at the HANA table level.

The key design decision is choosing a partitioning characteristic with enough cardinality to create meaningful splits, but not so many partitions that management overhead increases. A common mistake is partitioning by a characteristic that queries rarely filter on, which provides no pruning benefit.

Compression (or in ADSO terms, activation and the collapse of change logs) matters because uncompressed InfoCube data is stored as a sequence of requests, and every additional uncompressed request adds a join condition the OLAP engine must resolve at query time. Over months of daily loads without compression, query performance degrades steadily and mysteriously, since no single load caused it—the cumulative request count did.

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
  • 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.