Improving InfoProvider and Query Performance with Aggregation and Design Choices (Part 5)
Preview · a free account unlocks the full lesson
Explains practical techniques for improving InfoProvider and query performance including compression, partitioning, aggregates versus HANA-native optimizations, and query design choices.
In this lessonShow sectionsHide sections
Visual overview
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.
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.