[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-3191) QueryPlanCache cache size

Steve Ebersole (JIRA) noreply at atlassian.com
Thu Aug 12 12:12:42 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-3191.
-------------------------------

    Resolution: Duplicate

Addressed by HHH-5300

> QueryPlanCache cache size
> -------------------------
>
>                 Key: HHH-3191
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3191
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: query-hql
>    Affects Versions: 3.2.6
>         Environment: Hibernate 3.2.6, all platform
>            Reporter: Julien Kirch
>
> On a large application with many (currently 696) named queries in hbm files we have a performance issue with the QueryPlanCache cache size: 
> The SoftLimitMRUCache used in the QueryPlanCache use 128 hard references, the other being soft references, and this number is hardcoded.
> As we have much more querries in the application, we spend much time in recompiling the same queries when they are evicted from the cache.
> As the QueryPlanCache has a SessionFactoryImplementor as parameter, adding a new parameter to define the query cache plan size would be trivial; what's your opinion about this ?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list