[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - New Parameter for Journal cleanup

clebert.suconic@jboss.com do-not-reply at jboss.com
Wed Jul 1 21:08:47 EDT 2009


I need to add two parameters to the configuration:


compactPercenptual - the % on which we start compacting.

minCompactSize - In number of journal files.  (We only start considering compacting after a certain number of data files).


Example: compactPercenptual = 30, minCompactSize=10

We will start compacting when more than 70% of the data on the journal is considered dead space and we have at least 10 files as data files on the journal.

The minCompactSize definition is important, or else we would start compacting too soon.  We don't want to start compact when we have only one file on the journal for example.


Any suggestions for better names are appreciated.


thanks...

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241313#4241313

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241313



More information about the jboss-dev-forums mailing list