Performance tuning
Quick answer
Always measure first: baseline with ST03, drill to the worst offenders, trace the cause, fix one thing (usually bad SQL/code or an index), and re-measure.
Key takeaways
- Database: expensive SQL, missing indexes, outdated statistics (usually the first bottleneck).
- Custom ABAP: SELECT-in-loop, SELECT *, nested loops on big tables.
- Buffers/memory: under-sized program/table buffers.
- Watch out: Tuning without measuring.
Where performance is won or lost
- Database: expensive SQL, missing indexes, outdated statistics (usually the first bottleneck).
- Custom ABAP: SELECT-in-loop, SELECT *, nested loops on big tables.
- Buffers/memory: under-sized program/table buffers.
- Work processes: wrong mix/number for the workload.
The tuning toolkit
- ST03 workload analysis.
- ST05 SQL trace; SAT/ST12 runtime analysis.
- ST04 / HANA plan analysis.
- SM50/SM66 work-process monitoring.
The method
Always measure first: baseline with ST03, drill to the worst offenders, trace the cause, fix one thing (usually bad SQL/code or an index), and re-measure. On HANA, push logic to the database and avoid row-by-row processing.
Common pitfalls
- Tuning without measuring.
- Ignoring custom-code SQL.
- Under-sized DB/buffers.
Want to learn this properly?
Our live, instructor-led SAP Training covers this hands-on, with real projects and a certification path.
Check your understanding
Which statement is true of Performance tuning?
- A. Goods Receipt (GR) records the physical receipt of ordered goods into inventory, a pivotal step that updates…
- B. System monitoring keeps an SAP system healthy by watching its work processes, memory, database, jobs, updates…
- C. On HANA, push logic to the database and avoid row-by-row processing.
Show answer
C. On HANA, push logic to the database and avoid row-by-row processing.
Covered in the “The method” section of this lesson.
Which of these also applies to Performance tuning?
- A. Over-granting backend authorizations.
- B. Work processes: wrong mix/number for the workload.
- C. Configuring in the wrong client.
Show answer
B. Work processes: wrong mix/number for the workload.
Covered in the “Where performance is won or lost” section of this lesson.
Which part of the Learn SAP curriculum covers Performance tuning?
- A. Getting started
- B. SAP MCQs
- C. SAP performance tuning
Show answer
C. SAP performance tuning
This lesson sits in the SAP performance tuning section of the Learn SAP course.