DEV Community

2iSolutions US
2iSolutions US

Posted on

SAP HANA Performance Tuning: Project or Retainer?

The Four-Second Report That Now Takes Forty
A report that ran in four seconds last quarter now takes forty. A developer added a nested loop to a custom view, and nobody planned the damage. Situations like this raise a fair question for every IT director: do you fix the system once, or check it on a schedule? The answer matters because it shapes your budget, your team's attention, and how users feel about the system day to day.

The right choice depends on how fast your landscape changes. A stable system with few releases can live on a single project. A busy one needs regular passes. Before committing to either model, it helps to look at what each one gives you and what each one costs in time, money, and attention. The full comparison is laid out in this deeper look at SAP HANA Performance Tuning, and the key points are summarized here.

When Is a One-Off Tuning Project Enough?
A one-off project is enough when your system changes slowly, your pain points are known, and your team can maintain the fixes afterward. You define the scope, fix the worst offenders, hand over documentation, and close the work. It suits stable environments with few releases.

The key word is stable. If your custom code barely moves, performance problems do not return quickly. So a project gives you a clear start, a clear end, and a fixed budget.

Situations where a project works well
A migration just finished and you need to clean up the slowest reports.
Users complain about three or four specific transactions.
Your release cycle is slow, with only a few transports each quarter.
An audit or go-live deadline needs a defined result.
Your internal team has the skills to keep the fixes alive.
In these cases, the work has edges. You can name the problem, measure it, and prove it is fixed. Finance leaders like that clarity because they can approve a number and close the line item. It also gives the steering group a simple story to tell: here was the pain, here is the fix, and here is the proof that it worked.

What a project cannot do
A project cannot predict future code. It fixes what exists today. If your developers ship new custom views next month, the project will not catch the anti-patterns they introduce.

Here is the catch. Teams often treat a successful project as permanent protection. It is not. It is a snapshot of a healthy system on one particular day, and snapshots age quickly. A system that felt fast in March can feel sluggish by September, even though nobody changed the original fixes.

Why Do Anti-Patterns Keep Returning?
Anti-patterns return because every code change, data growth event, and new integration alters how the database behaves. A fix that worked last year may stop working after a new release. Performance is a moving target, not a finished state.

Consider a typical scenario. A finance team adds a custom report that joins five large tables without filters. It runs fine in test with a thin data set. Yet in production, with years of postings behind it, it crawls. Nobody did anything unusual. The report simply met real data volumes for the first time.

The common sources of new problems
Custom code that pulls far more rows than it needs.
Data volume growth that outpaces earlier sizing assumptions.
New interfaces that fire frequent small queries.
Upgrades that change how the query planner chooses an execution path.
Workarounds added under deadline pressure and never revisited.
None of these show up on a project plan. They arrive quietly, one transport at a time. That is exactly why a single cleanup, however thorough, cannot stay ahead of them.

Why small problems get expensive
A slow query rarely announces itself. Users adapt first. They run the report before lunch, or they export data to a spreadsheet instead. Months later, the workaround becomes the process, and nobody remembers the report was ever fast.

This is where periodic passes earn their place. A short, scheduled review catches a bad pattern in the month it appears, not after users have lived with it for a year. Fixing one query early costs hours. Fixing a pile of them later costs far more, often several consultant-weeks of effort plus the lost goodwill of frustrated users.

What Does a Retainer Model Look Like?
A retainer is a standing agreement for regular, time-boxed performance reviews and fixes. Instead of waiting for complaints, you book a recurring pass that looks at the system while it is still healthy. The aim is to find new problems while they are small, fix them quickly, and keep a running record of what changed and why.

This approach changes the conversation inside your organization. A project asks, "What is broken right now?" A retainer asks, "What changed since last time?" The second question is easier to answer, cheaper to act on, and far less disruptive to the people who rely on the system every day.

Done well, regular SAP HANA Optimization also builds a baseline. When you can compare this month's behavior to last month's, a sudden slowdown stands out immediately. You no longer need to guess when a problem started or which transport caused it. The trail is already there.

What a good pass should cover
A review of recent transports and custom views for known anti-patterns.
A check on data growth against earlier sizing assumptions.
A look at new interfaces and the query load they generate.
A review of workarounds that were added under deadline pressure.
A short written summary for the steering group.
Keep each pass time-boxed. The point is not to rebuild the system every month. It is to apply a small, predictable amount of attention so that nothing grows into a larger problem unnoticed.

How Do You Choose Between the Two Models?
Start with release volume. If your team ships only a few transports each quarter, your landscape changes slowly, and a project may be all you need. If custom development is constant, new interfaces keep arriving, and data grows steadily, the odds favor a regular schedule.

Next, consider internal skills. A project works best when your own team can keep the fixes alive afterward. If that capacity is thin, regular outside help fills the gap. Many organizations rely on SAP Support Services for precisely this reason, because the people who find the problem are also able to fix it.

Finally, weigh the cost of delay. Ask how much it costs when a key report crawls during month-end. If the answer is "very little," a project may be fine. If the answer is "a lot," scheduled passes are cheap insurance. You can also combine the two: run a project first to clear the backlog, then move to a lighter schedule to keep the system clean.

Whichever route you choose, a capable SAP Service Provider should help you match the model to your release pace rather than push one approach for every client.

FAQ
Q: Is a one-off tuning project ever enough on its own?

Yes, when your system changes slowly, your pain points are known, and your internal team can maintain the fixes. It works best for stable environments with few releases, a defined deadline, or a recent migration that left a handful of slow reports.

Q: Why do performance problems come back after a successful project?

A project is a snapshot of a healthy system on one day. New custom code, data growth, new interfaces, upgrades, and rushed workarounds all change how the database behaves, so earlier fixes can stop working over time.

Q: What is the main advantage of a retainer?

It catches bad patterns in the month they appear. Fixing a single query early costs hours, while fixing many of them later can cost several consultant-weeks and the goodwill of frustrated users.

Conclusion
A one-off project suits stable systems with known problems and a capable internal team, while a retainer suits busy landscapes where code, data, and interfaces keep changing. Performance is a moving target, so the right model depends on how quickly your system changes and how costly delay would be for your users.

Ready to decide whether a project or a retainer fits your landscape? Our team can review your release pace and recommend a practical plan. Contact us at info@2isolutionsus.com to get started today.

Top comments (0)