When trying backup with this setting and MVCC I did not see any difference.
The database still stays locked for the whole duration of the backup.
What is the real reason to use this setting?
- rami
On 09/06/2011 07:31 PM, Rami Ojares wrote:
Does setting ACCESS_MODE_DATA=R actually increase concurrency when
using MVCC?
Planning to use that for application that does not modify the database.
For example now that I do a backup with org.h2.tools.Script it seems
to keep the db
locked as long as the backup takes. But if I add ACCESS_MODE_DATA=R
(together with MVCC)
would it get rid of all locks?
What about when using classical table level locks with no MVCC does
ACCESS_MODE_DATA
have any effect?
I could not find any clear answer for this in the documentation.
- rami
--
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.