Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Performance Monitoring and Profiling/Query Monitoring"
< EclipseLink | UserGuide | JPA | Advanced JPA Development | Performance | Performance Monitoring and Profiling
m |
m |
||
Line 1: | Line 1: | ||
+ | ---- | ||
+ | |||
+ | |||
+ | '''[[Image:Elug_draft_icon.png|Warning]] This page is now obsolete. ''' | ||
+ | |||
+ | For current information, please see "Query Monitoring" in the ''EclipseLink Concepts Guide'': | ||
+ | http://www.eclipse.org/eclipselink/documentation/latest/concepts/monitoring004.htm | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
{{EclipseLink_UserGuide | {{EclipseLink_UserGuide | ||
|info=y | |info=y |
Latest revision as of 07:43, 17 April 2013
For current information, please see "Query Monitoring" in the EclipseLink Concepts Guide: http://www.eclipse.org/eclipselink/documentation/latest/concepts/monitoring004.htm
EclipseLink JPA
EclipseLink | |
Website | |
Download | |
Community | |
Mailing List • Forums • IRC • mattermost | |
Issues | |
Open • Help Wanted • Bug Day | |
Contribute | |
Browse Source |
Key API
Query Monitoring
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.