openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] OpenJPA > Fetching Statistics
Date Tue, 10 Jul 2012 15:51:00 GMT
    <base href="">
            <link rel="stylesheet" href="/confluence/s/2042/9/5/_/styles/combined.css?spaceKey=openjpa&amp;forWysiwyg=true"
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="">Fetching
    <h4>Page  <b>added</b> by             <a href="">Helen
    <div class="notificationGreySide">
         <p>Open JPA Fetch Statistics Tool monitors persistent field access and determines
which fields are never used. This tool<br/>
can be used to help tune an application. </p>

<p>Note: Open JPA Fetching Statistics Tool works with the runtime enhancement.</p>

<p>Usage instructions: </p>

<p>1.] Configuration</p>
	<li>Append the path of openjpa-fetch-statistics-version-SNAPSHOT.jar file to the classpath
prior to lanuching the JVM.</li>

<p>2.] Statistics Collecting and Monitoring     </p>
	<li>When this tool is configured, it will be active for all persistence units in the
JVM. Statistics will be dumped via the<br/>
  openjpa.Runtime channel with the INFO level every 10 minutes, or when the JVM terminates.
Any field that is logged <br/>
  has not been accessed by an application.</li>

<p>3.] Configuration removal</p>
	<li>Stop the JVM.</li>
	<li>Remove openjpa-fetch-statistics-version-SNAPSHOT.jar from the classpath.</li>

<p>Performance Consideration</p>

<p>There will be a large performance impact when running this tooling. It is not supported,
nor recommended for production<br/>
use. This tool should not be used on a production machine.</p>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href=""
class="grey">Change Notification Preferences</a>
       <a href="">View
       <a href=";showCommentArea=true#addcomment">Add

View raw message