21 Aug 2019 09:33 AM
Can someone explain the circumstances when Dynatrace aggregates SQL queries at PurePath view?
So far I was not able to find when this aggregation happens and when not. Even if the application executes same prepared statement multiple times sequentially (no matter if it is the same prepared statement Java object or not) I see this non-aggregated for one application (not the example above). In another application, Dynatrace aggregates the queries even if they are not performed sequentially.
21 Aug 2019 10:28 AM
Do you have enabled capturing bind values for part of process groups? In such case this can be reason.
Sebastian
21 Aug 2019 11:54 AM
21 Aug 2019 12:12 PM
Actually it has because when it is turned off aggregation is disabled. In other way you will not have captured parameters for each statements, the same was in Appmon.
Sebastian
21 Aug 2019 12:58 PM
I have environments where bind variables capture is on and I have aggregated queries. (bind variables are collected for each execution).
I also have environments where bind variables capture is not available (SaaS) or not enabled (Managed) and I also get aggregated queries.
21 Aug 2019 01:01 PM
One more idea, for environment where you have not agregated statements do you have get connect before each instance? Only idea I have is binding the same statements that are using same connection.
Sebastian