-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Auditing with MongoDB (not Envers)
PostPosted: Mon Jun 03, 2013 9:44 am 
Newbie

Joined: Mon Jun 03, 2013 9:06 am
Posts: 1
Envers for auditing is great, but I think, there can be a better solution for auditing. In Envers is a few
shortcomings:
  • Two db tables for every table. But second table is used rarely. For our large enterprise project where is 600+ tables it is problem.
  • Envers is solution only for db changes. When I need solve auditing for other application components, I need different auditing solution.
  • Auditing of collections is not ideal.
  • When is changed database schema I must change audit tables too. I can lost some auditing informations or I have a lot of work with update old auditing informations to the new schema.
  • Save auditing informations to the same database is time and space consuming.

I am start working on small auditing library where, informations are stored in MongoDB database:
  • Is used one collection for all hibernate objects. Is stored every value of object.
  • Auditing is done in different thread.
  • Collections (list of ids) are stored too.
  • The same MongoDB database is used for other application logs.

Has somebody some experience with this or similar solution ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.