Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
12-20-2018 11:10 PM - edited 02-05-2019 11:26 PM
Please see the attached screenshot of my call stack. We can see that in the root function, at the same level, two functions - load*Range and get*Collection are called again and again despite the fact that the parent function has no type of recursion and hence, it should call each of these functions only once, not multiple times in the same order. Any idea on why the call stack shows this kind of trace?
12-21-2018 05:27 AM
Is the code retrieving some kind of large result set from the database?
If so, that would probably explain what you're seeing.
12-21-2018 07:27 AM
01-10-2019 10:26 PM
Hi Peter,
Just in case you didn't receive my previous question, I just wanted to ask if you could explain your answer a bit more in detail? There is data retrieval from a big database, indeed.
01-17-2019 12:32 AM
Hi @Peter.Holditch Sorry for posting again (didn't know we can tag users like this). Could you please explain bit more clearly why there are repititions when the retrieval is from a large database?
Thanks,
01-17-2019 08:27 AM
I suspect in this case that the exit to the database (which is the instrumented method) is being called multiple times within the higher levels of the database driver as it iterates across the large result set you are retrieving.
In that case, you see one entry in the snapshot per iteration.
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form