[Logo] Space4J - Java Persistence
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Moderation Log] Moderation Log   [Register] Register / 
[Login] Login 
Clarification : log and snapshots  XML
Forum Index » General Questions
Author Message
yuwy



Joined: 04/02/2011 16:27:13
Messages: 2
Offline

just a quick question about recovery. When a snapshot 006.snap is made, are the logs up to and including 006.log required anymore? I will be trying to write a little clean up process to limit the amount of old snaps/logs
saoj



Joined: 05/09/2008 13:26:12
Messages: 46
Offline

No they are not, unless you want to replicate the logs in a database, in other words, unless when you are using the executeSQL method of your commands. Most of the times you can just delete the old logs before the last snapshot. A cleanup utility will be very handy.


-Sergio Oliveira Junior
yuwy



Joined: 04/02/2011 16:27:13
Messages: 2
Offline

Ok thanks for the clarification, im in the middle of using this package to provide fast reliable persistence to a few objects I have in case of a crash. I will be implementing a clean up mechanism that will be probably configurable on object instantiation. Some spaces may contain over 500 mb, so it would be critical to have space control.
 
Forum Index » General Questions
Go to:   
Powered by JForum 2.1.8 © JForum Team