openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pinaki Poddar (JIRA)" <>
Subject [jira] [Commented] (OPENJPA-2220) Persistent field fetching statistic tool
Date Tue, 26 Jun 2012 16:36:45 GMT


Pinaki Poddar commented on OPENJPA-2220:

I think it is a good/useful feature. And I appreciate your contribution.
I would suggest to expand the scope of this idea to collect more statistics on field access
patterns. It has been a long-held wish for many original OpenJPA developers to collect such
detailed statistics, so that based on the access pattern of correlated fields we can prescribe
which fetch groups will best serve an applications need. 

A nit: to determine whether a field is persistent, the patch code checks AccessCode and if
the bean-method starts with "getX" etc. That check should include boolean fields which may
start with "is". You should find the logic somewhere (do not remember exactly where, but around
AccessCode or classes that use it), some code that determines whether a named field is persistent.

> Persistent field fetching statistic tool
> ----------------------------------------
>                 Key: OPENJPA-2220
>                 URL:
>             Project: OpenJPA
>          Issue Type: Task
>          Components: performance
>    Affects Versions: 2.3.0
>            Reporter: Helen Xu
>            Assignee: Helen Xu
>         Attachments: OPENJPA-2220Patch.txt, statisticToolDocPatch.txt
> This task is to create a  statistic tool which monitors the persistent fields fetching
and finds out the fields which are never accessed. Based on the statistic data, user can set
the field access type to LAZY to improve the performance by eliminating the data loading and
processing time.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message