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 |
|||
Line 6: | Line 6: | ||
|api=y | |api=y | ||
|apis= | |apis= | ||
− | * [http://www.eclipse.org/eclipselink/api/latest/org/eclipse/persistence/tools/profiler/ | + | * [http://www.eclipse.org/eclipselink/api/latest/org/eclipse/persistence/tools/profiler/QueryMonitor.html QueryMonitor] |
− | + | ||
}} | }} | ||
=Query Monitoring= | =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 this monitor using the System property <tt>"org.eclipse.persistence.querymonitor=true"</tt> or by setting the <tt>persistence.xml</tt> property <tt>eclipselink.profiler=QueryMonitor</tt>. It dumps the number of query cache hits and executions (misses) once every 100 seconds. | ||
− | + | For more information about querying, see [[EclipseLink/UserGuide/JPA/Basic JPA Development/Querying|Querying]]. | |
{{EclipseLink_JPA | {{EclipseLink_JPA |
Revision as of 15:07, 28 January 2011
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 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.