openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] OpenJPA > Fetch Statistics
Date Tue, 10 Jul 2012 16:33: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="">Fetch
    <h4>Page <b>edited</b> by             <a href="">Helen
                         <h4>Changes (0)</h4>
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
            <tr><td class="diff-snipped" >...<br></td></tr>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <h1><a name="FetchStatistics-FetchStatistics"></a>Fetch Statistics</h1>

<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>

<h3><a name="FetchStatistics-Download"></a>Download</h3>

<p>The latest OpenJPA Tools JAR file can be download from the <a href=""
class="external-link" rel="nofollow">SNAPSHOT Repository</a> or can be built from
the source code in <a href="" class="external-link"
rel="nofollow">svn</a> by using Maven 2.2.1 and Java SE 6.</p>

<h3><a name="FetchStatistics-Usage"></a>Usage</h3>

  Append the path of openjpa-fetch-statistics-version-SNAPSHOT.jar file to the classpath prior
to lanuching the JVM.</li>
	<li>Statistics Collecting and Monitoring<br/>
  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 EAGER field that is logged <br/>
  has not been accessed by an application.</li>
	<li>Configuration removal<br/>
  Stop the JVM.<br/>
  Remove openjpa-fetch-statistics-version-SNAPSHOT.jar from the classpath.</li>

<h3><a name="FetchStatistics-PerformanceConsideration"></a>Performance Consideration</h3>

<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="">View
        <a href=";showCommentArea=true#addcomment">Add

View raw message