[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5372) Improve envers query performance by using new REVEND column

Matthew B. Jones (JIRA) noreply at atlassian.com
Fri Jul 9 09:50:13 EDT 2010


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

Matthew B. Jones updated HHH-5372:
----------------------------------

    Attachment: revend_queries.txt

Provided patch (co-written by Chris Bates) which optionally changes the queries Envers uses if the strategy is enabled, to use the REVEND columns for dramatic performance improvements.

> Improve envers query performance by using new REVEND column
> -----------------------------------------------------------
>
>                 Key: HHH-5372
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5372
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: envers
>    Affects Versions: 3.6
>            Reporter: Matthew B. Jones
>         Attachments: revend_queries.txt
>
>
> When the ValidTimeAuditStrategy is enabled: <property name="org.hibernate.envers.audit_strategy">org.hibernate.envers.strategy.ValidTimeAuditStrategy</property>, it would be desirable to have the Envers API leverage the useful REVEND columns to avoid slow subselects.

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