Jump to: navigation, search

Difference between revisions of "EclipseLink/UserGuide/JPA/Advanced JPA Development/Performance/Performance Monitoring and Profiling/Query Monitoring"

m
m
Line 9: Line 9:
 
}}
 
}}
  
THIS PAGE IS IN PROGRESS. PLEASE SEE DISCUSSION. See also the discussion for [http://wiki.eclipse.org/Talk:EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Performance_Monitoring_and_Profiling Performance Monitoring and Profiling]
+
 
 +
>>>>>> THIS PAGE IS IN PROGRESS. PLEASE SEE DISCUSSION. See also the discussion for [http://wiki.eclipse.org/Talk:EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Performance/Performance_Monitoring_and_Profiling Performance Monitoring and Profiling] <<<<<<
  
 
=Query Monitoring=
 
=Query Monitoring=

Revision as of 10:15, 1 February 2011

EclipseLink JPA

link="http://wiki.eclipse.org/EclipseLink"
EclipseLink
Website
Download
Community
Mailing ListForumsIRC
Bugzilla
Open
Help Wanted
Bug Day
Contribute
Browse Source

Elug api package icon.png Key API


>>>>>> THIS PAGE IS IN PROGRESS. PLEASE SEE DISCUSSION. See also the discussion for Performance Monitoring and Profiling <<<<<<

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.

Eclipselink-logo.gif
Version: 2.2.0 DRAFT
Other versions...