JBoss envers and huge audit tables

Posted by LeChe on Stack Overflow See other posts from Stack Overflow or by LeChe
Published on 2010-10-12T12:13:31Z Indexed on 2011/01/06 9:54 UTC
Read the original article Hit count: 234

Filed under:
|
|
|
|

All,

I am auditing my JEE application with JBoss Evers and the nature of my application causes the audit table to grow very fast. The historic data is queried infrequently and access time is not really an issue, apart from the data from the last week. This data IS queried frequently and access needs to be fast. Ideally, I would split the data and distribute it over two tables, with the older data in compressed format. Unfortunately, Envers does not allow spreading data over multiple tables as far as I can tell from the docs.

Does somebody have any idea what would be the best way to achieve this (if possible while still using Envers)?

Cheers, LeChe

© Stack Overflow or respective owner

Related posts about java

Related posts about jboss