Vadim Chekan <kot.bege...@gmail.com> writes: > Other optimizations can be implemented, but I can not figure it out, > where db transaction scope is set? I have impression that there is > none which means that each bdb call is a transaction. If so, write > operations are very slow, because transaction commit requires buffers > to be flushed.
Subversion's BDB code uses the term "trail" for transactions; read about it in libsvn_fs_base/trail.h. The transaction is started in trail.c:begin_trail. -- Philip