I need to make an embedded Java database as fault tolerant (power
interrupt, JVM crash) as possible. Losing data from a few seconds
before the crash is acceptable, but the rest of the database should
not be corrupted in any way, and restarting the application should be
easy.

http://www.h2database.com/html/features.html#comparison advertises
that "After an unexpected process termination (for example power
failure), H2 can recover safely and automatically without any user
interaction." which sounds just great! I'm just wondering if there are
some settings to further tune up the fault tolerancy, at the cost of
performance if needed. For instance, the following URLs contain
interesting thoughts, but I really can't figure out a conclusion on
what they imply:

http://www.h2database.com/html/advanced.html#durability_problems
http://www.h2database.com/html/advanced.html#file_locking_protocols

Are there such "high fault tolerancy" settings, or are the defaults
just fine?

Best Regards,
Joonas

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to