Hi,

Yes, the database should not get corrupt in such cases. There is still a
risk, for example a bug in the recovery algorithm. Unfortunately there were
some such cases in the past. But it should not happen, and there are quite
many test cases for this.

In future versions of H2, with the new MVStore storage engine, the risk
should even be lower, as the recovery algorithm is much simpler. See also
http://h2database.com/html/mvstore.html - but at the moment, H2 uses a
write-ahead log, like most other databases.

Regards,
Thomas


On Mon, Apr 22, 2013 at 9:32 AM, Davide Montesin <[email protected]>wrote:

> Hi,
>
> I want know how h2 database is protected again power off, out of memory,
> system crash.
> Will the database be corrupted?
>
> Thanks in advance for any help!
>
> Davide
>
> --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/h2-database?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

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


Reply via email to