Hi,

H2 does not call FileDescriptor.sync() or FileChannel.force() for each
commit. See also:

http://h2database.com/html/advanced.html#durability_problems
http://h2database.com/javadoc/org/h2/constant/SysProperties.html#h2.syncMethod

> I would prefer to have ACCESS_MODE_DATA=rw for all log writes during a
> transaction, but with sync/force at the end of commit. Is it possible?

It is not possible, except if you manually run CHECKPOINT SYNC after
each commit.

Regards,
Thomas

-- 
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