[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5371) Add support for REVEND_TSTMP which will enable SQL table partitioning by time

Adam Warski (JIRA) noreply at atlassian.com
Sat Sep 4 03:44:18 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38288#action_38288 ] 

Adam Warski commented on HHH-5371:
----------------------------------

The patch looks good, but I'd like to see using the REVEND_TSTMP as an optional thing (as it's only useful in certain use-cases).
Also, what is the rationale behind partitioning using the revend column, instead of the revision (timestamp) column? That way it could work with both audit strategies.

> Add support for REVEND_TSTMP which will enable SQL table partitioning by time
> -----------------------------------------------------------------------------
>
>                 Key: HHH-5371
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5371
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: envers
>    Affects Versions: 3.6.0.Beta1
>            Reporter: Matthew B. Jones
>            Assignee: Adam Warski
>         Attachments: revend_tstmp.txt
>
>
> There is strong desire to be able to purge old records out of a relational database by using table partitioning. In order to partition a table, you need to partition it on a column that exists within the table. So, in order to partition the _AUD tables by expired time, the timestamp of REVEND must be present within the table.

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