SAP is slow. Users are complaining. The Basis team opens a transaction, looks at the overall response times, and finds an aggregate number that doesn't say much about where the problem is.
Is it a specific program? A specific server? A spike in executions that happened two hours ago? Without the correct data, SAP performance investigation is a slow and frustrating process.
Why SAP performance diagnosis is more difficult than it seems
The performance of an SAP system depends on multiple layers: the application server, the database, the network, the ABAP programs running at that time, and the Work Processes available to handle them. A high response time value doesn’t tell you which of those layers is the problem.
Furthermore, SAP performance issues often have a relevant temporal component. A program that slowed down the system between 9:00 and 10:30 no longer appears as a problem if you look at it at 11:00. Without sufficient history with the appropriate granularity, the problem is no longer visible when the time comes to investigate.
The difference between P50 and P95 in SAP performance
When analyzing response times for SAP programs, working solely with the mean or median (P50) can completely hide the type of problem that users are experiencing.
- P50 (median): 50% of executions ended below this time. This is a good representation of the usual behavior.
- P95: 95% of executions ended below this time. This is the time experienced by 5% of the slowest executions.
A program can have an acceptable median but a P95 that explains exactly why some users report intermittent slowness. Ignoring the P95 leads to misdiagnosing intermittent performance problems.
Flow of SAP program performance research
1. Overall consumption ranking
The starting point: which programs concentrate the most accumulated response time over the period. A program that takes 2 seconds to execute but runs 10,000 times has a very high total consumption, even though it may not seem slow individually.
2. Identifying outliers in P95
The P95 identifies programs that, in their slowest runs, have unacceptable times. They are the most likely candidates for intermittent slowness complaints.
3. Analyze the latency distribution
The distribution shows how executions are distributed over different time ranges. A distribution with a long tail to the right has a different problem profile than a concentrated distribution.
4. Review individual executions
When the aggregated data points to a specific problem, the next step is to review individual executions: start time, server, total response time, CPU time, and database time.
CPU time vs. database time: what they really measure
- CPU time: the time the SAP application server spent on computational processing. A high CPU time indicates expensive ABAP logic.
- Database time: the total time the application server waited for a response from the database. It is the interface between AS and BD, not a direct SQL trace.
CPU and total response time are independent. An execution can have low CPU time but high total time if there is a lot of waiting in BD, network, or Work Processes.
The role of coverage in SAP performance analysis
A gap in a performance chart is not necessarily a period without executions. It could be an interval where the monitoring system did not have available data. Interpreting that gap as «no activity» can lead to incorrect conclusions.
Similarly, the observed throughput only uses the coverage ranges. If there are frequent gaps, the actual throughput may be higher than the visible one. Reading the coverage before drawing conclusions is part of the analysis.
Performance of SAP programs with SPOT
SPOT Programs takes that flow —ranking, P95, latency distribution, execution details— and makes it navigable in a single tool. You can view the View of Programs in the SPOT documentation to see all the available indicators and how to configure the analysis. For the performance context at a broader level of the system, the Domain Performance on SPOT It complements the analysis of programs with a view of the application server as a whole. The SPOT video tutorials They include examples of this research flow step by step.
The goal: from the ranking to the execution, with the necessary data to conclude with evidence, not with assumptions.
The video SAP Program Performance & Response Time Investigation It covers the entire flow from the consumption ranking to the details of an individual execution, with a real case of intermittent slowness. You can explore these capabilities in detail in spotobservability.com/platform, Or if you prefer to see it with the data from your SAP system, Book a demo and we show you how it works with your environment.