Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Performance Monitoring and Profiling/Query Monitoring
For current information, please see "Query Monitoring" in the EclipseLink Concepts Guide: http://www.eclipse.org/eclipselink/documentation/latest/concepts/monitoring004.htm
|Mailing List • Forums • IRC • mattermost|
|Open • Help Wanted • Bug Day|
Use the Query Monitor to measure query executions and cache hits. This can be useful for performance analysis in a complex system.
Enable the Query Monitor in either of these ways:
- Set the System property org.eclipse.persistence.querymonitor=true.
- In persistence.xml, set <property name="eclipselink.profiler" value="QueryMonitor"/>
The monitor dumps the number of query cache hits and executions (misses) once every 100 seconds.
For more information about querying, see Querying.