Day to Day Java Java and related Topics

28Feb/100

Ibatis, why are my queries extremely slow?

For a while now I have been scratching my hair off trying to figure out why some of my queries were running extremely slow. At first I started analyzing the java code, creating a generic timer monitor for all my struts2 actions using AOP to pointcut all the different method calls in the stack and displaying them in a tree like fashion.

Analyzing this result didn't leave me any wiser. It only proved that the queries were and which queries were running slowly.