As you may know, ABAP CDS View is one of the important development objects in SAP S/4HANA, which supports multiple purposes including transactional or analytical applications. ABAP CDS Views leverage the power of the underlying HANA DB to boost the performance. However, sometimes the performance is not good enough and needs some fine tuning. There are already some very good blogs and documents out there.
While SELECT, UPDATE and DELETE statements are being converted on the basis of execution plans, INSERT statements work according to a completely different mechanism based on free lists. Therefore, with INSERT statements, you cannot improve the performance by SQL tuning. Instead, you should analyze in detail the wait events that occur.
SE30 (Runtime Analysis) The runtime analysis is an additional development workbench tool that is quite useful for analyzing performance of an ABAP / 4 Program or transaction. With this tool, the system can display information about: Executed instruction Accessed execution time. Tables and Types of access. Chronological execution flowST05 (SQL Trace) he SQL trace is a tool, which allows displaying and analyzing the contents for the database calls, which are made by the reports and transactions written in ABAP/4. It monitors programs and transactions on the database level. With the help of this facility for every open SQL instructions, you can display, about which SQL Embedded (DECLARE, OPEN, FETCH) Statement have been executed, besides analyzing the system performance.SLINor PROGRAM -> CHECK -> EXTENDED PROGRAM CHECKST03, ST02, ST04 are the tcode for workload, tuning and DB Performance Monitoring codes.
No, your understanding is not correct. Whether the where clause can be directly considered or not in CDS selection is depending on how the CDS view is built. Here CDS selection do have concept 'Filter Push Down', meaning directly considering the filtering in HANA DB.Please check this blog to get more ideas: -performance-of-abap-cds-views-part-3-rules-for-good-performance-of-cds-views/ .
This article describes our experiences in SAP performance tuning, the challenges we faced, and the tools and techniques we used to get DB2 performance to an acceptable level. It is very safe to say that your challenges will be different, but also hopefully similar enough that this article provides some value.
aa06259810