Reputation: 8615
Wouldn't it be nice if I could drill down into the JProfiler CPU View, and find a percentage of time running a certain query against the database? Does anyone know if this is possible?
Upvotes: 1
Views: 2802
Reputation: 48090
The call tree in JProfiler shows JDBC queries with the default settings:
If this is not the case, open the session settings, go to the probe settings, select the JDBC probe and ensure that "Enabled", "Record on startup" and "Annotate JDBC calls in call tree" are selected:
Another way to look at JDBC query strings is the "hot spot" view of the JDBC probe:
Upvotes: 2