This content has been marked as final.
Show 2 replies
-
1. Re: major performance hit
john.horner Jan 10, 2013 11:55 PM (in response to john.horner)Not sure why my config didn't display - here it is
<property name="org.hibernate.envers.audit_strategy" value=" org.hibernate.envers.strategy.ValidityAuditStrategy" />
<property name="org.hibernate.envers.global_with_modified_flag" value="true" />
<property name="org.hibernate.envers.track_entities_changed_in_revision" value="true" />
-
2. Re: major performance hit
adamw Jan 14, 2013 2:38 PM (in response to john.horner)Did you try without track_entities_changed_in_revision or without global_with_modified_flag?
How big are your transactions? Is it a single-operation-per-transaction?
Generally for each modified entity in a transaction, there's an insert; when using ValidityAuditStrategy, there's an insert and an update; and for each transcation there's one insert to the RevisionEntity.
Adam