4 weeks ago
I did an ABAP trace with SAT, and I see different lines for the same ABAP SELECT statement, I can't explain the differences e.g.:
NB: my question is NOT about the difference between "Open" and "Fetch", my question is about why there are two lines for the apparently same operation, or differently said, what's the meaning of "DB" in front of one of the two lines.
Does it simply mean that the request is sent to the database? (tables not buffered or buffer bypassed)
In my case, I don't need this information, it's a little bit polluting the interpretation of the trace. The flag "database-related operations" in the SAT variant is always selected (see below; I'm not sure if this option is about the "DB" lines). Is there a way to remove these "DB" lines? Only by using the ALV filter?
Thank you.
Sandra
My system: ABAP 7.40 SP 23; Kernel 753 PL 1300.
Request clarification before answering.
Hi Sandra,
if you execute the trace without aggregation you can see the relationship in the call hierarchy:
The DB FETCH Operations are children of the FETCH Operation.
In my case the FETCH Operation took 22249 µs and the DB Fetch Operations 21743 µs (19294 µs + 2449 µs).
I think the difference is different measurement points and code path lengths since 1 FECTH Operation contains multiple DB FETCH Operations.
SAT:
ADT:
Why we can not switch off Database-level operations is a different question that i can't answer at the moment.
I'll check if i can find an answer. (In ST12 you can switch it off 😉 )
Kind regards,
Hermann
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
72 | |
18 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.