EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Performance Monitoring and Profiling/Query Monitoring
|Mailing List • Forums • IRC|
Use the Query Monitor to measure query executions and cache hits. This can be useful for performance analysis in a complex system. Enable this monitor using the System property "org.eclipse.persistence.querymonitor=true" or by setting the persistence.xml property eclipselink.profiler=QueryMonitor. It dumps the number of query cache hits and executions (misses) once every 100 seconds.
For more information about querying, see Querying.