13.3. Dumping Profiling Data to Disk from a Batch Process

The profiling capability can be used to create profiling exports. Exported profiling data is stored in files ending with the .prx suffix. To view exported profiling data, use the profilingviewer command, e.g. profilingviewer myexport.prx. To enable automatic export of profiling data, set the following properties (see Section 2.6.54, “kodo.Profiling”):

JPA XML format:

<property name="kodo.Profiling" value="export"/>

JDO properties format:

kodo.Profiling: export

When exporting, the Profiling value takes the following optional parameters:

For example, in order to export data every five minutes with a basename of MyExport set the kodo.Profiling property to:

export(IntervalMillis=300000,Basename="MyExport")

 

Skip navigation bar   Back to Top